Avatar ·

Where does PHP store the error log? (PHP 5, Apache, FastCGI, cPanel)

Hello everyone! I'm a beginner PHP developer working on a shared hosting with cPanel. The server uses Apache in FastCGI mode. I have a simple script that sometimes throws an error, but I don't see it on the screen — just a white page.\n\nHere's the code I currently have:\n\n```php\n\n```\n\nI intentionally made a typo in the table name (let's say `userss`) to check how the error is logged. I enabled `display_errors` in php.ini, but nothing changed — the page is still white. I tried looking for the `error_log` file in the site root and in the `/tmp` folder, but didn't find it.\n\nMy hosting is a regular shared hosting with cPanel. Where