DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Config Php

10.14.2010
| 1593 views |
  • submit to reddit
        // description of your code here

#install openssl
sudo apt-get install libssl-dev

#install curl ssl
./configure --with-ssl;make;make install

./configure  --enable-fastcgi --with-mysql=/usr/bin/mysql --with-mysqli=/usr/bin/mysql_config --with-pdo-mysql=/usr/bin/mysql --with-zlib --with-pcre-regex --with-pear --with-curl --with-dom --enable-pcntl --enable-tokenizer --enable-force-redirect --enable-json --enable-dom --enable-apc --enable-memcache --with-curl --with-gettext --enable-mbstring --enable-mbstr-enc-trans --enable-soap  --with-openssl


'./configure'  '--prefix=/servers/php' '--disable-all' '--disable-debug' '--disable-rpath' '--enable-ctype' '--enable-hash' '--enable-simplexml' '--enable-spl' '--enable-xmlreader' '--enable-xmlwriter' '--enable-pcntl' '--enable-track-vars=yes' '--enable-bcmatch=yes' '--enable-bcmath' '--enable-sysvshm' '--enable-inline-optimization' '--enable-pic' '--enable-memory-limit=yes' '--enable-ftp' '--enable-sockets' '--enable-posix' '--enable-session' '--enable-mime-magic' '--enable-mbstring' '--enable-soap' '--enable-libxml' '--enable-xml' '--with-mysql=/servers/mysql' '--with-mysqli=/servers/mysql/bin/mysql_config' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-mcrypt' '--with-gettext' '--with-pcre-regex' '--with-pear' '--with-curl' '--with-dom' '--with-mhash=/servers/apache/sys' '--with-iconv' '--with-cdb' '--with-gd' '--with-freetype-dir' '--with-xpm-dir=/usr/lib/' '--enable-shmop--enable-pcntl' '--with-openssl' '--enable-tokenizer' '--enable-fastcgi' '--enable-discard-path' '--enable-force-redirect' '--enable-json' '--with-config-file-path=/servers/php/lib/' '--with-config-file-scan-dir=/servers/php/lib/' '--enable-dom'


#later test curl with ssl support 'curl https://www.stanford.edu/'