[Geomoose-users] Migrating geomoose v1.6 Microsoft to Linux

geo3d geomatrix3d at gmail.com
Thu Jun 30 13:44:29 EDT 2011


Brent thanks again for the response; I went digging through my apache log and
the error generated when trying to either 'select' or 'print':

PHP Fatal error:  Call to undefined function dl() in
/var/www/iMap/Test/php/geomoose_php_util.php on line 25, referer:
http://maps.peachtree-city.org/iMap/Test/


So a look at geomoose_php_util.php line 25:
if(!extension_loaded('dbase')) {
	dl('*php_dbase*.'.PHP_SHLIB_SUFFIX);


Additionally, the error did read for line 17 vs 25 which referred to
'php_curl': simply changing the geomoose_php_util.php to read 'curl' on line
17 fixed that error.

Some further reading I came across this:
http://osgeo-org.1803224.n2.nabble.com/Fatal-error-Call-to-undefined-function-dl-in-C-ms4w-Apache-htdocs-phpmapscript-php-on-line-5-td4092107.html
which refers to this removal: Since PHP version 5.3.0 you can no longer use
PHP's dl() function (it
has been deprecated and removed as noted in
http://ca2.php.net/manual/en/function.dl.php). 

Perhaps I'm reading too much into this but if loading the dlls and referring
to them directly via the php.ini file; what dlls are we referring to
regarding the 'php_dbase'

I did try simply turning enable dl=On in the php.ini with no luck. 

I am using Webmin and there is a php module per virtualhost configuration;
anyone with some Webmin knowledge in configuring that referred php module? 

--
View this message in context: http://geomoose-users.964460.n3.nabble.com/Migrating-geomoose-v1-6-Microsoft-to-Linux-tp3125537p3126853.html
Sent from the Geomoose-users mailing list archive at Nabble.com.




More information about the Geomoose-users mailing list