Skip to main content

opcache config problem

Comments

3 comments

  • kernow
    OK, I solved my own question. What's the answer? If your using CloudLinux php selector it doesn't matter what values you put in /usr/local/lib/php.ini for these modules as they will be ignored, you need to add/edit the php.ini file for each php version located in the directory /opt/alt/php**/etc/php.d.all ( where ** is the php version ) Example, to edit the opcache values in php 5.5 from the default: nano /opt/alt/php55/etc/php.d.all/opcache.ini
    Adjust to taste, save and then: cagefsctl --rebuild-alt-php-ini
    Done!
    0
  • cPanelMichael
    Hello :) I am happy to see you were able to find the solution. Thank you for updating us with the outcome.
    0
  • kernow
    EDIT No need to edit each php version php.ini as I said above, to make global changes edit: /etc/cl.selector/global_php.ini
    0

Please sign in to leave a comment.