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.

gefragt vor 4 Monaten227 Aufrufe
2 Antworten
0

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

profile picture
EXPERTE
beantwortet vor 4 Monaten
0

/etc/apache2/ folder does not exist

beantwortet vor 4 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen