Symptoms
When updating PHP settings through the cPanel MultiPHP INI Editor interface, the changes are not applied to the domain's PHP environment.
Description
When using the Mod_LSAPI PHP handler, the default configurations provided do not read local user INI configurations. As a result, switching your PHP handler to the CloudLinux-provided Mod_LSAPI will prevent the MultiPHP INI Editor from working as expected. To restore the functionality of this interface, you will need to modify the default configurations for LSAPI.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/etc/apache2/conf.d/lsapi.conf
in your preferred text editor. - Remove the
#
from thelsapi_enable_user_ini
line and change the value toOn
.lsapi_enable_user_ini On
- Remove the
#
from thelsapi_user_ini_homedir
line and change the value toOn
.lsapi_user_ini_homedir On
- Save the changes and exit the text editor.
- Restart the Apache service.
/usr/local/cpanel/scripts/restartsrv_apache
Comments
0 comments
Article is closed for comments.