Created
July 9, 2024 02:09
-
-
Save catwhocode/942f248edeb8c88129800520e7115db0 to your computer and use it in GitHub Desktop.
My PHP Installation Configuration Template
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
./configure OPENSSL_CFLAGS=-I/opt/openssl/include/ OPENSSL_LIBS="-L/opt/openssl/lib64/ -lssl -lcrypto" \ | |
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \ | |
--with-config-file-path=/etc/php \ | |
--sysconfdir=/etc/php.d \ | |
--enable-mysqlnd \ | |
--with-pdo-mysql \ | |
--with-pdo-mysql=mysqlnd \ | |
--with-pdo-pgsql=/usr/bin/pg_config \ | |
--enable-bcmath \ | |
--enable-fpm \ | |
--with-fpm-user=root \ | |
--with-fpm-group=root \ | |
--enable-mbstring \ | |
--enable-phpdbg \ | |
--enable-shmop \ | |
--enable-sockets \ | |
--enable-sysvmsg \ | |
--enable-sysvsem \ | |
--enable-sysvshm \ | |
--with-zlib \ | |
--with-curl=/opt/curl \ | |
--with-pear \ | |
--with-openssl=/opt/openssl/bin \ | |
--enable-pcntl \ | |
--enable-gd \ | |
--with-jpeg \ | |
--with-mysqli \ | |
--with-readline \ | |
--with-freetype \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment