Miscellaneouss

How to Edit PHP.INI File via Cpanel (WHM)

PHP.INI file is the default configuration file for application that require PHP. PHP.INI file is used to control variables like upload file size, resource limits, file timeouts etc..

In this tutorial I will guide how you can edit php.ini file via Cpanel (WHM) for your running application.

The most common parameters changed in the php.ini file are:

safe_mode
register_globals
upload_max_filesize
post_max_size
max_execution_time

If you’re experiencing difficulty with your web application, you can edit the php.ini or create a new text file. For example, you’re unable to install a WordPress theme or plugin through your WP Dashboard.

Please make a copy Before making any changes, it’s a good idea to copy the original settings, both for reference and to easily restore the original if necessary.

WHM allows you to configure your php.ini file using the PHP Configuration Editor. To access this tool and edit your php.ini file using WHM, follow the steps below.

1. Start by logging into WHM as the root user. From the Home page, select the Service Configuration button.

configuration

2. Then, click on PHP Configuration Editor.

php-configuration

3. Once you click on PHP Configuration Editor, you will be presented with a number of different parameters that you may edit the configurations for. If you don’t see the parameter that you wish to edit in Basic Mode, you may click on Advanced Mode for a longer list of editable parameters. If you need more flexibility, you can also edit your php.ini using SSH.

php-configuration-editor-whm

4. Once you have made your changes, click “Save” at the bottom.

Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment