[Ubuntu] php mapscript isn't working
Vince Miller
vincentpmiller at yahoo.com
Mon Feb 18 10:08:12 PST 2013
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
More information about the Ubuntu
mailing list