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.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/04/26/install-payflowpro-for-php-on-rhel/ .
© Major Hayden 2010.

Leave a Reply