Open and locate your site's PHP-FPM YAML file in the SSH console. Find the file location as below and open it up:

nano /var/cpanel/userdata/username/domain.tld.php-fpm.yaml

Then, you can try this command :

---
_is_present: 1
pm: static
pm_start_servers: 20
pm_max_children: 20
pm_max_requests: 100
php_admin_value_disable_functions : passthru,system
php_flag[display_errors]: off
php_flag[display_startup_errors]: off

Finally , restart the PHP-FPM processes:

/scripts/php_fpm_config --rebuild

 

Hjalp dette svar dig? 0 Kunder som kunne bruge dette svar (0 Stem)