There has to be something in either the apache error log, or laravel log.
Does a simple php file with an echo something work?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
SOLUTION: I edited /etc/php/7.4/apache2/php.ini uncommenting 'error_log = syslog' :
; Example:
;error_log = php_errors.log
; Log errors to syslog (Event Log on Windows).
error_log = syslog
ORIGINAL QUESTION
Hi all, after I installed a new server with ubuntu 21.04, apache 2.4.48, php8.0 my sites doesn't works: I obtain a blank page. I'm sure that apache module is ok, but I don't understand where to read logs. I made:
sudo tail -f /var/log/syslog
sudo tail -f /var/log/apache/error.log
but I have no logs! Can you help me please? where can i find logs?
logging - How can I verify it?
php.ini / phpinfo();
https://www.php.net/manual/fr/errorfunc.configuration.php#ini.log-errors
But if I upgrade Laravel version?
Should work too, but probably more "difficult"/long due to some changes in the code to do (and without error logs ... )
If you have a code that works on a specific version , it should work on the same version on another server (it 's easier to split the problem between server config and version update)
Please or to participate in this conversation.