Last active
November 3, 2017 14:30
-
-
Save TomCan/9611446 to your computer and use it in GitHub Desktop.
Compile PHP on clean debian 7
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
apt-get update | |
apt-get -y install libxml2-dev libssl-dev pkg-config libbz2-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev libgmp-dev libc-client-dev libicu-dev libmcrypt-dev freetds-dev libmysqlclient-dev libpq-dev libxslt-dev apache2-suexec-custom | |
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so.5 /usr/lib/libsybdb.so.5 | |
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so | |
cd php-5.X.XX | |
./configure --with-freetype-dir=/usr/lib --prefix=/usr/local/php-5.X.XX --with-mysql --with-mysqli --with-mssql --enable-exif --enable-soap --with-mcrypt --with-mhash --with-curl --enable-mbstring --with-gettext --with-zlib --enable-ftp --with-openssl --with-xsl --with-pgsql --enable-calendar --enable-bcmath --with-bz2 --with-imap --with-imap-ssl --with-pdo-mysql --with-jpeg-dir --with-png-dir --with-gd --enable-zip --with-xmlrpc --enable-sockets --enable-intl --with-gmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./configure --with-freetype-dir=/usr/lib --prefix=/bamboo-worker/php-5.3.28 --with-mysql --with-mysqli --with-mssql --enable-exif --enable-soap --with-mcrypt --with-mhash --with-curl --enable-mbstring --with-gettext --with-zlib --enable-ftp --with-openssl --with-xsl --with-pgsql --enable-calendar --enable-bcmath --with-bz2 --with-imap --with-imap-ssl --with-pdo-mysql --with-jpeg-dir --with-png-dir --with-gd --enable-zip --with-xmlrpc --enable-sockets --enable-intl --with-gmp --with-kerberos
./configure --with-freetype-dir=/usr/lib --prefix=/bamboo-worker/php-5.4.30 --with-mysql --with-mysqli --with-mssql --enable-exif --enable-soap --with-mcrypt --with-mhash --with-curl --enable-mbstring --with-gettext --with-zlib --enable-ftp --with-openssl --with-xsl --with-pgsql --enable-calendar --enable-bcmath --with-bz2 --with-imap --with-imap-ssl --with-pdo-mysql --with-jpeg-dir --with-png-dir --with-gd --enable-zip --with-xmlrpc --enable-sockets --enable-intl --with-gmp --with-kerberos
./configure --with-freetype-dir=/usr/lib --prefix=/bamboo-worker/php-5.5.14 --with-mysql --with-mysqli --with-mssql --enable-exif --enable-soap --with-mcrypt --with-mhash --with-curl --enable-mbstring --with-gettext --with-zlib --enable-ftp --with-openssl --with-xsl --with-pgsql --enable-calendar --enable-bcmath --with-bz2 --with-imap --with-imap-ssl --with-pdo-mysql --with-jpeg-dir --with-png-dir --with-gd --enable-zip --with-xmlrpc --enable-sockets --enable-intl --with-gmp --with-kerberos