PHP 5.2.3

PDF Change working directory to the location where you saved the PHP source distribution release. For the purpose of this installation guide, we will assume you have saved the PHP source distribution release in /usr/local/src directory.

    Change working directory:
    • cd /usr/local/src

    Using tar, unpack files from the archive:

    • tar --gunzip -xvf php-5.2.3.tar.gz


    Patch PHP source with Digi-CA™ Cryptographic Patch:

    • cp /
      /dgca-openssl.c-patch \
      /usr/local/src/PHP/php-5.2.3/ext/openssl/openssl.c
    • cp /
      /dgca-php_openssl.h-patch \
      /usr/local/src/PHP/php-5.2.3/ext/openssl/php_openssl.h
    • - is the path where you saved the patch.


    Change working directory:

    • cd /usr/local/src/php-5.2.3


    Prepare the installation:

      ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
    • --with-mysql=/usr/local/mysql --with-zlib --with-gettext \
    • --with-openssl=/usr/local/ssl --with-curl=/usr/local/curl \
    • --with-mcrypt=/usr/local/lib --enable-mbstring


    Compile, test and install:

    • make
    • make test
    • make install


PHP PEAR DB 1.7.13 and LOG 1.9.11

For the PHP PEAR DB 1.7.13 and LOG 1.9.11 packages visit PHP PEAR website on pear.php.net to download the PHP PEAR DB and LOG packages. To perform a quick installation, use the Quick Installation guide provided below.