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

P.Romero romero619 at hotmail.com
Fri Apr 10 02:18:56 EDT 2009


Ok, so I added it to php.ini instead, and now Im getting this error:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/php_mapscript.so' -
/usr/lib/php/modules/php_mapscript.so: undefined symbol: php_gd_gdImageCopy
in Unknown on line 0

Im guessing gd needs to load first.
Any ideas on how to fix this?

-----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