How to change path of the log file

0

Hello everyone, I'm currently running a PHP application on an EC2 instance. I'm looking to change the location of the log file. Despite attempting to update the php.ini file in the /etc directory and restarting the instance, I've had no success. The value of 'error_log' remains unchanged.

How can I successfully change the log file location?

Thank you.

asked 3 months ago217 views
2 Answers
0

Update the location of the log file in the following configuration file /etc/apache2/apache2.conf

profile picture
EXPERT
answered 3 months ago
0

/etc/apache2/ folder does not exist

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions