Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AlexSteele's avatar

Big Oh no! No input file specified.

On my local development server, everything is OK. moved from my almalinux box up to a cpanel server and some oddities. I have done this in the past with earlier versions of Laravel, made sure the versions of php are ok. but it doesn't appear that my php is working. I can see other items in the public folder, but it appears as though my index.php is not being seen at all. in fact, I placed a php.info call at the top of the index.php file and for sure, its not being run. any ideas? also, yes, I did the symbolic link and have my Laravel app outside of the public_html folder did a soft link to the public directory in my app folder.

 public_html -> /home/avdomain/avappfolder/public

I can switch back to an older version of Laravel, but I completely redesigned the system, new and extended database tables, lots of work. I really want to understand why this is suddenly hosed?

0 likes
3 replies
jlrdw's avatar

Are you pointing to public as document root, public shouldn't be in url.

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

If phpinfo() does not work, it isn't laravel related. Mostly it sounds like a misconfigured web server

If you add a new file phpinfo.php inside the public/public_html directory with the following content and call it, what do you get?

<?php
phpinfo();

Also are you using nginx or apache?

1 like
AlexSteele's avatar

thank you so much for responding! I actually figured out what happened, and it was a super silly mistake. aapanel created a user.ini file and it got copied to the server. nothing was wrong with Laravel install. you were absolutely right about it not being Laravel, so marking this best response.... @Sinnbeck

Please or to participate in this conversation.