Travian (popular online game, i play it) use nginx # curl -I 'http://s3.travian.in/allianz.php?aid=244' HTTP/1.1 200 OK Server: nginx Date: Wed, 22 Jul 2009 07:05:56 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive X-Powered-By: PHP/5.2.8 Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Wed, 22 Jul 2009 07:05:56 GMT Cache-Control: no-store, no-cache, must-revaliby bizhat - Other discussion
Some one should create http://github.com/php-fpm for better community involvement.by bizhat - Php-fpm Mailing List - English
I use ngnix with php-fpm. On accessing the site, i get http://images.photohost.in/index.php -------- The page you are looking for is temporarily unavailable. Please try again later. -------- phpinfo is working http://images.photohost.in/phpinfo.php I found the reason for the error. It is line $db = mysql_connect("74.86.200.34", $db_username, $db_password); If i coby bizhat - Php-fpm Mailing List - English
Make failed with error /usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c:1341:30: error: fpm/fpm_autoconf.h: No such file or directory /usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c: In function 'zm_info_cgi': /usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c:1345: error: 'PHP_FPM_VERSION' undeclared (first use in this function) /usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c:1345: error: (Each undecby bizhat - Php-fpm Mailing List - English
Good work Michael for making php 5.2.10 path available. I was not using php-fpm as there is no official patch for v 5.2.9, i will try this.by bizhat - Php-fpm Mailing List - English
Thanks for the reply. It looks good. but - I tested the module only with nginx 0.6.35, no guarantee for other versions Only tested in old version of ngnix, not on nginx 0.7.59 It will be great if ngnix add it as part of distribution like lighttpd do for mod_secdownload, so it always work perfectly. May be i need to wait for time before switching to ngnix.by bizhat - Migration from Other Servers
Hi, I am running a file hosting site. Now using lighttpd with mod_secdownload. How do i use nignix to run file hosting site ? Now main site have php and all other servers have just lighttpd installed. If i use ngnix on file servers, i need to install php too ? if i use http://wiki.nginx.org//NginxXSendfile I need PHP on remote server, then if main server send a request to remoteby bizhat - Migration from Other Servers