Compiling PHP with verisign PayFlowPro on cpanel server

To compile PHP with custom modules, you need to run /scripts/easyapache with required modules.
 
After the Apache installation, go to folder
 
# cd /home/cpapachebuild/buildapache/
 
Now change to the PHP directory, name of the directory depends on which version of PHP you installed with easyapache. I selected PHP 4.4.1, so i have to do
 
# cd /home/cpapachebuild/buildapache/php-4.4.1
 
Now find current php configuration with
 
# php -i |grep configure
 
Next download the file pfpro_linuxrh9.tar from verisign members area, unzip it.
 
# cd /usr/local/
# tar -xvf pfpro_linuxrh9.tar
# cd verisign/payflowpro/linux9/lib
# ./buildpfpro.sh
 
Copy the files to include and lib folder
 
# cp pfpro.h /usr/include/
# cp libpfpro.so /usr/lib/
 
Now go to folder
 
# cd /home/cpapachebuild/buildapache/php-4.4.1
 
# ./configure –with-apxs=/usr/local/apache/bin/apxs –prefix=/usr/local –with-xml –enable-bcmath –enable-calendar –with-curl –with-dom –with-dom-xslt –with-dom-exslt –enable-exif –enable-ftp –with-gd –with-jpeg-dir=/usr/local –with-png-dir=/usr –with-xpm-dir=/usr/X11R6 –with-gettext –with-imap –with-imap-ssl –with-kerberos –enable-mbstring –enable-mbstr-enc-trans –enable-mbregex –with-mcrypt –with-mhash –enable-magic-quotes –with-mysql=/usr –with-openssl –enable-discard-path –with-pear –enable-sockets –enable-track-vars –with-ttf –with-freetype-dir=/usr –enable-gd-native-ttf –enable-versioning –enable-wddx –with-xmlrpc –with-zip –with-zlib  –with-pfpro
 
# make
 
# make install
 

Related posts:

  1. Compiling FreeBSD Kernel with QUOTA for Cpanel
  2. Installing FreeBSD 6 on Local Web Server
  3. MySQL on FreeBSD Cpanel Server
  4. Deleting Mail Enable Bad Mail from Windows 2000 Server
  5. Moving BIG sites in Cpanel
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>