Skip to main content

PHP Selector and version specific php.ini settings

Comments

4 comments

  • cPanelMichael
    Hello, Could you confirm if you are referring to the "PHP Selector" option provided by CloudLinux, or the MultiPHP functionality in EasyApache 4? Thank you.
    0
  • foggle
    Hi Michael, sorry yes I was, so probably shouldn't have asked that question here. When I posted I wasn't aware of MultiPHP or that PHP Selector was a CloudLinux feature. I edited all the /opt/alt/phpXX/etc/php.ini files (where XX refers to the PHP version number) and that works but is convoluted, there is maybe a better way.
    0
  • Bazinga
    Hi Michael, sorry yes I was, so probably shouldn't have asked that question here. When I posted I wasn't aware of MultiPHP or that PHP Selector was a CloudLinux feature. I edited all the /opt/alt/phpXX/etc/php.ini files (where XX refers to the PHP version number) and that works but is convoluted, there is maybe a better way.

    You have found right way to modify default values. However, there is even more global way to do it - use /etc/cl.selector/global_php.ini file and values would be applied for all PHP versions.
    0
  • cPanelMichael
    Hello, I'm happy to see the issue is now resolved. Note that additional documentation on "PHP Selector" is found at: CloudLinux Documentation Thank you.
    0

Please sign in to leave a comment.