[FGS] Problem installing mysql module

Alan Hale alan.hale at btconnect.com
Wed Nov 21 07:49:25 EST 2007


Ah - I hadn't realised that. Many thanks once again.
 
Alan Hale
Aberystwyth

________________________________

From: foss-gis-suite-bounces at lists.maptools.org on behalf of Daniel Morissette
Sent: Wed 21/11/2007 11:51
To: foss-gis-suite at lists.maptools.org
Subject: Re: [FGS] Problem installing mysql module



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
--
Daniel Morissette
http://www.mapgears.com/
_______________________________________________
Foss-gis-suite mailing list
Foss-gis-suite at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/foss-gis-suite





More information about the Foss-gis-suite mailing list