Author Topic: Can't use personal php.ini  (Read 153 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Can't use personal php.ini
« on: December 06, 2018, 04:15:47 PM »
Hi,


I was going through this guide, but couldn't make the persoanl php.ini (per account, and not a global one) to work.
By the way, I beleive it was working properly before I upgraded to php-fpm yesterday.


Would appretiate if anyne can advise what I might be missing.
By the way, during the php-fpm upgrade, I was also compiling some other php versions. Might this cause such an issue?


TIA.

Offline
**
Re: Can't use personal php.ini
« Reply #1 on: December 09, 2018, 08:40:40 AM »
Sorry forgot to add the link to the guide I mentioned:
http://wiki.centos-webpanel.com/php-ini-per-folder

Offline
**
Re: Can't use personal php.ini
« Reply #2 on: December 09, 2018, 08:52:03 AM »
Just found out that I have to use .user.ini instead of php.ini since the update the PHP-FPM.
I can confirm it works great.

Offline
*
Re: Can't use personal php.ini
« Reply #3 on: December 09, 2018, 04:03:02 PM »
Are you running WordPress on any of them? I can't get WP to use local settings in the user.ini file.

Offline
**
Re: Can't use personal php.ini
« Reply #4 on: December 09, 2018, 06:17:54 PM »
Are you running WordPress on any of them? I can't get WP to use local settings in the user.ini file.
Yes. Only WP. Are you sure you have a .user.ini file (not user.ini) in place?

Offline
*
Re: Can't use personal php.ini
« Reply #5 on: December 09, 2018, 07:15:00 PM »
Yes I have a .user.ini and phpinfo() reads it but WordPress doesn't

Offline
**
Re: Can't use personal php.ini
« Reply #6 on: December 10, 2018, 05:41:54 AM »
In some way I can relate to that. I've increased the memory allocated to wordpress to 128mb, but wordpress (elementor's system info) shows it still at 40mb. I thought it's a bug, but now that you say that... damn!