Welcome! Log In Create A New Profile


How travian run php with nginx

Posted by bizhat 
How travian run php with nginx
July 22, 2009 03:16AM
Travian (popular online game, i play it) use nginx

[root@server76 ~]# 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-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache

[root@server76 ~]#

Any idea how they run PHP ? From the headers can any one tell if it is normal fcgi or php-fmp ?


Re: How travian run php with nginx
July 23, 2009 08:50PM
There is no "mod_php" in nginx as there is in Apache. It is always by proxy, generally via fastcgi or to an Apache backend. I cannot tell from those headers which of those methods is in use.

Jim Ohlstein
Re: How travian run php with nginx
September 10, 2009 01:18PM

we run php in normal fcgi mode.
We have a few installations with fpm, but most of our servers are without fpm.

Regards Sven

Edited 1 time(s). Last edit at 09/10/2009 01:19PM by twen.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 343
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready