[Mapserver-users] Re: PHP MapScript

Daniel Morissette morissette at dmsolutions.ca
Tue Nov 18 10:48:13 EST 2003


Fraser MacLeod wrote:
> 
> Have followed the suggestions that you make. I have checked the
> httpd.conf:
> 
> AddType  application/x-httpd-php         .php .php4 .php3
> AddType  application/x-httpd-php-cgi  .phtml
> AddType  application/x-httpd-php-source  .phps
> AddHandler phtml-script .phtml
> Action phtml-script /cgi-bin/php-cgi
> Action application/x-httpd-php-cgi /cgi-bin/php-cgi
> 

Try commenting out (or deleting) all the above lines and replacing them 
with only:

  AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml
  Action  application/x-httpd-php-cgi /cgi-bin/php-cgi

Then restart the server for the changes to take effect.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list