Need Help in PHP and MYSQL

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cybh
Posts: 1
Joined: Thu Jun 09, 2005 3:21 am

Need Help in PHP and MYSQL

Post by cybh »

i have install php 4.0, apache 2.0 and mysql 4.0 on my linux server.
I always get this message

Fatal error: Call to undefined function: mysql_connect()

when i try to open my php website.

Any one can help me?
urgent.....pls
ackyean
Posts: 1
Joined: Thu Jun 09, 2005 5:22 am

Post by ackyean »

Im also having the similar error on my WinXP machine

Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338

SQL 5.0.4
Apache 2.0.54
PHP 5.04
cacti-0.8.6d
rrdtool-1.0.49

I've also tried on cacti-0.8.6c
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Search the forum. Many others have had the same problem.
2) Type: php -m at the command prompt and paste output.
3) Did you forget to create the cacti account in MySQL and enter the user/pass in config.php ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest