Skip to content

Instantly share code, notes, and snippets.

@whatvn
Created November 18, 2016 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatvn/b644f59d36b5839edc4d01fe357a1882 to your computer and use it in GitHub Desktop.
Save whatvn/b644f59d36b5839edc4d01fe357a1882 to your computer and use it in GitHub Desktop.
php-cpp.md
# compile php
./configure '--prefix=/apps/php-7.0.13' '--disable-all' '--with-libdir=lib64' '--enable-ctype' '--with-curl' '--enable-libxml' '--with-mysqli' '--with-pcre-regex' '--with-iconv' '--with-config-file-path=/abserver/php-7.0.13/etc' '--with-config-file-scan-dir=/abserver/php-7.0.13/etc/php.d' '--enable-maintainer-zts' '--enable-fpm' '--enable-simplexml' '--enable-session' '--enable-xml' '--with-openssl' '--enable-dom' '--enable-json' '--enable-hash' '--enable-opcache' '--enable-phar' '--enable-filter' '--with-zlib'
make -j 8 && make install
# compile php-cpp
export PATH=$PATH:/apps/php-7.0.13/bin
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment