宝塔安装php不成功怎么办?
问题
宝塔面板PHP 5.2、5.3、5.4、5.5、5.6、7.0、7.1、7.2所有版本均无法安装。
错误信息
checking whether to enable calendar conversion support... nochecking whether to enable ctype functions... yeschecking for cURL support... yeschecking for libcurl.pc... not foundconfigure: WARNING: Could not find libcurl.pc. Try without /usr/local/curl or set PKG_CONFIG_PATHconfigure: WARNING: Fallback: search for curl headers and curl-configchecking for cURL in default path... not foundconfigure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/make: *** No targets specified and no makefile found. Stop.make: *** No rule to make target `install'. Stop.
登录后复制
故障原因
立即学习“PHP免费学习笔记(深入)”;
curl未正确安装
解决方案
# RetHat CentOS or Fedora 使用下面安装命令yum install curl curl-devel# Debian or Ubuntu使用下面的安装命令apt-get install curlapt-get install libcurl4-gnutls-dev
登录后复制
更多宝塔面板使用技术文章,请访问宝塔使用教程栏目!
以上就是宝塔安装php不成功怎么办?的详细内容,更多请关注【创想鸟】其它相关文章!
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。
发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/1928366.html