VPS侦探论坛

 找回密码
 注册
查看: 6693|回复: 4

lnmp之安装PHP模块(不需要重装PHP)imap模块装不上去。

[复制链接]
发表于 2011-11-21 17:14:11 | 显示全部楼层 |阅读模式

如题,我用的是0.7的版本,直接安装,然后执行./configure  --with-php-config--with-kerberos=/usr/local/php/bin/php-config  但是出现了。[root@nmguu imap]# ./configure  --with-php-config--with-kerberos=/usr/local/
bin/php-config
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
但是PATH,我用winSCP看是对的呀,请问军哥是什么问题呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-11-21 17:31:28 | 显示全部楼层


已经提示了,让你在编译参数里加上--with-php-config=/usr/local/php/bin/php-config
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-11-21 17:32:58 | 显示全部楼层

回复 2# 的帖子


额,原谅我是新手,那段执行的代码整体是什么呢?求指点。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-11-21 17:38:36 | 显示全部楼层

回复 2# 的帖子




configure: error: This c-client library is built with SSL support.

      Add --with-imap-ssl to your configure line. Check config.log for details. 这是什么意思。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-11-21 17:42:02 | 显示全部楼层

回复 2# 的帖子


额。老大,解决了。呵呵。根据提示,进行使用,原来是--with-php-config=/usr/local/php/bin/php-config “=”前面加空格了。

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 17:43 , Processed in 0.027452 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表