Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/247.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 编译编写器时出错_Php_Compiler Errors_Composer Php_Cpanel - Fatal编程技术网

Php 编译编写器时出错

Php 编译编写器时出错,php,compiler-errors,composer-php,cpanel,Php,Compiler Errors,Composer Php,Cpanel,我正在运行cPanel,我想安装。我试图安装它,但在运行时发现一个错误 root@server [/bin]# php installer --check Some settings on your machine may cause stability issues with Composer. If you encounter issues, try to change the following: PHP was compiled with --with-curlwrappers whic

我正在运行cPanel,我想安装。我试图安装它,但在运行时发现一个错误

root@server [/bin]# php installer --check
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:
PHP was compiled with --with-curlwrappers which will cause issues with HTTP authentication and GitHub.
Recompile it without this flag if possible

我可以安全地忽略这个错误吗?我将来会遇到什么问题?

不必总是(重新)编译PHP。对我来说,安装php5 curl并重新启动Apache就足够了:

$ sudo apt-get install php5-curl
$ sudo /etc/init.d/apache2 restart

在Cpanel,强烈建议使用官方道路,使用Esaypache3或Easyapache4。通过这种方式,您可以确保将来不会中断系统,并保持您想要的状态。请不要轻易给出建议。使用easyapache3或easyapache4重新编译或卸载卷发包装器的rpm。