Where is the error_log file in Ubuntu

I've used the Linode startup steps as in https://www.linode.com/docs/getting-started to build up Ubuntu server.

I've just found out that previously Cpanel used to create a error_log file the site home directory, here it is not used.

So where do the PHP syntax errors go?

2 Replies

There should be folder in your root called log, next to your public folder.

Your access.log should be in there too.

Thanks - it indeed is there!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct