[FGS] Problem installing mysql module

Alan Hale alan.hale at btclick.com
Tue Nov 20 17:12:51 EST 2007


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.

I tried a fresh install of fgs mapserver, installed the module as before 
and re-started Apache - but this time the module does not seem to be 
working  right from the start (again, it IS in pkgs directory). I'm 
completely baffled. I'd be glad of some more help.

Many thanks

Alan Hale   Aberystwyth



Daniel Morissette wrote:
> Alan,
>
> Perhaps try:
>
>  fgs install php_mysql-module:4.4.2 
> http://dl.maptools.org/dl/fgs/modules/current
>
> The documentation may not be clear on that, but fgs install does not 
> accept the archive name as argument, it uses the syntax above with 
> module-name:version.
>
> Daniel
>
>
> Alan Hale wrote:
>> Can someone please help? I have FGS-mapserver with Chameleon 
>> installed and want mysql support. I am trying
>>
>> ..fgs#  fgs install fgs-php_mysql-module-4.4.2-linux-i386.tar.gz 
>> http://dl.maptools.org/dl/fgs/modules/current
>>
>> but get
>>
>> * Probing last version of module 
>> 'fgs-php_mysql-module-4.4.2-linux-i386.tar.gz'...
>>
>> ! Cannot find a fgs-php_mysql-module-4.4.2-linux-i386.tar.gz module 
>> from http://dl.maptools.org/dl/fgs/modules/current
>>
>> There is some confusion on the modules download site since the 
>> description of the file ends in "tar.gz". but if you download the 
>> file using the Download button, it ends "tar.tar". However, neither 
>> is found with fgs install.
>>
>> I did wget to download the file to the fgs directory and tried to 
>> install from there, but that does not work either.
>>
>> Many thanks
>>
>> Alan Hale
>> Aberystwyth
>> _______________________________________________
>> 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