First, the web server may need to be restarted, though the installer usually 
does this.

But it's probably PHP.  PHP 5.3 now does not allow (by default) dl() loading of 
extensions, so your script that tries to dl('php_mapscript.so') will fail.  It 
can be enabled, but I can't get this to work in my PHP package.  So you need to 
add the extension to your php.ini.  I just noticed that I missed this bit in my 
Mapserver installer, so you need to do it yourself.

Edit /usr/local/php5cgi/lib/php.ini and add this line (there is a "Dynamic 
Extensions" section, but it can go anywhere):

extension=php_mapscript.so

On Jun 20, 2011, at 11:25 AM, Ron Alt wrote:

> Hello: I am a beginner with Mapserver and would appreciate any help.
> 
> I am having touble installing mapscript on a Mac osx 10.5 & 6.
> 
> I have used the installers developed by William Kyngesburye at 
> http://www.kyngchaos.com/software/mapserver.
> The installers have run sucessfully, but it appears as though Mapscript did 
> not install.  
> 
> The mapserver cgi responds.
> The php server responds.
> 
> However, when viewing the phpinfo(), there is not information displayed for 
> mapscript.
> Also, I get an error when sending running a simple script [cannot find 
> dl("php_mapscript.so");]
> 
> Questions:
> Where are the mapscript files stored on OSx? (I cannot find them anywhere)
> Has anyone else encountered a similar problem with this build?
> Are there any other installers for Macs?
> 
> note, I also tried his vers. 5.6.6-3 installer, but it would not work with 
> the current UnixImageIO framework.
> 
> Would appreciate any help.
> 
> Thanks,
> Ron Alt
> FTA
> [email protected]
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to