- Plesk Onyx for Linux
Default values in Domains > example.com > PHP Settings or Service Plan > Plan_name > PHP Settings are different from values like in
For example, the default value of the
PHP 5.X by OS vendor for a domain is
But in the file
/etc/php5/fpm/php.ini it is 128M:
# grep memory_limit /etc/php5/fpm/php.ini
memory_limit = 128M
Direct changes in the
php.ini file bypassing Plesk.
Plesk stores default values of PHP settings in
psa database, and takes them from the database thereafter. The direct
php.ini changes do not cause database update.
As of now, Plesk is aware of the changes in php.ini if they were performed via Plesk Interface. Feel free to vote for the functionality to detect changes in in corresponding php.ini files on the following link:
Plesk should automatically check PHP configuration files for any changes
For the time being, re-read
php.ini file via Plesk:
Go to Tools & Settings > PHP Settings > PHP handler name > php.ini tab and press OK/Apply.
Go to Tools & Settings > Server Components and press Refresh. Wait for a few minutes for results.
# plesk bin service_node --update local
# plesk sbin php_handlers_control --reread
Note: it is recommended to manage PHP settings via Plesk
Note: all solutions described require a wait time of 2-3 minutes for changes to be seen.