VPS侦探论坛

 找回密码
 注册
查看: 4945|回复: 1

军哥,PHP还是安装不成功哇

[复制链接]
发表于 2015-5-7 11:48:03 | 显示全部楼层 |阅读模式

那个freetype 也编译安装了.

php编译的时候路径页指定了.

好像还是不行哇.我也是醉了. 还是不支持php5.3.29

[ 本帖最后由 ifre 于 2015-5-7 11:52 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-5-7 16:03:42 | 显示全部楼层


/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:992: undefined reference to `SSL_library_init'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:993: undefined reference to `OpenSSL_add_all_ciphers'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:994: undefined reference to `OpenSSL_add_all_digests'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:995: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:997: undefined reference to `ERR_load_ERR_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:998: undefined reference to `ERR_load_crypto_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:999: undefined reference to `ERR_load_EVP_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:1003: undefined reference to `SSL_get_ex_new_index'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:1078: undefined reference to `X509_get_default_cert_area'
ext/openssl/openssl.o: In function `zm_info_openssl':
。。。。。。。。。。
ext/phar/util.o: In function `phar_verify_signature':
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1805: undefined reference to `EVP_sha1'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1862: undefined reference to `BIO_new_mem_buf'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1872: undefined reference to `PEM_read_bio_PUBKEY'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1873: undefined reference to `BIO_free'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1883: undefined reference to `EVP_DigestInit'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1895: undefined reference to `EVP_DigestUpdate'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1903: undefined reference to `EVP_VerifyFinal'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1914: undefined reference to `EVP_MD_CTX_cleanup'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1905: undefined reference to `EVP_MD_CTX_cleanup'
ext/phar/util.o: In function `phar_create_signature':
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2132: undefined reference to `BIO_new_mem_buf'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2141: undefined reference to `PEM_read_bio_PrivateKey'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2142: undefined reference to `BIO_free'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2151: undefined reference to `EVP_MD_CTX_create'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2153: undefined reference to `EVP_PKEY_size'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2156: undefined reference to `EVP_sha1'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2156: undefined reference to `EVP_DigestInit'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2165: undefined reference to `EVP_DigestUpdate'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2174: undefined reference to `EVP_SignFinal'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2183: undefined reference to `EVP_MD_CTX_destroy'
collect2: error: ld returned 1 exit status
Makefile:269: recipe for target 'sapi/fpm/php-fpm' failed
make: *** [sapi/fpm/php-fpm] Error 1


使用debian 6或使用upgrade_php.sh 升级php至 5.4及更高版本

也可以尝试编译一个curl,php编译参数--with-curl指定上编译的curl路径
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-5-11 11:07 , Processed in 0.026977 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表