在debian上安装PHP时遇到的有关问题
程序员文章站
2022-06-16 14:50:45
...
在debian上安装PHP时遇到的问题
配置的时候出现了这样的错误:
Configuring extensions
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... yes
checking for CURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in/include/curl/
然后我在网上找到一个解决办法:
#apt-get install curl
#apt-get install libcurl3
#apt-get install libcurl4-gnutls-dev
但是运行apt-get install libcurl4-gnutls-dev的时候又出现了错误:
# apt-get install libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcurl4-gnutls-dev: Depends: libcurl3-gnutls (= 7.18.2-8lenny4) but 7.19.5-1.1 is to be installed
Depends: libgnutls-dev but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed or
hurd but it is not installable
Depends: libldap2-dev but it is not going to be installed
配置的时候出现了这样的错误:
Configuring extensions
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... yes
checking for CURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in
然后我在网上找到一个解决办法:
#apt-get install curl
#apt-get install libcurl3
#apt-get install libcurl4-gnutls-dev
但是运行apt-get install libcurl4-gnutls-dev的时候又出现了错误:
# apt-get install libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcurl4-gnutls-dev: Depends: libcurl3-gnutls (= 7.18.2-8lenny4) but 7.19.5-1.1 is to be installed
Depends: libgnutls-dev but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed or
hurd but it is not installable
Depends: libldap2-dev but it is not going to be installed
相关文章
相关视频
- 教你使用PHP数据库迁移工具“Phinx”
- 详解win10下PHP的安装配置(以php5.6为...
- php Swoole实现毫秒定时计划任务(详解)
- 解析php获取字符串的编码格式的方法(函数)_PH...
- 在debian上安装PHP时遇到的有关问题
上一篇: php延迟静态绑定实例分析,延迟静态实例分析_PHP教程
下一篇: Php成了骆驼?解决办法
推荐阅读
-
关于Window10系统在Python上安装Imagemagick遇到的问题及解决方案
-
在腾讯云上安装mysql遇到的问题
-
在debian上安装PHP时遇到的有关问题
-
在FreeBSD上安装GD库的问题解决_PHP教程
-
在 Mac OSX 上搭建 PHP 开发环境时遇到了异常(用 brew 安装 php 5.5 时) ?
-
ubuntu上PHP5.3安装xdebug后var_dump输出没有格式化的有关问题
-
在CentOS中安装PHP的有关问题~高手帮忙解释上吧
-
一个判断PHP程序是否被同时在不同浏览器上执行的有关问题
-
PHP5 在调用 JAVA WebService 时遇到的各种问题解决方法_PHP教程
-
小弟我在windows2008并且是64位的操作系统上安装PHP出现的有关问题