PHP is a widely used coding language with many environmental variables that may be adjusted as needed. There are many times during web development that you may need to modify PHP settings.
While these can generally be adjusted per domain, there are times when a website or application depends on the global value for a setting, such as memory_limit, max_execution_time, max_input time, etc. rather than the local value.
Here we cover the steps to update global PHP variables using the MultiPHP INI Editor in Root WHM on your VPS or Dedicated server.
Related Articles
Log into Root WHM Using AMP
Using MultiPHP INI Editor in cPanel
Create phpinfo Page
Adjust Settings
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
- Check PHP settings of the site or application using a phpinfo page
NOTE: If the value under the Local column is set correctly, but Global is not then the Global setting is being read by the application. - Log into Root WHM
- Navigate to Software -> MutliPHP INI Editor
- Select the relevant PHP version from the drop-down
TIP: If you are unsure of the version, it will be displayed at top of the phpinfo page. - Adjust settings as needed
- Click the Apply button
Comments
0 comments
Article is closed for comments.