Skip to content

Instantly share code, notes, and snippets.

@message
Created April 9, 2013 15:08
Show Gist options
  • Save message/5346478 to your computer and use it in GitHub Desktop.
Save message/5346478 to your computer and use it in GitHub Desktop.
PHP Config
[17:54 @ ~/Dropbox/Work] $ php-config
Usage: /usr/local/bin/php-config [OPTION]
Options:
--prefix [/usr/local/Cellar/php53/5.3.22]
--includes [-I/usr/local/Cellar/php53/5.3.22/include/php -I/usr/local/Cellar/php53/5.3.22/include/php/main -I/usr/local/Cellar/php53/5.3.22/include/php/TSRM -I/usr/local/Cellar/php53/5.3.22/include/php/Zend -I/usr/local/Cellar/php53/5.3.22/include/php/ext -I/usr/local/Cellar/php53/5.3.22/include/php/ext/date/lib]
--ldflags [ -L/usr/local/opt/zlib/lib -L/usr/local/opt/jpeg/lib -L/usr/local/opt/libpng/lib -L/usr/local/opt/freetype/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib -L/usr/local/Cellar/postgresql/9.2.3/lib]
--libs [ -lz -lexslt -lresolv -ledit -lncurses -lpq -lpq -liodbc -lldap -llber -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lcrypto -lssl -lcrypto -lcurl -lbz2 -lz -lcrypto -lssl -lcrypto -lm -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -liodbc -liodbc -lxml2 -lnetsnmp -lcrypto -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxml2 -lxslt ]
--extension-dir [/usr/local/Cellar/php53/5.3.22/lib/php/extensions/no-debug-non-zts-20090626]
--include-dir [/usr/local/Cellar/php53/5.3.22/include/php]
--man-dir [/usr/local/Cellar/php53/5.3.22/share/man]
--php-binary [/usr/local/Cellar/php53/5.3.22/bin/php]
--php-sapis [cli apache2handler]
--configure-options [--prefix=/usr/local/Cellar/php53/5.3.22 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-xsl=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-snmp=/usr --with-libedit --mandir=/usr/local/Cellar/php53/5.3.22/share/man --with-mhash --with-curl --with-bz2=/usr --disable-debug --with-openssl=/usr --with-apxs2=/usr/sbin/apxs --libexecdir=/usr/local/Cellar/php53/5.3.22/libexec --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-pgsql=/usr/local/opt/postgresql --with-pdo-pgsql=/usr/local/opt/postgresql --with-iodbc --with-pdo-odbc=generic,/usr,iodbc --enable-zend-multibyte --enable-sqlite-utf8]
--version [5.3.22]
--vernum [50322]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment