How to edit the php.ini file

When using PHP scripts, WordPress plugins or themes, you may be asked to change your PHP configuration. Specifically, you may be directed to edit a file on your server called php.ini, which holds a set of PHP directives.

We do not allow direct changes to PHP.ini on HostPapa servers. However, PHP configuration changes can be made using My cPanel.

How to edit the php.ini file 

1) Log in to your HostPapa Dashboard

login-to-db

2) Click on My cPanel or My WordPress.

login-cpanel

3) Scroll down to the Software section and click Select PHP Version.

software

4) Now click Options.

options

5) Locate the PHP directive you wish to amend and click the value. A dropdown menu or text input box will appear, allowing you to change the value as required. Check your script, plugin, or theme’s documentation (or an on-screen error message) to find the correct value. Do not exceed this value, or your server could become unstable.

change-values

Your changes will should save automatically, and you should see a success message pop up in the top right corner. 

success-message

If you need help with your HostPapa account, please open a support ticket from your dashboard.

Related Articles

Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache