[FGS] Error from php-mysql module

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Aug 26 07:48:50 EST 2009


Alan Hale wrote:
> Hi - haven't been here for  a while!
> 
> I've been running FGS Mapserver with PHP Mapscript happily for a while 
> now but recently had to move everything to a new server. I took the 
> opportunity to upgrade to the extended version of FGS 9.5 and also 
> installed the php-mysql module v. 5.2.9
> 
> I'm now getting the warning: "Unable to load dynamic library 
> '/home/fgs/fgs-dev/built/php/lib/php/extensions/no-debug-non-zts-20060613/php_mysql.so'
> 
> and consequently a fatal error 'Call to undefined function mysql_pconnect()'
> 
> Needless to say that path does not exist on my server - what is going on?
> 
> Many thanks
> 

I would check your php.ini's value for the 'extension_dir", and make 
sure that it points to where your 'php_mysql.so' file lives.

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the Foss-gis-suite mailing list