Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pkg install -y gcc6 patch libxml2 curl jpeg png freetype2 mcrypt mariadb100-client libxslt postgresql96-client
- # mkdir -p /home/php53
- # cd /home/php53
- # fetch --no-verify-peer https://museum.php.net/php5/php-5.3.29.tar.gz
- # tar xvzf php-5.3.29.tar.gz
- # cd php-5.3.29
- # ./configure --with-layout=GNU --with-regex=php --with-zend-vm=CALL --enable-zend-multibyte --build=FreeBSD-amd64 --prefix=/usr/local/php53 --exec-prefix=/usr/local/php53 --with-config-file-scan-dir=/usr/local/php53/etc/php --enable-cgi --with-libxml-dir=/usr/local/include/libxml2/libxml/ --enable-ftp --with-xsl=/usr/local/include/libxslt/ --enable-mbstring --with-curl --disable-short-tags --disable-ipv6 --with-curl=/usr/local/include/curl/ --enable-ftp --with-zlib-dir --with-freetype-dir --with-gettext --enable-mbstring --with-xmlrpc --enable-soap --enable-zip --enable-calendar --with-gmp --with-openssl --enable-wddx --with-pgsql=/usr/local/include/pgsql/ --enable-fpm
- # make
- # make install
- php_fpm_enable="YES"
- nginx_enable="YES"
Add Comment
Please, Sign In to add comment