Re: Fatal Error - Undefined function mysqli_connect

From: Date: Sun, 04 Sep 2011 12:29:07 +0000
Subject: Re: Fatal Error - Undefined function mysqli_connect
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-48000@lists.php.net to get a copy of this message
Ben wrote:
Upgraded from what?
Sounds like the mysqli extension is no longer getting loaded. There will either be an error saying why, or it is still commented out in the php.ini. Upgraded from PHP 4.3 and MySQL 4.1. Was using mysql_connect, but understand that mysqli is better/supported extension for newer versions, so am trying to rewrite the code to use mysqli_connect. For what it's worth, mysqli_init() also produces "Call to undefined function mysqli_init()" in my error logs.
That would explain the problem ;) Need the mysqli extension enabled instead of mysql ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.db (#48000) next »