recompiling PHP/Mapscript w/ SUPPORT=proj

Ryan Ollerenshaw ollerery at ENGR.ORST.EDU
Fri Jul 21 11:36:16 EDT 2006


I was getting the following error in PHP:

[MapServer Error]: loadProjection(): Projection support is not available

So i changed some of the mapserver configuration options by adding:
--with-proj=/usr/local  --enable-runpath\

But i am still missing SUPPORTS=proj on my php_info() page, here is what i get:

MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG
SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE

I think that my problem is that i did not restart PHP after copying the new
php_mapscript.so into the PHP extentions directory, could this be a source of
the problem?

if so i do not know how to restart PHP, when i restart apache with apachectl
restart i get the error message:

[warn] module php5_module is already loaded, skipping

so how is it that i can restart php5_module? or is that even my problem?

Thanks,
-Ryan



More information about the mapserver-users mailing list