Re: mysqli_connect ??
Matt Pelmear <[email protected]>
| Newsgroups | gmane.comp.php.database |
|---|---|
| Message-ID | <[email protected]> |
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 >> <[email protected]> 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.php >>> >> Check to see if mysqli_functions are enabled with phpinfo() >> > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php