当前位置:论坛首页 > Linux面板 > 求助

宝塔编译安装各个版本php无法安装

发表在 Linux面板2018-6-22 09:25 [复制链接] 5 4522

  我的服务器需要编译安装php,因为需要源码中的oci和oci_pdo。  编译安装出现
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for nanosleep... yes
checking for nanosleep in -lrt... yes
checking for getaddrinfo... yes
checking for __sync_fetch_and_add... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /www/server/php/70/etc
checking where to scan for configuration files...
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.8
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking whether to enable PCRE JIT functionality... yes
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.3
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for cURL 7.10.5 or greater... libcurl 7.54.0
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... cc -E
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
========================================================

各个版本都不行,系统版本为centos 6.4
试过网上说过的办法,重装过几个依赖,但是没有效果。


使用道具 举报 只看该作者 回复
发表于 2018-6-22 10:28:36 | 显示全部楼层
远程服务器 手动执行命令
sudo apt-get -y install openssl libcurl4-openssl-dev pkg-config openssl-devel                         (ubuntu)
yum -y install openssl libcurl4-openssl-dev pkg-config openssl-devel                                      (centos)

再在面板重新编译安装 根据面板PHP安装路径 安装所需模块
使用道具 举报 回复 支持 反对
发表于 2018-6-22 10:32:10 | 显示全部楼层
谢谢回复,实际上我已经全部重装过这些依赖了,但是没有效果
bt.png
使用道具 举报 回复 支持 反对
发表于 2018-6-22 10:33:41 | 显示全部楼层
江南大叔 发表于 2018-6-22 10:28
远程服务器 手动执行命令
sudo apt-get -y install openssl libcurl4-openssl-dev pkg-config openssl-deve ...

谢谢,我回复了您,麻烦看一下下一楼
使用道具 举报 回复 支持 反对
发表于 2018-6-22 10:40:18 | 显示全部楼层
这个只能自己检查了
使用道具 举报 回复 支持 反对
发表于 2018-6-22 10:42:34 | 显示全部楼层
江南大叔 发表于 2018-6-22 10:40
这个只能自己检查了

谢谢回复
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

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