[Mapserver-users] Funny behavior in new 4.0.1 setup...
Aaron Racicot
aaronr at ccalmr.ogi.edu
Wed Mar 24 15:01:39 PST 2004
Hello,
I am upgrading from an old Alpha with Mapserver 3.6 to a new setup:
RedHat Enterprise Linux 3.0 AS on Intel Box (2.8gHz,1G,Dual 40G drives)
Mapserver/Mapscript - 4.0.1
Postgresql - 7.4.2
Postgis - 0.8.1
PHP - 4.3.4
Maplab - 2.1-rc3
Chameleon 1.1alpha-20031031
chameleon-sample - From MapTools.org
The problem I am having has to do with my installation of Mapscript. Upon
doing a simple:
dl("php_mapscript.so");
I am able to do a phpinfo() and see Mapserver installed and looking good. I
am even able to do things like:
$array_demo = ms_TokenizeMap("demo.map");
And I can look at the output array and all is well.
Where I am having problems is that constants (like MS_PNG) are not
available. I get the following in my apache log when trying to access
MS_PNG:
[Wed Mar 24 14:44:23 2004] [error] [client 129.95.72.84] PHP Notice: Use of
undefined constant MS_PNG - assumed 'MS_PNG' in
/src/mapserver_4_0_1/maplab/maplab-2.1-rc3/projects/gmf_apps/test3/globprefs
.php on line 126, referer:
http://129.95.72.140/maplab/projects/gmf_apps/test3/
Did something go wrong with my build or is there something obvious that I
missed when reading about version 4.x?
Thanks
Aaron
Aaron Racicot
Oregon Graduate Institute
aaronr at ccalmr.ogi.edu
More information about the MapServer-users
mailing list