Where is PHP ini on Ubuntu? The default location for the php. ini file is: Ubuntu 16.04: /etc/php/7.0/apache2.
Where do I find PHP ini? user. ini file is the default configuration file for running applications that require PHP. It is used to control variables such as upload sizes, file timeouts, and resource limits. This file is located on your server in the /public_html folder.
How do I edit a PHP ini file?
- Login to the cPanel.
- Find the File Manager in File section of the cPanel.
- Navigate to the directory where you will either save or edit the PHP.
- Edit the section of the PHP.
- Click on SAVE CHANGES in the top right hand corner in order to save your modifications or additions to the file.
Do I need to restart after changing PHP ini? PHP-FPM you need to restart to avoid configuration inconsistency. Some workers will lay dormant and keep the old configuration, while new workers will get the new configuration.