2009-09-12 93 views

回答

1

如果你想/需要自己编译PHP,你可能想看看Apache 2.0 on Unix systems:这个过程是不是太复杂,但它可能需要一些时间(一到两个小时之间说了)如果它是你的休假时间。

如果你有更具体的问题,不要犹豫,问:-)


由于您使用的是分布提供RPM,不过,有一个问题在我脑海中:有没有RPM提供pcntl扩展,你可以使用,而不是重新编译自己?
(我没有CentOS机器测试,对不起)

+0

我没想到要找rpm。我需要这些扩展。 * PCNTL:--enable-了pcntl * POSIX:--enable-POSIX *套接字:--enable-插座 * SHMOP:--enable-shmop * SYSVSEM:--enable-SYSVSEM – David 2009-09-12 19:11:51

+0

我试图找到一个PHP5的RPM但没有运气。我运行./configure并得到了这个

 ./configure loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH 
David 2009-09-12 20:02:35

+0

找出cc或gcc没有安装。 – David 2009-09-12 20:06:19