Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I've been beginning to delve into the world of mysql and php, and looking at it again now i'm seeing things like mysqli being i believe something php have created as an edition to the latest php and mysql versions. I'm not understanding quite how this works...basically i believe previously to get php working and talk to mysql you required to have mysql installed on ther server php was running on so you were able to build php to use the mysql client libraries used for connections to the remote MySQL server. Now am i right in thinking this is no longer the case and that php can be built with some form of mysql stuff (mysqli) and various other bits, and i don't need to run up MySQL client libraries at all to enable php to connect to Mysql. Is this correct does that all sound about right. i'm a little new to the MySQL php thing so some guidance is appreciated.
Cheers all
ps - i believe its php's replacement to mysql libraries however if you require it you can also still have php build with the libraries as well and therefore have both methods available to use, the extra functions the php mysqli stuff provides as well as the normal method. If that sounds along the correct lines?
MySQLi is an improved database layer for PHP 5 and MySQL 4.1+.
It is recommended that MySQLi be used if your MySQL server is at version 4.1 or higher !
perhaps i wasn't quite clear enough what i'm really trying to find out is if installing php with mysqli is all i need to do to be able to get php and mysql working together or if i still need to point php at the ./configure point to the mysql client libraries??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.