Jump to content
Killersites Forums

php.ini file on webserver / in root

Recommended Posts

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





Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...