PHP6 and database connectors

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

PHP6 and database connectors

Post by koen.h »

Is there any 'official' statement done somewhere (eg newsgroup) that says what the situation will be for php6 in regards to what will ship with it for database connectivity? I've heard rumors that they would push PDO with mysql. It would be interesting to know what will be shipped by default.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP6 and database connectors

Post by Christopher »

Not sure what "push PDO with mysql" means ... I know there is a new MySQL native driver (mysqlnd). And they are planning to do a PDO2 to clean up the design. I think they are also doing some license changes to make the DB companies happier contributing code.
(#10850)
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

Re: PHP6 and database connectors

Post by koen.h »

Yes that was badly formulated. I've read about the mysqlnd driver and that pdo will support it. Let's say you have a default installation of php6, will you be able to connect to a mysql database with pdo and mysqlnd? Or will you still have to configure php to enable the mysqlnd driver and pdo? Will there be something available out-of-the-box to connect with a mysql database?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP6 and database connectors

Post by Christopher »

I think you will still need to enable the drivers that you want to use with PHP6.
(#10850)
Post Reply