On 01/10/2010 09:39 PM, bascom49 wrote:



Andy Colson wrote:

On 01/10/2010 08:55 PM, bascom49 wrote:


Andy Colson wrote:

On 01/10/2010 04:11 PM, bascom49 wrote:

Ive installed mapserver on a vps server under centos 5 linux. I'm
having
problems with setting up mapscript.

My php setup is :

http://174.120.238.19/info.php

The output from mapserv -v is:

r...@inf [/usr/local/apache/cgi-bin]# /usr/local/apache/cgi-bin/mapserv
-v
MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE


php_mapscript.so is located at:


/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mapscript.so

I compiled mapserver 5.4.2 from source.

Can someone please help me trouble shoot my install ?


I don't see a problem, or an error.  So what do you need help with?

-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



I expected to see a mapscript entry in the output from phpinfo(0),
similar
to
what is shown here :

http://www.londatiga.net/it/installing-mapserver-and-php-mapscript-on-linux/

Any insight that you may have is greatly appreciated.

Thanks,
Charles


Ah, did you add an entry into the php.ini  (in the extensions group)?

-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



I added :
extension = “php_mapscript.so” to php.ini.

I did not add a new path entry as I had copied php_mapscript.so to the
default php extensions directory
that I saw listed from the output of phpinfo().

Is there something that I need to do to force php.ini to be reloaded ?


Yeah, you have to restart apache.


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to