安装php问题集合
2012-08-23 17:03
225 查看
安装php问题集合
1、
Configure: error: Please reinstall the libcurl distribution
When compiling php from source for nginx web server, i get error
checking for cURL support... yes
checking if we should use cURL for url streams... yes
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
On checking, found curl-devel not installed
[root@vps1 php-5.2.8]# yum list|grep curl
curl.x86_64 7.15.5-2.el5 installed
curl.i386 7.15.5-2.el5 installed
curl-devel.x86_64 7.15.5-2.el5 base
curl-devel.i386 7.15.5-2.el5 base
[root@vps1 php-5.2.8]#
The problem is fixed by installing curl-devel
yum -y install curl-devel
2、
编译 php
configure: error: Cannot find ldap.h
安装 :
yum install openldap
yum install openldap-devel
3、
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
4、
修改PHP的源码,这里有点小问题,不然会编译出错提示: make: *** [ext/mssql/php_mssql.lo] Error 1
打开 ext/mssql/php_mssql.h:
注释掉行 “typedef unsigned char *LPBYTE;”
然后再make编译,看工作是否正常.
5、
装完php-ftp 不能起动
[ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool ‘default’
出现些错误提示,请修改 php-fpm.conf
Unix user of processes
<!-- <value name="user">www</value> -->
Unix group of processes
<!-- <value name="group">www</value> -->
换成
Unix user of processes
<value name="user">www</value>
Unix group of processes
<value name="group">www</value>
1、
Configure: error: Please reinstall the libcurl distribution
When compiling php from source for nginx web server, i get error
checking for cURL support... yes
checking if we should use cURL for url streams... yes
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
On checking, found curl-devel not installed
[root@vps1 php-5.2.8]# yum list|grep curl
curl.x86_64 7.15.5-2.el5 installed
curl.i386 7.15.5-2.el5 installed
curl-devel.x86_64 7.15.5-2.el5 base
curl-devel.i386 7.15.5-2.el5 base
[root@vps1 php-5.2.8]#
The problem is fixed by installing curl-devel
yum -y install curl-devel
2、
编译 php
configure: error: Cannot find ldap.h
安装 :
yum install openldap
yum install openldap-devel
3、
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
4、
修改PHP的源码,这里有点小问题,不然会编译出错提示: make: *** [ext/mssql/php_mssql.lo] Error 1
打开 ext/mssql/php_mssql.h:
注释掉行 “typedef unsigned char *LPBYTE;”
然后再make编译,看工作是否正常.
5、
装完php-ftp 不能起动
[ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool ‘default’
出现些错误提示,请修改 php-fpm.conf
Unix user of processes
<!-- <value name="user">www</value> -->
Unix group of processes
<!-- <value name="group">www</value> -->
换成
Unix user of processes
<value name="user">www</value>
Unix group of processes
<value name="group">www</value>
相关文章推荐
- ecshop安装出现问题集合(php版本偏高)
- PHP学习笔记(9)mongodb在wamp环境下的安装过程与遇到的问题排查
- PHP安装中出现的问题
- Mac Pro 编译安装 PHP 5.6.21 及 问题汇总
- CentOS(x86_64)下PHP安装memcache扩展问题解决方法分享
- 解决windows下Composer因php_openssl扩展缺失而安装失败的问题
- 编译安装PHP 时遇到问题解决方法.
- Wdcp安装不存在phps的问题
- windows下php apache 安装的几个问题
- CentOS 6.5 + Nginx 1.8.0 + PHP 5.6(with PHP-FPM) 负载均衡源码安装 之 (四)问题汇总
- PHP问题解答系列(3):PHP 与 IIS 集成安装的系列文章目录
- 编译安装apache+php,以及安装过程中的报错问题解决
- PHP安装zip拓展,以及libzip安装问题
- PHP问题集合
- phppgAdmin安装问题
- php5.3.1和Apache2.2安装配置问题
- ubuntu 下 apache + php 的安装问题
- 编译安装PHP 时遇到问题解决方法.
- PHP安装问题总结
- win7安装apache或者php 5.7缺少vcruntime140.dll的问题