hi,

I have a server mainly using nginx. Recently a requirement to run php/cgi has 
come up. Looking at nginx documentation I find no native support for php/cgi 
and rather than do anything fancy decided to proxy to apache. So I installed 
php5 for apache (apt-get php5) and mods-enabled shows php5.conf and php5.load. 
Here is the contents of the two files:
load:

<IfModule mod_php5.c>
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
</IfModule>

and conf:

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

but when the browser is pointed to a php file, a file open or download dialog 
comes up. What am I missing?

I got cgi to work without problems
-- 
regards
kg
http://livejournal.com/lawgon
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to