PHP5.6 centos安装失败

问答中心分类: PHPPHP5.6 centos安装失败
zhangfanwen asked 8 年 ago
 
configure: error: build test failed. Please check the config.log for details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
^[[1;31mPHP install failed, Please Contact the author! ^[[0m
/bin/cp: cannot stat ?.api/fpm/init.d.php-fpm?. No such file or directory
chmod: cannot access ?.etc/init.d/php-fpm?. No such file or directory
error reading information on service php-fpm: No such file or directory
error reading information on service php-fpm: No such file or directory
Redirecting to /bin/systemctl start php-fpm.service
Failed to get D-Bus connection: No connection to service manager.
Question Tags:

5 Answers
oneinstack answered 8 年 ago
请将oneinstack/install.log 日志上传到百度云,贴下链接

zhangfanwen answered 8 年 ago
那个问题已经解决了,增加了yum的资源库。
现在在make PHP的时候遇到了新问题,求指教:
/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'X509_PURPOSE_get_count@@libcrypto.so.10'
/bin/ld: note: 'X509_PURPOSE_get_count@@libcrypto.so.10' is defined in DSO /usr/lib64/libcrypto.so.10 so try adding it to the linker command line
/usr/lib64/libcrypto.so.10: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
 

zhangfanwen answered 8 年 ago
这个问题已经悬了好几天了,试过5.6,也试过5.5,都不行。
还请帮忙尽快看看哈

zhangfanwen answered 8 年 ago
 
应该不是一个普遍问题,是我们的主机上的openssl库有问题。
具体没有看,在centos7.1虚拟机上安装就很正常。