Compile PHP 4.4.1 from Source

Compile PHP 4.4.1 from Source

d /usr/local/src/

wget http://ve.php.net/get/php-4.4.1.tar.gz/from/us2.php.net/mirror

tar -zxf php-4.4.1.tar.gz

cd php-4.4.1

up2date libpng-devel libjpeg-devel freetype-devel freetype libjpeg libpngln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so

ln -s /usr/lib/libpng.so.3.1.2.2 /usr/lib/libpng.so

‘./configure’

‘–host=i386-redhat-linux’

‘–build=i386-redhat-linux’

‘–target=i386-redhat-linux-gnu’

‘–program-prefix=’

‘–prefix=/usr’

‘–exec-prefix=/usr’

‘–bindir=/usr/bin’

‘–sbindir=/usr/sbin’

‘–sysconfdir=/etc’

‘–datadir=/usr/share’

‘–includedir=/usr/include’

‘–libdir=/usr/lib’

‘–libexecdir=/usr/libexec’

‘–localstatedir=/var’

‘–sharedstatedir=/usr/com’

‘–mandir=/usr/share/man’

‘–infodir=/usr/share/info’

‘–cache-file=../config.cache’

‘–with-config-file-path=/etc’

‘–with-config-file-scan-dir=/etc/php.d’

‘–enable-force-cgi-redirect’

‘–disable-debug’

‘–enable-pic’

‘–disable-rpath’

‘–enable-inline-optimization’

‘–with-bz2’

‘–with-db4=/usr’

‘–with-curl=/usr’

‘–with-dom=/usr’

‘–with-exec-dir=/usr/bin’

‘–with-png-dir=/usr’ ‘–with-gd’

‘–enable-gd-native-ttf’

‘–with-ttf’

‘–with-gettext’

‘–with-ncurses’

‘–with-gmp’

‘–with-iconv’

‘–with-jpeg-dir=/usr’

‘–with-openssl’

‘–with-png’

‘–with-pspell’

‘–with-regex=system’

‘–with-xml’

‘–with-expat-dir=/usr’

‘–with-zlib’

‘–with-layout=GNU’

‘–enable-bcmath’

‘–enable-exif’

‘–enable-ftp’

‘–enable-magic-quotes’

‘–enable-safe-mode’

‘–enable-sockets’

‘–enable-sysvsem’

‘–enable-sysvshm’

‘–enable-discard-path’

‘–enable-track-vars’

‘–enable-trans-sid’

‘–enable-yp’

‘–enable-wddx’

‘–enable-mbstring’

‘–enable-mbstr-enc-trans’

‘–enable-mbregex’

‘–without-oci8’

‘–with-pear=/usr/share/pear’

‘–with-kerberos=/usr/kerberos’

‘–with-ldap=shared’

‘–with-mysql=shared’

‘–enable-memory-limit’

‘–enable-bcmath’

‘–enable-shmop’

‘–enable-versioning’

‘–enable-calendar’

‘–enable-dbx’

‘–enable-dio’

‘–enable-mcal’

‘–with-apxs2filter=/usr/sbin/apxs

Visit our website for more news, blog posts, knowledge base articles and information on our wide range of hosting services.

Sharing