[FGS] Problem Connection to MySQL
gdallaire at mapgears.com
Thu Jun 1 06:47:21 EDT 2006
On Thu, 2006-06-01 at 06:03 +0100, Mazlan Man wrote:
> I've just installed the fgs-mapserver base package
> and also installed the php_mysql-module 4.4.2
> Then I did fgs stop and fgs start
> I've restarted apache.
> after phpinfo i get this...it seems my newly installed
> module was not loaded
> Configure Command './configure'
> so when run my php script to connect mysql i get this
> Call to undefined function: mysql_connect() in
> on line 9
> Then I found a "SOLUTION" that require us to add this
> into php.ini and restart fgs (fgs stop fgs start)
> but the problem remain the same ....found that the
> newly added line suddenly missing...it seems that
> apache regenerate the php.ini
You should modify the php.ini.template file.
There are some comments about this in the header of the php.ini file,
but it's easy to not see it. The installer could give some warning about
that (when you install the mysql module). Added in the TODO list.
Guillaume DALLAIRE gdallaire at mapgears.com
More information about the Foss-gis-suite