Skip to content

Instantly share code, notes, and snippets.

@raphaeldealmeida
Last active December 24, 2015 20:08
Show Gist options
  • Save raphaeldealmeida/6855246 to your computer and use it in GitHub Desktop.
Save raphaeldealmeida/6855246 to your computer and use it in GitHub Desktop.
Compilação do PHP
# pacotes .deb
#
# apache 2
# apache2 apache2-dev apache2-utils
#
# MySQL
# libmysqlclient-dev mysql-server-5.5
#
# ReadLine
# libreadline6-dev
#
# CUrl
# libcurl4-openssl-dev
#
# GD
# libjpeg-dev libpng12-dev
#
# Soap
# libxml2-dev
./configure -with-apxs2=/usr/bin/apxs2 --enable-debug --enable-maintainer-zts -with-pear -with-mysql=mysqlnd -with-mysqli=/usr/bin/mysql_config -with-pdo-mysql=/usr -with-mysql-sock=/var/run/mysqld/mysqld.sock --with-config-file-path=/usr/local/lib --with-readline -with-curl=/usr/bin -with-curlwrappers --enable-pcntl --with-openssl --with-gd --enable-mbstring --enable-bcmath --enable-soap --enable-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment