Welcome! Log In Create A New Profile

Advanced

nginx + php + win 2008

Posted by mnem00 
nginx + php + win 2008
September 11, 2011 08:42PM
Hi,
I just installed nginx 1.0.6 for windows x64 with php 5.2.17 on my win server 2008. my problem is :
php files are correctly interpreted by php, and nginx serves me them well only when i request them from local machine. Whenever i request any php file from outside, i do get the real original php file, which my browser asks me to download.
Joint to this post, my nginx.conf (ip and omain names have been modified).

Could anyone help me please ?

Best regards,
mnem00
Attachments:
open | download - nginx.conf (2.9 KB)
Re: nginx + php + win 2008
September 11, 2011 09:55PM
Ok,
I got advices and commented this line #default_type application/octet-stream;
file isn't considered as a stream anymore but still isn't interpreted if requested from oustide whereas requests coming from localhost give perfect results :/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
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