PHP 5.3 doesn't allow extension loading from scripts now without compiling support for it into PHP and enabling it in php.ini. Unfortunately, I could not get that to work for my PHP package, so you must load extensions from php.ini with:
extension=php_mapscript.so I need to add a note about this to my MapServer package, or make the installer do it. On Jul 4, 2011, at 9:18 AM, Léo D. wrote: > Hi there, I've installed MapServer 6.0.0-3 (thanks to the installer from > http://www.kyngchaos.com) on my local computer, which I'm guessing is working > since that when I'm going to http://localhost/cgi-bin/mapserv? with my > browser I can see this error : "No query information to decode. QUERY_STRING > is set, but empty." which means MapServer is working, right ? I'd like to use > MapServer through the PHP MapScript. My installation seems ok for my > phpinfo() displays a MapScript section. But when I'm running "php -m" command > in my shell, there is no mention of MapScript in the list of modules, I'm > guessing something is going wrong here but I've failed to find out what it > could be. The Apache version on my mac is 2.2.17 and I'm running PHP 5.3.6. > I've tried to make this example work (I've of course changed the pathes in > the MapFile so that they match to my local files), but despite my efforts it > doesn't. And the script is not returning any error message, just an empty > page. Any idea to help me solve that ? Thanks for your help ! Léo D. > View this message in context: Installing PHP MapScript with MapServer 6.0.0-3 > and PHP 5.3.6 on Mac OS X 10.6.8 > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ [Trillian] What are you supposed to do WITH a maniacally depressed robot? [Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer... - HitchHiker's Guide to the Galaxy _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users