note 31930 added to ref.pfpro
| From: | marinne at irisweb dot com dot tw | Date: | Fri, 09 May 2003 10:02:45 +0000 |
| Subject: | note 31930 added to ref.pfpro | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47728@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/ref.pfpro.php
http://master.php.net/manage/user-notes.php?action=edit+31930
http://master.php.net/manage/user-notes.php?action=delete+31930
http://master.php.net/manage/user-notes.php?action=reject+31930