Re: mysqli_connect ??
| From: | Matt Pelmear | Date: | Tue, 11 Sep 2012 04:08:27 +0000 |
| Subject: | Re: mysqli_connect ?? | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48488@lists.php.net to get a copy of this message | ||
Jim,
You likely have to install the mysqli package for your distribution.
Try a search for something like "ubuntu install php mysqli" or "centos install php mysqli"I can tell you for ubuntu you probably would need to do something like this: sudo apt-get install php5-mysql If you're in a hosted environment, you might be out of luck unless they'll install it for you :-) But I would also be surprised if a hosted environment was missing this package. -Matt On 09/07/2012 01:36 PM, Jim Giner wrote:
No - they are not. :( On 9/7/2012 1:32 PM, Bastien Koert wrote:On Fri, Sep 7, 2012 at 10:54 AM, Jim Giner <jim.giner@albanyhandball.com> wrote:Experimenting with prepared statements - trying out for the first time. I keep getting a fatal error on this statement: mysqli_connect(.....) Message is: Fatal error: Call to undefined function mysqli_connect() in /home/albany/php/sqli_db_connect_select.php on line 6 My host is running php 5.3.9 Can anyone clue me in? I copied my usage directly from the manual! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpCheck to see if mysqli_functions are enabled with phpinfo()