I apologise for getting to this late. This usually happens when PHP is not properly configured. Nginx isn't passing the PHP script to FPM or FPM is not processing it at all (probably not set up properly), so it is sending the file because it does not know what to do.
Also, be sure your PHP installation is not using the .sock file but is processing via port 9000. Look at /etc/php/{PHP_VERSION}/fpm/pool.d/www.conf and be sure what it is listening to sock file: prnt.sc/s2dr4p or port 9000: prnt.sc/s2dvdv. It may also be in /etc/php/{PHP_VERSION}/php-fpm.d/www.conf depending on your installation. Just find it.
Let me know if you have found a solution for it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Sher,
I apologise for getting to this late. This usually happens when PHP is not properly configured. Nginx isn't passing the PHP script to FPM or FPM is not processing it at all (probably not set up properly), so it is sending the file because it does not know what to do.
Also, be sure your PHP installation is not using the
.sock
file but is processing viaport 9000
. Look at/etc/php/{PHP_VERSION}/fpm/pool.d/www.conf
and be sure what it is listening to sock file: prnt.sc/s2dr4p orport 9000
: prnt.sc/s2dvdv. It may also be in/etc/php/{PHP_VERSION}/php-fpm.d/www.conf
depending on your installation. Just find it.Let me know if you have found a solution for it.