Changes to PHP.ini not showing in WordPress

Started by Starburst, August 07, 2024, 08:38:34 PM

Previous topic - Next topic

Starburst

@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

overseer

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?

Starburst

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.

Starburst

It's using the correct php.ini

php -i | grep php.ini
QuoteConfiguration File (php.ini) Path => /usr/local/php
Loaded Configuration File => /usr/local/php/php.ini