Recently I got stuck with strange bug on centOS server. After I updated document root for my primary domain which has Laravel App installed.
When we try to access app through domain, we got following error.
No input file specified.
I initially thought it's the permission issue on .htaccess issue. Tried changing permissions and adding some rewrite rules but it didn't work. When I checked apache error logs. I got following error.
proxy_fcgi:error AH01071: Got error 'Unable to open primary script
I had no idea how to solve this error. So tried few things like
- Restart apache
- Restart php-fpm
- Restart VPS
- Removed and added account few times.
- Disabling php-fpm