[Mapserver-users] Re: promblem of installation php4.1.2 mapserver 3.6.3 with RH 7.3

pkishor_98 <pkishor at geoanalytics.com> pkishor at geoanalytics.com
Wed Jan 1 10:12:19 EST 2003


Just a quick reply off the top of my head (some of it may be wrong)...

--- In mapserver-users at yahoogroups.com, "fx gamoy" <fx.gamoy at m...> wrote:
> happy new year!!
> 
> i have compiled mapserver into my linux plateform and copied the
mapserver file into the cgi-bin directory. When trying the url
http://localhost/cgi-bin/mapserv i obtain :
> "No query information to decode, no query result set".

well, you didn't give it any query information, so it complained
correctly.


> The compilation seems to be cool and take care of mapscript
> 
> When i try to perform mapserver on a very small filemap, the server
return:
> "call to undefined function ms_newmapObj...

since you haven't provided any code, I have to guess. Did you give it
a valid php code? Remember, some basic syntax changes are expected
since whatever you were using earlier. Perhaps you should provide
sample code you were trying to run.


> 
> When i try the phpinfo i can't see any section mapscript. 

there wouldn't be. The Mapscript module is dynamicall loaded, that is,
loaded only when included in a script, etc.

> is there a param to define in the php.ini?
> Do i have to recompile php?
> Is it recommended that i upgrade php to 4.2.2 instead of 4.1.2?

Check the latest compatible PHP version and upgrade to it. Although, I
know from personal experience that 4.1.2 works just fine.

Have a safe and happy new year.




More information about the mapserver-users mailing list