php总也安不上,高手指点 make test不通过不要紧的。直接sudo make install吧。除非你把所有东西都编译进去,否则总是有一些test case不能通过。我的编译选项比你多得多,但是还是依然有几个测试用例不能passed。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 问题是这种情况下make install运行到一半会停下来然后也不报错 把make install最后的输出贴出来。 [code=BatchFile][root@localhost php-5.2.8]# make installInstalling PHP SAPI module: apache2handler/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.socp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.lalibtool: install: warning: remember to run `libtool --finish /root/Desktop/php-5.2.8/libs'chmod 755 /usr/local/apache2/modules/libphp5.so[activating module `php5' in /usr/local/apache2/conf/httpd.conf]Installing PHP CLI binary: /usr/local/php5/bin/Installing PHP CLI man page: /usr/local/php5/man/man1/Installing build environment: /usr/local/php5/lib/php/build/Installing header files: /usr/local/php5/include/php/Installing helper programs: /usr/local/php5/bin/ program: phpize program: php-configInstalling man pages: /usr/local/php5/man/man1/ page: phpize.1 page: php-config.1Installing PEAR environment: /usr/local/php5/lib/php/[PEAR] Console_Getopt - installed: 1.2.3[PEAR] Archive_Tar - installed: 1.3.2[PEAR] Structures_Graph- installed: 1.0.2pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)[PEAR] PEAR - installed: 1.7.2Wrote PEAR system config file at: /usr/local/php5/etc/pear.confYou may want to add: /usr/local/php5/lib/php to your php.ini include_pathInstalling PDO headers: /usr/local/php5/include/php/ext/pdo/[root@localhost php-5.2.8]# [/code] 你已经安装成功了,并不是安装到一半停下来。你为什么会认为是安装到一半?cli安装了,header装了,需要的pear也装了,man也装了,mod for apache也装了。你还想装什么? 请问以下XML字符串要如何解析得到code和result呢? 分类添加失败,求救 组合第二弹问题求助.. 数据库问题 PHP中的更新数据问题!分少再加!!!!!!!! 关于array_flip():Can only flip STRING and INTEGER的问题 -在线等 php应该怎么处理用户提交的数据? 求解PHP字符串比较的问题? 请问,如何实现关闭页面的同时自动删除session? 请问大神们有碰到过这个问题吗?我是了很多方法都没解决 这种是什么加密? php 执行的时间问题
这种情况下
make install运行到一半会停下来
然后也不报错
[root@localhost php-5.2.8]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /root/Desktop/php-5.2.8/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing build environment: /usr/local/php5/lib/php/build/
Installing header files: /usr/local/php5/include/php/
Installing helper programs: /usr/local/php5/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php5/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/php5/lib/php/
[PEAR] Console_Getopt - installed: 1.2.3
[PEAR] Archive_Tar - installed: 1.3.2
[PEAR] Structures_Graph- installed: 1.0.2
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
[PEAR] PEAR - installed: 1.7.2
Wrote PEAR system config file at: /usr/local/php5/etc/pear.conf
You may want to add: /usr/local/php5/lib/php to your php.ini include_path
Installing PDO headers: /usr/local/php5/include/php/ext/pdo/
[root@localhost php-5.2.8]#
[/code]