[Mapserver-users] Problem (FWD)
John Deck
jdeck at socrates.Berkeley.EDU
Mon Feb 10 11:48:40 PST 2003
I took the default locations for php/apache install for my Redhat 7.3
system and the mapscript file works at: /usr/lib/php4/php_mapscript.so
Also try checking permissions.
John Deck
> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of
> Thomas E. Burk
> Sent: Monday, February 10, 2003 8:06 AM
> To: mapserver-users at lists.gis.umn.edu
> Cc: flodon at libero.it
> Subject: [Mapserver-users] Problem (FWD)
>
>
>
> ------------- Begin Forwarded Message -------------
>
> Date: Mon, 10 Feb 2003 10:55:36 +0100
> Subject: Problem
> MIME-Version: 1.0
> X-Sensitivity: 3
> From: "flodon at libero.it" <flodon at libero.it>
> To: "mdp" <mdp at lists.gis.umn.edu>
> Disposition-Notification-To:
> "=?iso-8859-1?Q?flodon at libero.it?=" <flodon at libero.it>
> X-XaM3-API-Version: 3.2 R29 (B54 pl1)
> X-type: 0
> X-SenderIP: 62.98.141.74
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from quoted-printable to 8bit by
> mallit.fr.umn.edu id
> h1A9lph07512
>
> Hi,
> I'm a italian student. I have Red Hat 8.0 and I have
> installed mapServer
> 3.6.4
> with php-4.3.0, gdal-1.1.7 and gd-2.0.11.
> I have configured, compiled (with make) and installed
> (with make install) gdal-1.1.7 and gd-2.0.11, under
> /lib/gdal-1.1.7 and /lib/gd-2.0.11. Then I have
> configured php with option --with-system-regex.
> I have verified that in ./main/php_config.h
>
> #define HSREGEX 0
>
> #define REGEX 0
>
> #define REGEX 0
>
> then I have compiled (with make) and installed (with
> make install) php. I
> have
> copied ./sapi/cgi/php.so with under /var/www/cgi-bin
> and in httpd.conf I have added the following lines:
>
> AddType application/x-httpd-php-cgi .phtml
> Action application/x-httpd-php-cgi /cgi-bin/php
> Alias /gmap/ "/var/www/html/mapscript/gmap/htdocs/"
> Alias /ms_tmp/ "/tmp/ms_tmp/"
>
> I have maked writeble /tmp/ms_tmp/ directory...
>
> Then I have restarted apache. Then I have configured
> mapserver with option
> ./configure --with-tiff --with-jpeg --with-gd
> --with-gdal
> --with-php=/lib/php-4.3.0/
>
> and compiled mapserver. Then I have copied
> ./mapscript/php3/php_mapscript.so
> under /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
> Then I have installed the demo-php-sample under
> /var/www/htmp/mapscript.
> Then I
> have opened the browser web and
> in URL I have writed localhost/gmap/gmap75.phtml. The
> browser have showed:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_m
> apscript.so' -
> libgdal.1.1.so: cannot open shared object file: No such file
> or directory in
> /var/www/html/mapscript/gmap/htdocs/gmap75.phtml on line 63
>
> Fatal error: Call to undefined function: ms_getversion() in
> /var/www/html/mapscript/gmap/htdocs/gmap75.php3 on line 51
>
> I have controlled the corresponding paths...
>
> Why the server unable to load dinamic library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_m
> apscript.so'???
>
> How can I solved the problem?
>
> Thanks
>
> Florindo D'Onofrio
>
>
>
> ------------- End Forwarded Message -------------
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>
More information about the MapServer-users
mailing list