frankmill Posted April 12, 2012 Report Share Posted April 12, 2012 Hello SuperTechies, I am hoping someone can help out with this php question. I've recently moved my website to another webhost, and have come across the php.ini file in the root directory of the website. Within this file are various parameters... for example: display_errors = On error_reporting = E_ALL & ~E_NOTICE log_errors = Off error_log = /logs/php_error_log expose_php = Off max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) My question is, do these parameters, eg memory limit, refer to a single webpage, or a single php script on a webpage, or to the whole site? If I had 2 landing pages with php code in them, would the server alloacte memory limit of 128M * 2, or 128M for both landing pages? My second question is if I got the log_errors = off changed to on, would any bursts above the limits be logged, and where would they go, or is it being logged somewhere else already? Any help most appreciated Francis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.