• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

php settings

Martin_Sauer

Regular Pleskian
situation:
- compiled and installed php 5.5 and 5.6
- both versions work fine and are registered in plesk
- base configuration for php is set for each version in a custom.ini

issue:
- plesk php-settings are not applied: not matter what I change in Plesk php-settings, the values from my custom.ini file are used

What did I do wrong? How do I re-enable plesk php-settings?

Addendum: The php-settings apply esspecially to post_max_size and execution_time
 
Last edited:
( if you use FastCGI as well ) Did you change the php5-fpm - configurations as well located at: "/etc/php5/fpm/pool.d"

For example:
PHP:
php_value[memory_limit] = XXXM
php_value[max_input_time] = XXX
php_value[max_execution_time] = XXX
php_value[post_max_size] = XXXM
php_value[upload_max_filesize] = XXXM
 
( if you use FastCGI as well ) Did you change the php5-fpm - configurations as well located at: "/etc/php5/fpm/pool.d"

For example:
PHP:
php_value[memory_limit] = XXXM
php_value[max_input_time] = XXX
php_value[max_execution_time] = XXX
php_value[post_max_size] = XXXM
php_value[upload_max_filesize] = XXXM

Nope I didnt know (didnt see that remark in the KB article either).

Meaning I can use that file for my php-config and drop my own custom.ini php-config files?

Thank you so much.
 
Back
Top