Re: [mapserver-users] php_mapscript not being loaded

2012-07-12 Thread Stefan Schwarzer
 And the php -i it spitting out a long list, but no errors.
 
 I have actually all PHP, GD, …, Mapserver from Kyngchaos. So, one single 
 source. But strange enough, every computer seems different, and I ran into 
 a couple of challenges.
 
 I wonder if Apache is still using the system PHP?  The PHP version at the 
 top of phpinfo() should match what you installed (OS X 10.7 system PHP is 
 5.3.10, on 10.6 is 5.3.8).
 
 Also, if the Apache log doesn't have anything, look at Console.app to see 
 if there are any system errors (maybe it can't load a needed library).
 
 Ha, good one. Thanks a lot! Indeed, the phpinfo shows 5.3.8, the php -i 
 shows 5.3.10. I am on OS X 10.7, however. 
 
 What does that mean? I have a mixture of 10.6 and 10.7 on my machine? I have 
 my Snow Leopard still installed on a spearate drive in the machine; does 
 Apache load the php from there?
 
 My PHP installer is supposed to switch the PHP, but sometimes it doesn't.  
 Possibly because the apache config file was altered in a way to break my 
 grep.  System updates are not supposed to change the apache config, but it's 
 a possibility.
 
 You can try running the script manually from the PHP disk image:
 
  sudo /Volumes/PHP\ 5/phpenable.sh cgi5
 
 then
 
  sudo apachectl graceful

Thanks so much. Although it didn't solve the problem, I checked again the php 
-i, and then the /usr/local/php5cgi/bin/php -i, as I recognized there were 
still two different versions. And suddenly saw that error message, mapserver 
which doesn't match the cairo framework. I guess that after the first 
installation a few weeks ago, I newly installed mapserver; but the version had 
changed meanwhile, and required another Cairo version too. Gosh, complicated 
this stuff. Now, it works. Thanks to everybody for the useful tips!

Stef
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserv 5.6.7: mapserv -v

2012-07-12 Thread Richard Greenwood
What platform are you on? Did you build from source or did you install
from a package distribution?

On Wed, Jul 11, 2012 at 7:27 AM, Ne sar nesa...@mail.com wrote:
 Hi guys,

 I'm going to test my mapserver, but I'm getting the following error:
 ./mapserv -v : mapserv: undefined symbol: gdFontCacheSetup.

 Could you help me?

 Regards.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserv 5.6.7: mapserv -v

2012-07-12 Thread Ne sar
Hi Richard,

 I'm working on Fedora 11 with Mapserver 5.6.7, PHP 5.2.13, Oracle Instant 
Client 10.2.5.0.
 I builded Mapserver from source code.

 Regards.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users