PHP6 and database connectors
Moderator: General Moderators
PHP6 and database connectors
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.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP6 and database connectors
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)
Re: PHP6 and database connectors
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?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP6 and database connectors
I think you will still need to enable the drivers that you want to use with PHP6.
(#10850)