Page 1 of 1

PHP-FPM ini not making changes

Posted: Fri Aug 24, 2018 2:04 pm
by dstamatoiu
Okay so I will start off with the basic information.

Fresh install on a new vps.
Centos 7
Nginx & Php-FPM
Updated php to 7.2.9 using:
viewtopic.php?f=11&t=12319&p=68007#p68007

Nothing in logs.

When I went to update the php.ini information under server> php-fpm. I was able to save it and restart the service with no problems. Server does work and hosts websites just fine. Problem is the changes are not being made to the server. Still has all the default settings, like 2m upload size, yet the php-fpm in both basic and advance shows the changes have been made.

Anyone know if the php-fpm or php.ini files have moved when I did the upgrade to PHP 7.2?

Re: PHP-FPM ini not making changes

Posted: Sat Aug 25, 2018 11:46 am
by grayfolk
You should find your php.ini fille:
1. via phpinfo(); php function
or
2. via console command:

Code: Select all

 php -i | grep php.ini 

Re: PHP-FPM ini not making changes

Posted: Sat Aug 25, 2018 6:05 pm
by dstamatoiu
THANK YOU!!!!!!!!! I spent hours editing wrong php.ini. Been going nuts and all I had to do was look at the php info for the file path.

Re: PHP-FPM ini not making changes

Posted: Thu Aug 30, 2018 8:20 pm
by dreiggy
Here one more useful snippet:

Code: Select all

php --ini