Can you paste us your configure line for php? It sounds like you forgot to include mysql or perhaps you configured with mysqli instead. The two are very different.
Regards, Jim Grill Web-1 Hosting http://www.web-1hosting.net ----- Original Message ----- From: "Michael Marold" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 4:29 PM Subject: [PHP] mysql_connect and PHP 5.0 > I've installed MySQL 5.0 with Apache 2.0.50. > > Before, I had running MySQL 4.3.3 and 2.0.47 and a Picturegalerie. After > migrating to 5.0 i get this error: > > > > Call to undefined function mysql_connect() in > D:\kreiszner\galerie\includes\db_mysql.php on line 39 > > > > > > This is line 39 and 40: > > > > > > if (!$this->connection = $connect_handle($db_host, $db_user, $db_password)) > { > > $this->error("Could not connect to the database server ($db_host, > $db_user).", 1); > > } > > > > > > Whats wrong???? > > > > Kind regards mike > > > > > > _________________________________________________ > > > > I C S N E T W O R K S > > > > internet....communication....security....networks > > _________________________________________________ > > > > System Manager & Webdesigner > > > > Ing. Michael Marold > > > > Rudolf - Zellerg. 51/1/6 > > > > 1230 Wien > > _________________________________________________ > > > > Telefon: +43 1 888 59 66 > > > > Mobil: +43 664 / 534 02 02 > > _________________________________________________ > > > > e-mail: [EMAIL PROTECTED] > > > > web: www.icsnetworks.at <http://www.icsnetworks.at/> > > _________________________________________________ > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

