[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: on PHP3 & MySQL Packages



> hello all,

hola  :-)

> is the PHP3 package in slink already compiled in to work with MySQL ?
> ive installed php3, php3-msql and mysql-base/server but when i try to
> connect to a .php3 script on my web server i get the following :
>
> Fatal error: Call to unsupported or undefined function mysql_connect()
> in /var/www/konik.php3 on line 7

I had the same problem with postgresql. I wrote in my php3 script this line

dl(pgsql.so)

and works fine.
Perhaps you need to load the mysql library, something like
dl(mysql.so)
These libraries must be in /usr/lib/php3/apache




Adios
K-charro


Reply to: