Getting error when installing Mautic

笑着哭i 提交于 2019-12-14 03:24:52

问题


I am getting this error

PHP version 5.6.x requires the PHP configuration directive always_populate_raw_post_data be set to -1. This is handled automatically by the .htaccess file when using Apache and mod_php5, but must be set manually in php.ini for other server configurations. Please add 'always_populate_raw_post_data = -1' to your php.ini and restart your web server.

where installing mautic. I am using cloudways server. Any suggestion would help!


回答1:


You can easily work around this issue by defining php_admin_value[always_populate_raw_post_data] = -1 under Application Settings > PHP Settings and restarting PHP FPM from Manage Services. Afterwards, the installer will proceed and complete successfully.




回答2:


Edit your php.ini of php-fpm and cli and add the line mentioned in the error.



来源:https://stackoverflow.com/questions/43351994/getting-error-when-installing-mautic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!