- Clone the php-build-scripts repo (make sure you have git installed and run
git clone https://github.com/pmmp/php-build-scripts
) - Move into the cloned directory (
cd php-build-scripts
) - Reinitialize the git repo (
git init
) - Download or save the diff provided (
curl -O https://gist.githubusercontent.com/JackNoordhuis/5c4790a7bfcab7b7dd3d861c713406c3/raw/5731469600fef0c6b163ace65138977125cb1be1/enable-pdo.patch
) - Apply the diff/patch (
git apply enable-pdo.patch
)
Last active
September 24, 2019 10:55
-
-
Save JackNoordhuis/5c4790a7bfcab7b7dd3d861c713406c3 to your computer and use it in GitHub Desktop.
Info on how to compile pmmp's php scripts with pdo enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/compile.sh b/compile.sh | |
index 0b8fc71..95d09c5 100755 | |
--- a/compile.sh | |
+++ b/compile.sh | |
@@ -809,11 +809,10 @@ $HAS_POCKETMINE_CHUNKUTILS \ | |
--disable-xmlwriter \ | |
--disable-cgi \ | |
--disable-session \ | |
---disable-pdo \ | |
--without-pear \ | |
--without-iconv \ | |
---without-pdo-sqlite \ | |
--with-pic \ | |
+--with-pdo-mysql \ | |
--enable-phar \ | |
--enable-ctype \ | |
--enable-sockets \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment