Opened 10 years ago
Closed 10 years ago
#402 closed defect (invalid)
PHP not working on Nginx
|Reported by:||Sunil Gamey||Owned by:|
I have Installed Nginx on Ubuntu server and also did all necessary changes in config and default file.
Trying to execute PHP file but hard luck. while executing file it will be downland.
Please correct me.
Awaiting your feedback.
Change History (1)
comment:1 by , 10 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.
By itself nginx doesn't execute php. You have to run a php backend (usually php-cgi in FastCGI mode or php-fpm) and configure nginx to pass appropriate requests to it. See http://wiki.nginx.org/NginxConfiguration#PHP_via_FastCGI for various ways to do it.
Please use mailing list for further questions.