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 > 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 Lsapi_phpini directive.

To find out the current PHP version and configuration, refer to this article.

That's it!

Need any help? Contact our Helpdesk


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close