phpmapscript

Murat Beyhan beyhan at DEPREM.GOV.TR
Thu Apr 13 08:49:53 EDT 2006


Dear Friends,

I have problem for using phpmapscript.
I'm using Mandrake 10.2 and I have downloaded and installed php4.4.2 and 
mapserver4.8.3.

actually Apache server which I'm using 2.0.53 version comes php as modules 
version is 4.3.10. 
I have installed PHP4.4.2 on /usr/bin/php-4.4.2/ directory succesfully and
I have installed Mapserver /usr/bin/mapserver-4.8.3/ by using following 
command succesfully

./configure --with-php=/usr/bin/php-4.4.2/
make
cp mapserv /var/www/cgi-bin
than after this 
I have copied php_mapscript.so file which is existing under  directory of  

"/usr/bin/mapserver-4.8.3/mapscript/php3/"

by using following command to directory ../extensions

cp php_mapscript.so /usr/lib/php/extensions/  

Than When I try to open phpinfo_mapscript.phtml file attached file opening and 
php_mapscript seems installed but I'm not sure this way is correct.


MapScript
MapServer Version 	MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG 
INPUT=SHAPEFILE
PHP MapScript Version 	($Revision: 1.242.2.2 $ $Date: 2006/03/16 21:03:01 $)

But when I'm trying to test gmap75.phtml 
I'm facing following error mesages 

Warning: dl(): Unable to load dynamic library 
'/usr/lib/php/extensions/php_dbase.so' 
- /usr/lib/php/extensions/php_dbase.so: cannot open shared object file: No 
such file or directory in /var/www/html/gmap-ms46/htdocs/gmap75.phtml on line 
58

and

Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 
'bathymetry'. in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 550

Warning: [MapServer Error]: drawTIFF(): TIFF support is not available. 
in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 550

Fatal error: Call to a member function on a non-object 
in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 552


So How can I run mapserver with phpmapscript applications...
Please ıf anyone will help me I will be thankfull to him/her...

Thank you for your interest...

Murat BEYHAN
Geophysical Engineer, M.Sc
Earthquake Research Department
Ankara/TURKEY




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phpinfo_mapscript_002.gif
Type: image/gif
Size: 4440 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060413/9b2d910c/phpinfo_mapscript_002.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phpinfo_mapscript.gif
Type: image/gif
Size: 2962 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060413/9b2d910c/phpinfo_mapscript.gif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060413/9b2d910c/phpinfo_mapscript.html


More information about the mapserver-users mailing list