php Linux安装
来源:互联网 发布:淘宝吸黑头仪器有用吗 编辑:程序博客网 时间:2024/06/08 18:30
在php网站下载合适的安装包,如php-5.6.15.tar.bz2
http://www.php.net/downloads.php
解压 tar xvf php-5.6.15.tar.bz2
cd php-5.6.15
配置选项./configure --prefix=/home/work/srv/php --enable-fpm --with-mcrypt=/usr/lib/libmcrypt \--enable-mbstring --disable-pdo --with-curl --disable-debug --disable-rpath \--enable-inline-optimization --with-bz2 --with-zlib --enable-sockets \--enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex \--with-mhash --enable-zip --with-pcre-regex --with-mysql --with-mysqli \--with-gd --with-jpeg-dirmakemake install
参考文章:
安装php环境
http://www.cnblogs.com/fly1988happy/archive/2011/12/14/2288096.html
PHP安装mcrypt.so报错 mcrypt.h not found 的解决办法
今天在编译php的时候,出现如下错误php安装出错:configure: error: mcrypt.h not found. Please reinstall libmcrypt.,意思是,没有查找到mcrytp.h,需要安装libcrytp,在下面的地址下载libmarypt:
wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz
安装:
tar -zxvf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure
make
make install
然后再安装PHP
http://luhuang.sinaapp.com/php-configure-error-mcrypth-reinstall-libmcrypt/
http://blog.csdn.net/default7/article/details/32312061
有时候会缺少这个动态库。
libmcrypt.so.4
下载:
http://download.csdn.net/detail/u012063703/9380397
- Linux 下安装PHP
- Linux下安装PHP
- php linux sphinx 安装
- linux php,perl 安装
- linux安装php
- php linux iconv安装
- Linux下安装PHP
- linux下安装Php
- 【Linux】PHP安装
- linux php安装pear
- Linux安装配置php
- Linux安装配置php
- Linux安装配置php
- Linux中安装php
- linux php 安装imap
- linux下安装php
- Linux安装配置php
- linux 安装php环境
- FragmentManager详解
- 关于eclipse adb的一些问题
- 灰度图像阈值化分割常见方法总结及VC实现
- Python核心数据类型——集合(Set)
- java-oracle数据库连接
- php Linux安装
- centos7中控制节点配置网络
- 【获奖公告】有奖试读—增长黑客
- c#多表连接查询配合case和then使用
- out参数以及使用光标问题
- MySQL自带压力测试工具mysqlslap基本使用
- Android:系统自己附带的图片
- centos7中控制节点配置网络
- 浅谈jsp、freemarker、velocity区别