PHP other files to install
Jump to navigation
Jump to search
zlib ---- ./configure --shared --prefix=/usr make make test make install libpng ------ cp scripts/makefile.linux ./makefile vi makefile and change prefix = /usr make make test make install freetype -------- ./configure --prefix=/usr make make test make install libjpeg ------- ./configure --enable-shared --enable-static --prefix=/usr make make test make install libmhash -------- http://sourceforge.net/project/showfiles.php?group_id=4286 ./configure --prefix=/usr make make check make install libmcrypt --------- http://mcrypt.hellug.gr/lib/ First get libmcrypt-2.5.7.tar.gz ./configure --prefix=/usr make make check make install then mcrypt-2.6.4.tar.gz ./configure make make install t1lib ----- http://freshmeat.net/projects/t1lib/?topic_id=850 ./configure --prefix=/usr make make install libgd ----- ./configure --prefix=/usr make make check make install libming ------- http://ming.sourceforge.net/ make static make install libcurl ------- ./configure --prefix=/usr make make test make install OpenSSL ------- http://www.openssl.org/source/openssl-0.9.7c.tar.gz ./Configure linux-elf --prefix=/opt/openssl-0.9.7c --openssldir=/opt/openssl-0.9.7c/ssl -fPIC -no-threads # Note - non threaded bcos apache 1.3 is non threaded - may have to thread for 2.0! make # make test ;tests the binaries make install ln -s /opt/openssl-0.9.7c/ /opt/openssl rm /usr/bin/c_rehash rm /usr/bin/openssl rm /usr/sbin/openssl rm /usr/sbin/c_rehash ln -s /opt/openssl/bin/* /usr/sbin/ ln -s /opt/openssl/bin/* /usr/bin/ cp /opt/openssl/ssl/openssl.cnf /usr/share/ssl/ cp /opt/openssl/ssl/openssl.cnf /usr/lib MM Shared Memory for apache/ssl 1.3.0 ------------------------------------- http://www.ossp.org/pkg/lib/mm/ wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.3.0.tar.gz --passive-ftp ./configure --prefix=/opt/mm-1.3.0 --disable-shared make make test make install ln -s /opt/mm-1.3.0/ /opt/mm PHP 4.3.1 --------- ./configure \ --prefix=/opt/php-4.3.1 \ --enable-magic-quotes \ --enable-mbstr-enc-trans \ --enable-mbstring \ --enable-mm=shared \ --enable-calendar \ --enable-dba=shared \ --enable-dbase \ --enable-dbx \ --enable-dio \ --enable-ftp \ --enable-gd-native-ttf \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-track-vars \ --enable-trans-sid \ --enable-wddx=shared \ --enable-xml \ --disable-debug \ --with-apxs=/usr/sbin/apxs \ --with-config-file-path=/etc/httpd \ --with-curl=shared \ --with-exec-dir=/usr/bin \ --with-flatfile \ --with-freetype-dir=/usr/local/include/freetype2 \ --with-gd \ --with-gdbm=/usr/include/gdbm \ --with-gettext=/usr \ --with-gdbm=shared \ --with-iconv \ --with-interbase=shared \ --with-jpeg-dir=/usr/lib \ --with-ldap \ --with-libdir=/usr/lib \ --with-mbstr-enc-trans \ --with-mbstring=shared \ --with-mcrypt=shared \ --with-ming=shared \ --with-mysql \ --with-pdflib=shared \ --with-png-dir=/usr/lib \ --with-pgsql=shared \ --with-regex=system \ --with-ssl=/opt/openssl \ --with-ttf=/usr/include/freetype2 \ --with-t1lib=/usr/local/t1lib \ --with-tiff-dir=/usr/lib \ --with-zlib first backup /usr/lib/apache/libphp4.so before make installing! MISSING: --with-dba=shared \ --with-db3=/usr/include/db3 \ --with-kerberos \ --with-imap=shared \ <----------- was 'with-imap' in old ver --with-imap-ssl \ --with-openssl=/usr/local/ssl \ <----------- should be /opt/openssl -test --with-xpm-dir=/usr/lib