gs198222 发表于 2011-11-21 17:14:11

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

如题,我用的是0.7的版本,直接安装,然后执行./configure--with-php-config--with-kerberos=/usr/local/php/bin/php-config但是出现了。# ./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看是对的呀,请问军哥是什么问题呢?

licess 发表于 2011-11-21 17:31:28

已经提示了,让你在编译参数里加上--with-php-config=/usr/local/php/bin/php-config

gs198222 发表于 2011-11-21 17:32:58

回复 2# 的帖子

额,原谅我是新手,那段执行的代码整体是什么呢?求指点。:loveliness:

gs198222 发表于 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. 这是什么意思。

gs198222 发表于 2011-11-21 17:42:02

回复 2# 的帖子

额。老大,解决了。呵呵。根据提示,进行使用,原来是--with-php-config=/usr/local/php/bin/php-config “=”前面加空格了。
页: [1]
查看完整版本: lnmp之安装PHP模块(不需要重装PHP)imap模块装不上去。