Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

migrating a working server - apache/mod_php to nginx/fastcgi (no replies)

$
0
0
I have a working server running apache (mod_php) with nginx in reverse proxy and this is working OK (I am sure it could be improved!).

I want to migrate this server to nginx with php-fastcgi (ultimately php-fpm but that would require an upgrade) but not in one go in case it all falls over and there are a few sites which still require apache for .htaccess/password issues.

This would mean running both apache mod_php (on a high port) and php-fastcgi (on a socket or another port).

Is this possible?

The reason I ask is that I have a test setup where the php-fastcgi works but the apache link doesn't - it persistently returns a 301 but I cannot see where this is being generated - on its own the apache mod_php link works (with a proxy_pass etc). I suspect it is in the apache setup but it was working OK.

So I was wondering if such a setup was possible.

nginx 1.4.4, php 5.3.10-1~lucid+2uwsgi2 and apache 2.2.14, ubuntu 10.04 LTS server. Leave caching until later.

TIA

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>