[FGS] Problem installing mysql module

Daniel Morissette dmorissette at mapgears.com
Wed Nov 21 06:51:40 EST 2007

Alan Hale wrote:
> I'm afraid I'm still having trouble with this. Yesterday the mysql 
> module seemed to install OK, and mysql_connect() etc was recognised. But 
> I had a problem with the mysql.sock location. I fixed this in 
> php4.ini.template, restarted Apache, but then seemed to lose the mysql 
> module - mysql_connect() etc. not recognised, nor does MySQL show up 
> with a phpinfo(). The module is still in the pkgs directory.

Is the module loaded? The MySQL module is not loaded into PHP by 
default, you need to either dl() it in your PHP script, or preload it 
with an extension directive in your php.ini (php4.ini.template)

Daniel Morissette

More information about the Foss-gis-suite mailing list