Question

I would like to disable logging (access_log and error_log) on my server. Is this possible through the function ini_set()? If it is, how do you do it?

Was it helpful?

Solution

Use the following code:

ini_set("log_errors", 0);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top