The php.ini file by default will be located at public_html/php.ini. Users running on a server with PHP loaded as a “CGI module” will have a php.ini file. Click on SAVE CHANGES in the top right hand corner in order to save your modifications or additions to the file.Ĭommon Problems when Updating your php.ini file I don’t have a php.ini file!.Edit the section of the PHP.INI that you wish to change.You can also right-click with your mouse and select Code Editor from the menu that appears. Select the file and then click on the Code Editor icon in the menu bar of the File Manager. Navigate to the directory where you will either save or edit the PHP.INI file and then select the file and use the Code Editor. If you receive a 500 error, please double check the syntax you used as you may have made a misspelling. htaccess file: php_value max_input_time 120Īfter making this change, refresh your PHP info page, and you should see the changes. htaccess file for updating PHP settings is: php_value Directive valueįor example, if you wanted to change the max_input_time from 60 seconds to 120 seconds, add the following to your. htaccess file is a configuration file you can create and use to change many server settings, including PHP settings. If your server runs PHP as an “Apache module“, you can change your PHP settings via a. If “Apache” is listed, then your server is running PHP as an “Apache module”. If the “Server API” is “CGI“, then PHP is running as “CGI module”. To find out how PHP is configured on your server, create a PHP info page (via the above instructions) and look at In general, PHP runs on our servers as either: The steps in updating the values listed in your PHP info page depend on how PHP is setup on your particular server. How can I view my PHP settings using a PHPinfo page ? If you’re not sure how to do this, please see To view your current PHP settings, create a PHPinfo page. This article will advise you how to change PHP settings in your php.ini file. PHP is highly customizable and has many settings that our users can modify themselves. PHP is a scripting language used primarily on the web and is available on our shared, VPS, andĭedicated servers. Why my PHP file is not opening in browser?.I made changes to the php.ini file, however I do not see the changes!.Common Problems when Updating your php.ini file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |