Level 54
check the default document root setting and .htaccess is configure accordingly...
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I had laravel project setup on /var/www/html directory. Now I have deleted the laravel project directory from /var/www/html and upload phpinfo.php file in /var/www/html folder. Now, when I go to web page it is showing 404 not found error. No file is working under /var/www/html.
How will php files work in this?
Please or to participate in this conversation.