pmmp / PHP-Binaries

Compile scripts used to build PHP for PocketMine-MP on multiple platforms
117 stars 167 forks source link

Support for PDO-driver #52

Closed jordivantuil closed 5 years ago

jordivantuil commented 6 years ago

We're currently experiencing an issue with MySQL.

As we're planning to create a own plugin that needs database access, PDO is definitely a must. Without PDO, libraries like Medoo won't work as PDO is required for that.

I know that PMMP is using a binary installation for PHP7.2, is there any possibility to implement or change something so we can get a binary compiled including PDO?

JackNoordhuis commented 6 years ago

You can compile the php binaries yourself with pdo and the pdo mysql driver. I created a gist with a diff and instructions on how to apply it.