Introduction
On cPanel servers, PHP INI settings can be adjusted with multiple methods. This guide will describe the available options.
Procedure
For cPanel users:
MultiPHP INI editor for cPanel
1. Login to cPanel ( using cPanel username )
2. Navigate to MultiPHP INI Editor
3. Select Basic or Editor mode depending on which options you want to modify. The main difference is that Basic allows you to edit the most common options, while Editor mode allows you to set any option.
For WHM users:
1. Login to WHM ( using root or reseller user )
2. Navigate to MultiPHP INI Editor
3. Select Basic or Editor mode depending on which options you want to modify. The main difference is that Basic allows you to edit the most common options, while Editor mode allows you to set any option.
The steps for cPanel and WHM are very similar. The main difference is WHM controls all PHP versions while the cPanel interface only controls one account.
For Admins or SSH users, the files can be modified manually at the below paths where xx matches the PHP version.
Path: /opt/cpanel/ea-phpxx/root/etc/php.ini
Each installed PHP version will have its own PHP.ini file. For versions that use PHP-FPM, a restart may also be required. Restart with the below script.
/scripts/restartsrv_apache_php_fpm
Comments
0 comments
Article is closed for comments.