note 31930 deleted from ref.pfpro by sniper
| From: | sniper@php.net | Date: | Tue, 05 Aug 2003 16:33:19 +0000 |
| Subject: | note 31930 deleted from ref.pfpro by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53434@lists.php.net to get a copy of this message | ||
Note Submitter: marinne@irisweb.com.tw
----
I managed to compile PHP 4.3.1 with pfpro support successfully under Mandrake Linux 9.1.
First download the Linux version of Payflow Pro SDK from Verisign Manager, put libpfpro.so and
pfpro.h to some location (mine is /usr/local/lib).
My PHP configuration:
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql
--with-pfpro=shared,/usr/local/lib --with-apxs2=/usr/local/apache2/bin/apxs
Then make and make install. In my exprience, the compilation was successfull, everything works fine
but on the phpinfo() page I did not see the pfpro module, and none of those pfpro_xxx functions
worked.
The problem lies in the php.ini setting. In php.ini you must edit the value of extension_dir and set
it to a proper path. Mine is /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429. This is
where the file pfpro.so exists.
And the following line MUST be added to php.ini :
extension=pfpro.so
After adding these modifications, the pfpro module will appear on the phpinfo() page, and the
related functions will work.