Skip to main content

PHP-FPM Multi-php ini Configuration change not being applied?

Comments

3 comments

  • cPanelMichael
    Hello @SupraMario, The OPCache extension uses it's own .ini file at: /opt/cpanel/ea-php70/root/etc/php.d/10-opcache.ini This is the file you should edit if you want to modify the default global OPcache PHP settings for PHP 7.0. Upon making the changes, ensure to run the following commands: /scripts/restartsrv_apache_php_fpm /scripts/restartsrv_httpd
    The following resource is also available if you'd like to read more about managing php.ini directives with PHP-FPM on a per-account basis or exclusively for domains using PHP-FPM: Thank you.
    0
  • SupraMario
    Hi CpanelMichael, Absolutely perfect, thank you very much for your response that worked perfectly.
    0
  • cPanelMichael
    Hello @SupraMario, You're very welcome. I'm glad to see that helped.
    0

Please sign in to leave a comment.