600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > 在debian下安装PHP时遇到的有关问题

在debian下安装PHP时遇到的有关问题

时间:2020-06-18 08:55:27

相关推荐

在debian下安装PHP时遇到的有关问题

后端开发|php教程

installed,Depends,yeschecking,support,nochecking

后端开发-php教程

在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/

一元云购源码安装教材,vscode代码错误提醒,ubuntu监控面板,tomcat怎么配置下载,sqlite3下载教程,以下属于Web爬虫第三方库,lnmp重启php,沈阳seo推广品牌公司,装修门户网站,女性手机网站模板lzw

然后我在网上找到一个解决办法:

#apt-get install curl

#apt-get install libcurl3

#apt-get install libcurl4-gnutls-dev

响应式php源码下载,ubuntu解zip包,python股票爬虫课程,jinkens pHP,SEO 宋正正lzw

但是运行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:

open控流系统源码,vscode怎么把代码折叠,ubuntu支持xp,tomcat 外网可访问,臭爬爬虫,php 用逗号分隔,中国站长站seo,某软件官网站源码,bootstrap 科技感模板lzw

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

E: Broken packages

请问高手们这是怎么回事啊?

——解决方案——————–

少了这几个包

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

最好一起apt-get install

——解决方案——————–

安装程序最好找好他们的依赖包, 在一起安装这样不容易出错

——解决方案——————–

最好是缺什么装什么,根据错误信息找到要安装的文件,执行 apt-get install 包名

即可

——解决方案——————–

直接在新立得里面装不就可以了 自己装还要配置php、mysql和apache之间的关联

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。