Opened 11 years ago

Closed 11 years ago

#402 closed defect (invalid)

PHP not working on Nginx

Reported by: Sunil Gamey Owned by:
Priority: major Milestone:
Component: nginx-package Version: 1.3.x
Keywords: Cc:…
uname -a:
nginx -V: 1.2.6


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 Maxim Dounin, 11 years ago

Resolution: invalid
Status: newclosed

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 for various ways to do it.

Please use mailing list for further questions.

Note: See TracTickets for help on using tickets.