How to edit php.ini on shared servers
This guide describes how to edit php.ini file on shared servers (Stellar, Stellar Plus plans and old Value, Professional and Ultimate plans). For Business servers (Stellar Business and old Business SSD plans), use this guide.
With the help of PHP Selector implemented on our shared servers, you can easily modify basic PHP settings in your cPanel >
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 Lsapi_phpini directive.
To find out the current PHP version and configuration, refer to this article.
Need any help? Contact our Helpdesk