安装PHP7.4时执行命令
./configure --prefix=/usr/local/php --with-mysql-sock=/usr/local/mysql/mysql.sock --with-mysqli --with-zlib --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-openssl --enable-mbstring --enable-xml --enable-session --enable-ftp --enable-pdo --enable-tokenizer --enable-zip --enable-fpm
时报
configure: error: Package requirements (libcurl >= 7.15.5) were not met:
Package 'libcurl', required by 'virtual:world', not found
解决:
执行命令
yum install libcurl-devel
在安装PHP么?欢迎来看我的
原创
文章“
零基础Centos8安装PHP7.4
”(
https://blog.csdn.net/have_a_cat/article/details/115206879
),这里有
详细安装步骤
、安装
截图
、
报错解决
,
只要跟着步骤,就能完成PHP7安装
解决curl error 28 while downloading https://repo.packagist.org/p2/laravel/frame work.json: OpenSSL报错
25547
向CentOS7虚拟机中复制文件报错error when getting information
adventure527:
零基础Centos8安装PHP7.4
红烧栗子黄瓜鱼: