[mapserver-users] error loading php_mapscript.so on apache start

P.Romero romero619 at hotmail.com
Fri Apr 10 02:22:11 EDT 2009


Nevermind, I found the answer: 
fedora has multiple .ini files that load its php extensions. 
Adding the 'extension=php_mapscript.so' line to the gd.ini file in
'/etc/php.d' directory solved the problem.



-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Shawn Gervais
Sent: 2009-04-10 12:27 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] error loading php_mapscript.so on apache
start

> However, trying to load the module at apache startup (by adding it to 
> httpd.conf, "LoadModule.") fails with the following error:

That's because php_mapscript.so is not an Apache module, it is a PHP module.

If you want to load the php_mapscript module automatically when Apache 
starts, you need to load it from php.ini

-S
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list