Created on: 03.04.2016 11:51 AM
Edited on: 02.22.2017 1:22 PM
[ Edit Topic ] [ Delete Topic ]
Some notes and steps for various PHP installs and configs.
Compile / Libraries
yum install kernel-devel gcc make gcc-c++ libxml2-devel ncurses-devel openssl-devel libuuid.x86_64 libuuid-devel.x86_64 sqlite-devel.x86_64 libcurl-devel mysql-devel lynx rsync -y
PHP 5.4.x - Threaded
cd /tmp/telco
tar xzfv php-5.4.41.tar.gz
tar xzfv pthreads-2.0.10.tgz
mv pthreads-2.0.10 php-5.4.41/ext/pthreads
cd php-5.4.41
rm -rf aclocal.m4 autom4te.cache/
./buildconf --force
./configure --with-mysqli=/usr/bin/mysql_config --enable-sockets --with-zlib --with-regex=system --enable-mbstring --enable-inline-optimization --enable-ftp --enable-soap --with-curl --libdir=/usr/lib64 --enable-pcntl --enable-maintainer-zts --enable-pthreads --enable-openssl
make && make install
PHP 7
./configure --with-mysqli=/usr/bin/mysql_config --enable-sockets --with-zlib --enable-mbstring --enable-inline-optimization --enable-ftp --enable-soap --with-curl --libdir=/usr/lib64 --enable-pcntl --enable-maintainer-zts --enable-pthreads --disable-fileinfo
Include "--with-openssl" ?
Misc. Notes
Compiling on hosts with limited RAM (128 MB)
Use --disable-fileinfo during configure
[ Edit Topic ] [ Delete Topic ]