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.

posta 4 mesi fa227 visualizzazioni
2 Risposte
0

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

profile picture
ESPERTO
con risposta 4 mesi fa
0

/etc/apache2/ folder does not exist

con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande