Author Topic: Changes to PHP.ini not showing in WordPress  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Changes to PHP.ini not showing in WordPress
« on: August 07, 2024, 08:38:34 PM »
@overseer, don't know if you have seen this.

Changed my memory_limit = from 512M to 640M, but WordPress is still seeing the old settings.
Have restarted Apache, and cleared any cache, but isn't updating.

Keep getting email saying it exceeded the virtual memory size 512 (MB)

Ever seen anything like that?

On:
AlmaLinux 8.10
CWP 0.9.8.1181
PHP 8.2.21

Offline
*****
Re: Changes to PHP.ini not showing in WordPress
« Reply #1 on: August 09, 2024, 07:21:23 AM »
Umm, yes -- let me think back... This seems familiar. Have you rebooted the VM to reset any pervasive caching? And for sure you're editing the correct php.ini for that version of php-fpm?

Offline
*****
Re: Changes to PHP.ini not showing in WordPress
« Reply #2 on: August 09, 2024, 12:35:11 PM »
Yup, it's been rebooted, Apache restarted several times, not using PHP-FPM, using the base PHP-CGI.
8.2.21 with ionCube 13.3.1 loaders.

I remember this problem also, but can't remember the solution.

Offline
*****
Re: Changes to PHP.ini not showing in WordPress
« Reply #3 on: August 09, 2024, 01:48:11 PM »
It's using the correct php.ini

Code: [Select]
php -i | grep php.ini
Quote
Configuration File (php.ini) Path => /usr/local/php
Loaded Configuration File => /usr/local/php/php.ini