[FGS] why my fgs cant connect to database

Guillaume Dallaire gdallaire at mapgears.com
Wed Apr 5 09:05:39 EDT 2006


On Tue, 2006-04-04 at 22:57 -0700, wigid.. wrote:
> i've try the current fgs from maptools but when i
> trying to connect to mysql there was fatal error that
> describing server can execute comment to connect to
> database, example : my_sql_connect..
> 
> but when i read the configurating file(php.ini or
> httpd.conf) there was information describing that this
> php was support mysql.. why shuld do.. thx..

Hi, 

you need to install the PHP's mysql module:

$ fgs install php_mysql-module:4.4.2
http://www.maptools.org/dl/fgs/modules/0.2

(if you are running PHP version 4.4.2 (see $ fgs version))

then, edit $FGS_HOME/www/conf/php.ini.template and add:

extension=mysql.so

finally, restart your FGS environment:

$ fgs stop ; fgs start


Guillaume

-- 
_____________________________________________
Guillaume DALLAIRE     gdallaire at mapgears.com
     Mapgears             www.mapgears.com
_____________________________________________



More information about the Foss-gis-suite mailing list