[Ubuntu] php mapscript isn't working
Alan Boudreault
aboudreault at mapgears.com
Mon Feb 18 10:09:59 PST 2013
No, keep that as it is. If phpinfo reports php_mapscript, then it is
loaded. Your issue is somewhere else..
Alan
On 13-02-18 01:08 PM, Vince Miller wrote:
> Alan,
>
> The dl() call was only to test to see if php-mapscript is working at all, as suggested in the mapserver docs. I notice in the php.ini file it was disabled ("enable_dl=off"). I turned it on but phpinfo() still says it's off. But I don't want to dynamically load mapscript every time, anyway.
>
> By the default installation, there is a mapscript.ini file in /etc/php5/cli/conf.d containing the single line:
>
> extension=php_mapscript.so
>
> which phpinfo() says was parsed. The file php_mapscript.so is in the /usr/lib/php5/20090626 directory, which is where phpinfo() says PHP looks for extensions. S are you suggesting that I put the "extension=..." directly in the php.ini file, overriding the default configuration? I like to rely on defaults whenever possible.
>
> Thanks again for your help.
> Vince
>
>
> _______________________________________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
> http://trac.osgeo.org/ubuntugis/wiki
>
--
Alan Boudreault
http://www.mapgears.com/
More information about the Ubuntu
mailing list