[Mapserver-users] Re: PHP MapScript
Fraser MacLeod
fraserm at terravistaltd.com
Tue Nov 18 09:45:20 PST 2003
No change whatsoever I still get the same error message:
Fatal error: Due to thread-safety problems, php_mapscript cannot be used
as a 'apache2handler' module. You will have to reconfigure your PHP as a
CGI to run this version of MapScript. See
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in
/var/www/html/terraVX/pda/test.php on line 5
On Tue, 2003-11-18 at 15:48, Daniel Morissette wrote:
> 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
More information about the MapServer-users
mailing list