Blank page is never a blank page. What error is it? 500, 404?
May have to turn on debug or check error logs.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a working laravel 5 application with built in php server. But I encounter problem while deploying on a apache server. I have put this in .htaccess of project's root directory
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
and this in .htaccess of public directory
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
When I run http://localhost/myapp/ it shows blank page. Am I supposed do any other configurations for this to work ?
Please or to participate in this conversation.