Digi-Sign, The Certificate Corporation
Published on Digi-Sign, The Certificate Corporation (http://www2.digi-sign.com)

Home > PHP 5.2.3

By Digi-Sign
Created Feb 25 2008 - 13:44

PHP 5.2.3

PDF [1] 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.

  • QIG - PHP PEAR DB 1.7.13 and LOG 1.9.11
  • Change working directory to the location where you saved the PHP PEAR DB and LOG source distribution releases. For the purpose of this installation guide, we will assume you have saved these in /usr/local/src directory.


    Change working directory:

      cd /usr/local/src

    Install PEAR DB:

    • pear install DB-1.7.13.tar.gz

    Install PEAR LOG:

    • pear install Log-1.9.11.tgz.tar


  • Preparing for the Digi-CA™ Installation
  • Login to the operating system console as Super User and perform the following actions:

      1. Prepare directory structure by setting up system directory for Digi-CA™:
      • mkdir /usr/local/digiCA

      2. Change the working directory:

      • cd /usr/local/digiCA

      3. Copy the Digi-CA™ PKI System installation package to the newly created directory:

      • cp //digica-1-0.tar.gz /usr/local/digiCA/digica-1-0.tar.gz

      represents the directory path for the location of the Digi-CA™ PKI System Installation package file. Digi-CA™ software is distributed on CD/DVD discs or through a web based download. If you obtained a copy of Digi-CA™ software on a CD/DVD disc, ensure that you enter the correct path for your CD/DVD media disc as mounted by your operating system. Otherwise, if you downloaded a copy of Digi-CA™ through Digi-Sign website, ensure you enter the correct directory path for location to which you downloaded the installation package.

      4. Unpack Digi-CA™ PKI System files:

      • tar –gunzip –xvf digica-.tar.gz

      5. The above command will unpack the Digi-CA™ installation package and create the following new package files, that contain application files for each Digi-CA™ module:

      • digica-installer-.tar.gz (initial system installation script)
      • digica-csp-.tar.gz (Cryptographic Service Provider)
      • digica-caapsrv-.tar.gz (CA Application Server)
      • digica-ocspgtw-.tar.gz (OCSP Gateway)
      • digica-tsagtw-.tar.gz (Time-Stamping [2] Authority Gateway)
      • digiCA-caamc-.tar.gz (CA Administration Management Console)
      • digiCA-ramc-.tar.gz (RA Management Console)
      • digiCA-rars-.tar.gz (RA Registration Service)


    Przemek: represents the release version of the individual module of the system. Refer to section XX for further information about the functionality of each module.

  • Quick Installation Guide

Source URL: http://www2.digi-sign.com/digi-ca/administrator/server/preparation/php

Links:
[1] http://www2.digi-sign.com/downloads/digi-ca admin
[2] http://www2.digi-sign.com/digi-ca/administrator/time+stamp