首页 > Web开发 > 详细

PHP7安装问题解决

时间:2016-02-13 12:13:50      阅读:1321      评论:0      收藏:0      [点我收藏+]

ext/standard/info.o: In function `php_info_print_request_uri’:
/root/php-5.4.16/ext/standard/info.c:97: undefined reference to `sapi_globals’
ext/standard/info.o: In function `php_print_gpcse_array’:
/root/php-5.4.16/ext/standard/info.c:209: undefined reference to `executor_globals’
ext/standard/info.o: In function `php_print_info’:
/root/php-5.4.16/ext/standard/info.c:874: undefined reference to `executor_globals’
/root/php-5.4.16/ext/standard/info.c:877: undefined reference to `executor_globals’
/root/php-5.4.16/ext/standard/info.c:880: undefined reference to `executor_globals’
/root/php-5.4.16/ext/standard/info.c:883: undefined reference to `executor_globals’
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] 错误 1

出现这样的错误信息可能是以前用不同的参数编译过PHP

解决方法:执行make clean删除上次的编译结果,然后再重新编译就OK了。

要在PHP配置openssl 使用了1.0.1r版本 成功。1.0.2f版本尝试不成功,原因不详。

其中安装配置openssl时要用  ./config shared

PHP7安装问题解决

原文:http://www.cnblogs.com/moonnight/p/5187535.html

(0)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!