CentOS源不能安装libmcrypt-devel,由于版权的原因没有自带mcrypt的包。 有两种方法解决,一种是使用第三方源,这样还可以使用yum来安装,简单方便,坏处是第三方源多少有中不可靠的感觉。 解决办法一1、安装第三方yum源wget http://www.atomicorp.com/ ...
分类:
其他好文 时间:
2017-01-11 13:12:34
阅读次数:
174
安装依赖 编译 出现 configure: error: mcrypt.h not found. Please reinstall libmcrypt时 出现 Don't know how to define struct flock on this system, set --enable-opc ...
分类:
Web程序 时间:
2016-12-26 22:00:34
阅读次数:
437
Mcrypt扩展是 mcrypt 库的接口,mcrypt 库提供了对多种块算法的支持。 安装mcrypt之前请确认已经安装yum install gcc php-devel 执行命令:yum update 更行系统 执行命令: yum install php-mcrypt 安装mcrypt扩展包 重 ...
分类:
其他好文 时间:
2016-12-24 01:16:12
阅读次数:
161
1.检查当前安装的PHP包 yumlistinstalled|grepphp 如果有安装的PHP包,先删除他们 yumremovephp.x86_64php-cli.x86_64php-common.x86_64php-gd.x86_64php-ldap.x86_64php-mbstring.x86_64php-mcrypt.x86_64php-mysql.x86_64php-pdo.x86_642.添加rpm源先添加下阿里云的epel源 Ce..
分类:
Web程序 时间:
2016-12-20 07:49:20
阅读次数:
254
SmartWiki是基于laravel5.2开发的在线文档管理系统。 最低需要PHP5.6+MySql5.7。同时PHP需要开启一下扩展: MCrypt GD PDO PDO_mysql mbstring 如果需要使用memcached,还需要安装memcached扩展。 以apache+php为例 ...
分类:
其他好文 时间:
2016-12-09 18:43:38
阅读次数:
221
yum install epel-releaserpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpmyum list --enablerepo=remi --enablerepo=remi-php56 | grep ...
分类:
Web程序 时间:
2016-12-01 21:46:55
阅读次数:
176
准备工作配置防火墙,开启80端口、3306端口删除原有的 iptables , 添加合适的配置 rm -rf /etc/sysconfig/iptablesvi /etc/sysconfig/iptables添加如下内容 : ################################ 添加好之 ...
分类:
Web程序 时间:
2016-11-29 06:27:24
阅读次数:
267
***********安装php*******************1,包:php-5.4.26.tar.bz2xcache-3.0.3.tar.bz2phpMyAdmin-4.0.5-all-languages.zip 依赖包安装(XSoftwareDevelopment) yumgroupinstall"DesktopPlatformDevelopment"-y2,如果想让编译的PHP支持mcrypt,还需要安装 yum-yinstalllibmc..
分类:
Web程序 时间:
2016-11-24 00:08:06
阅读次数:
167
卸载所有安装的 PHP: sudo apt-get purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` 添加源: sudo add-apt-repository ppa:ondrej/php 安装php5.6: sudo apt-get ...
分类:
Web程序 时间:
2016-11-21 23:02:48
阅读次数:
331
yum安装时出现:Cannotretrievemetalinkforrepository:epel.Pleaseverifyitspathandtryagain在CentOS6.3
x86_64下安装php-mcrypt的时候出现了问题:Error:Cannotretrievemetalinkfor
repository:epel.Pleaseverifyitspathandtryagain,需要安装epel源。解决方法:一句话:把/et..
分类:
数据库 时间:
2016-11-17 21:09:55
阅读次数:
169