Can't edit PHP settings?
Can't edit PHP settings?
Hi,
I'm trying to edit the PHP settings, but get an error:
https://xx.xx.xx.xx:8083/edit/server/php-fpm/
I'm not changing anything! Just pressing "Save", and I get:
Cheers
Andy
I'm trying to edit the PHP settings, but get an error:
https://xx.xx.xx.xx:8083/edit/server/php-fpm/
I'm not changing anything! Just pressing "Save", and I get:
Any suggestions?Error: php-fpm7.0 failed to start with new config
Cheers
Andy
Re: Can't edit PHP settings?
Having the same problem.
It is because the fill is owned by the root user and group. Nginx doesn't have the right to edit it.
Use the shell to edit the file as root.
depending your preference of shell editor.
It is because the fill is owned by the root user and group. Nginx doesn't have the right to edit it.
Use the shell to edit the file as root.
Code: Select all
nano /etc/php/7.0/fpm/php.ini
or
vi /etc/php/7.0/fpm/php.ini
Re: Can't edit PHP settings?
Awesome, thanks ... that was it :) Edited the file, then restarted php-fpm, and the setting are updated.
Cheers
Andy
Cheers
Andy
Re: Can't edit PHP settings?
I have a similar issue.
I installed centos 7, php 7.1 mariadb 10.2, nginx + php-fpm.
When I edit the php.ini in php-fpm got the error
Error: failed to start with new config
I got it in 2 new vps. Before with the 0.9.8-17 version, it worked perfectly.
I installed centos 7, php 7.1 mariadb 10.2, nginx + php-fpm.
When I edit the php.ini in php-fpm got the error
Error: failed to start with new config
I got it in 2 new vps. Before with the 0.9.8-17 version, it worked perfectly.