Hi, I think you will need to load the library. try this in your php scripts:
dl("mysql.so"); And make sure you have these lines in your /etc/php3/cgi/php3.ini: extension_dir = /usr/lib/php3/cgi extension = mysql.so Shao. Jorge Sousa [EMAIL PROTECTED] wrote: > Hi all, > > I have php3 installed and running, i also installed the php-mysql packages > but whenever I try to access a php3 script with mysql functions the script > will fail with the message: > > "Fatal error: Call to unsupported or undefined function mysql_connect() in > /home/www/projectoX/teste.php3 on line 11" > > sure i'm missing something, just don't know what? > > Any hints?? > > > Thanks in advance > > > Jorge Sousa > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > -- ____________________________________________________________________________ Shao Zhang - Running Debian 2.1 ___ _ _____ Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _____________________________________________________________________________