[mapserver-users] Problems with PHPMapscript in Linux

John Deck jdeck at socrates.Berkeley.EDU
Fri Jul 19 12:59:15 EDT 2002


I'm not sure if this is connected to your problem or not, but you may
also want to try the following setting in your php.ini file:

register_globals = On


John Deck

-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu] On Behalf Of Vinko
Vrsalovic
Sent: Thursday, July 18, 2002 2:28 PM
To: Manuel Marichal Pérez
Cc: Lista (MapServer)
Subject: Re: [mapserver-users] Problems with PHPMapscript in Linux

On Thu, Jul 18, 2002 at 01:06:05PM +0100, Manuel Marichal Pérez wrote:
> 
> 	Hi. As far as know, I have to compile PHP as a CGI in order to
use
> 	PHPMapscript. Ok. But when I try to compile PHP as a cgi (i,e:
not
> 	using --with-apxs) I obtain a lot of linkage errors similar to:
> 
> 	.
> 	.
> 	.
> 	undefined reference to 'sapi_globals' stucture...
> 	undefined reference to 'execute_globals' stucture...
> 	.
> 	.
> 	.
> 
> 	What's the problem?. Help me, please. I run Red Hat Linux 7.1.


Did you rm config.cache? If not, do it 

Did you make clean? If not, do it

Did you put the --with-apache flag? If yes, remove it

HTH,
-- 
Vinko Vrsalovic <vinko[|- at -|]cprsig.cl>
http://www.cprsig.cl




More information about the mapserver-users mailing list