Install PayFlowPro for PHP on RHEL

To install PayFlowPro, you will need a few things:

  • The PHP source code for version of PHP installed (go here)
  • The SDK from Verisign/PayPal (this comes from the portal, login required)
  • The gcc and automake packages

Take the Verisign SDK and copy the following:

  • Copy pfpro.h to /usr/include
  • Copy the .so file to /usr/lib

Untar the PHP source code and cd into php-[version]/ext/pfpro. Run phpize and make sure it finishes successfully. Now run:

./configure --prefix=/usr --enable-shared

Then run make and make install. Now, go to the php.ini and add:

extension=pfpro.so

Run php -i | grep pfpro to make sure the module was successfully built. Restart Apache and you're all set!

The pfpro module is now available via pecl in PHP 5.1+. Thanks to Chris R. for pointing that out.

Printed from: http://rackerhacker.com/2007/04/26/install-payflowpro-for-php-on-rhel/ .
© Major Hayden 2012.

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this