How to edit php.ini on shared servers
This guide describes how to edit php.ini file on shared servers (Value, Professional and Ultimate plans). For Business SSD servers, use this guide.
With the help of PHP Selector implemented on our shared servers, you can easily modify basic PHP settings in your cPanel > section Software/Services > Select PHP Version menu. You can find detailed guidelines here.
However, advanced PHP settings are missing from PHP Selector tool, and they need to be manually configured in the php.ini file. Feel free to download php.ini for different PHP versions below in the Attachments section at the end of the guide.
When all updates are completed, make sure that you rename the file to php.ini. In order for the php.ini to work add suPHP or Lsapi_phpini directive depending on the server your account is hosted on.
Click here to expand the list of servers with suPHP and LSPHP
To find out the current PHP version and configuration, refer to this article.