Skip to content

Instantly share code, notes, and snippets.

@mburtscher
Last active September 13, 2021 09:48
Show Gist options
  • Save mburtscher/7b9260a8e847a8cdc6e5 to your computer and use it in GitHub Desktop.
Save mburtscher/7b9260a8e847a8cdc6e5 to your computer and use it in GitHub Desktop.
PHP configuration
#!/bin/sh
./configure \
--prefix=/opt/php-$1 \
--with-mysql \
--with-gd \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/include/freetype2 \
--with-jpeg-dir \
--with-png-dir \
--with-xpm-dir \
--with-pdo-mysql \
--with-zlib \
--with-openssl \
--with-curl \
--with-imap \
--with-imap-ssl \
--with-kerberos \
--enable-mbstring \
--enable-soap \
--enable-fpm \
--enable-cgi \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-dba \
--enable-exif \
--enable-ftp \
--with-gettext \
--with-mhash \
--with-mysqli \
--enable-pcntl \
--with-readline \
--enable-sockets \
--with-tidy \
--enable-wddx \
--with-xmlrpc \
--with-xsl \
--enable-zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment