levi
asked Apr 21 2017
Answer
Check with the respective handler which is to be enabled for nginx.
jagannatharumugam
asked Apr 21 2017
edited Oct 05 2018
you just check and configure your nginx.conf file like below
location ~* \.php$ {
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
#fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
henry
asked Aug 27 2017
edited Oct 05 2018
Related tutorials in php files are downloading not executing in nginx
Related forums in php files are downloading not executing in nginx
A common misconfiguration is that the 'session.save_path' directive is not pointing to a valid directory.
Jun 15 2019
php files are downloading not executing in nginx
Hello,
In my server am using apache. once i have changed it to nginx, the php files starts to download instead of executing it. So i have installed php with all required packages but still the same.??