我正在尝试在 CentOS 7.0 上安装 PHP 5.5.21。当我执行时,php -v
我收到大约 10 个模块错误,如下所示:
PHP Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
我尝试使用 and 安装或更新软件包,pecl install curl
但pecl upgrade curl
pecl 总是响应:
No releases available for package "pecl.php.net/curl"
并yum install php-curl
说:
Package php-common-5.4.16-23.el7_0.3.x86_64 already installed and latest version
Nothing to do
如何修复模块错误?