Where is "error_log =" in php7?

Discuss server installationa nd configuration issues here

Moderators: egami, macek, gesf

Post Reply
User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 719
Joined: Mon Feb 22, 2016 5:52 pm

Mon May 02, 2016 2:31 am

You need to un-comment the line:

Code: Select all

;error_log = php_errors.log
Should read

Code: Select all

error_log = /var/log/php/error.log
You will need to pay a great deal of attention to these tiny details and un-learn ignoring punctuation marks since they will cause you all sorts of grief if you don't.

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 719
Joined: Mon Feb 22, 2016 5:52 pm

Mon May 02, 2016 2:33 am

And have you learned about file permissions?

I see you are using ubuntu (top person), if you are not able to save the changes to your file it will probably be because the file permissions are not set.

Have fun :)

Post Reply