Here we will cover what to do when php.ini changes are not reflected on the site. If the cPanel user's php.ini or .user.ini files were updated, but the changes are not showing, these steps will solve that issue.
Setting the suPHP configuration path within the site's .htaccess will resolve this error.
Related Articles
Create phpinfo Page
Update PHP INI Values
Create Default PHP.INI
Using MultiPHP INI Editor in cPanel
Editing the .htaccess File
- Log into cPanel
- Click on File Manager, located in the Files section
- Locate the document root of the website
- Locate the .htaccess file
- Edit and add the following line to the top of the file:
suPHP_ConfigPath "/home/userna5/public_html/"
REPLACE: userna5 with the cPanel username and public_html with the path to the site's document root.
- Save the file
- Confirm that the changes have been applied by viewing the site's phpinfo.php page
Comments
0 comments
Article is closed for comments.