Re: on PHP3 & MySQL Packages

2000-02-23 Thread Enrico Rossi
On Tue, 22 Feb 2000, bongkoy wrote:

> Fatal error: Call to unsupported or undefined function mysql_connect()
> in /var/www/konik.php3 on line 7

Hi,
there is a conf file in /etc/php3/apache/php3.ini where you have to
manually insert an 

extension=mysql.so

to let php use the mysql command.
Reload apache.

or you have to dynamic load mysql.so in php pages.

Hope this help

Bye



Re: on PHP3 & MySQL Packages

2000-02-23 Thread David Charro Ripa
> 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



Re: on PHP3 & MySQL Packages

2000-02-23 Thread Tamas TEVESZ
On Tue, 22 Feb 2000, bongkoy wrote:

 > 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

use php3-mysql instead

 > Fatal error: Call to unsupported or undefined function mysql_connect()
 > in /var/www/konik.php3 on line 7

see also the first paragraph in /usr/doc/php3/README.Debian

-- 
[-]
kazmer at any cost !



on PHP3 & MySQL Packages

2000-02-23 Thread bongkoy
hello all,

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

any help greatly appreciated,
bongkoy

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com