Re: mysql_connect and PHP 5.0
| From: | Jim Grill | Date: | Wed, 04 Aug 2004 12:58:59 +0000 |
| Subject: | Re: mysql_connect and PHP 5.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192698@lists.php.net to get a copy of this message | ||
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" <office@icsnetworks.at>
To: <php-general@lists.php.net>
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: office@icsnetworks.at
>
>
>
> web: www.icsnetworks.at <http://www.icsnetworks.at/>
>
> _________________________________________________
>
>
>
>
>
>