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.

已提问 4 个月前238 查看次数
2 回答
0

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

profile picture
专家
已回答 4 个月前
0

/etc/apache2/ folder does not exist

已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则