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.

demandé il y a 4 mois230 vues
2 réponses
0

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

profile picture
EXPERT
répondu il y a 4 mois
0

/etc/apache2/ folder does not exist

répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions