note 53297 deleted from ref.cybercash by philip
| From: | philip@php.net | Date: | Fri, 28 Nov 2008 19:57:37 +0000 |
| Subject: | note 53297 deleted from ref.cybercash by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147169@lists.php.net to get a copy of this message | ||
Note Submitter: hostmaster at shupp dot org
----
Here's how to install cybercash dynamically into PHP
----------------------------------------------------
1. Make sure you have the php dev tools installed, like pear and phpize.
2. Download the cybercash module:
pear download cybercash
3. Untar the module:
tar -xzf cybercash-<version>.tgz
4. Download and install my updated config.m4 file, the current one (as of version 1.18p1)
doesn't work:
wget http://shupp.org/patches/cybercash.config.m4
cd cybercash-<version>
mv ../cybercash.config.m4 config.m4
5. Setup/compile module
phpize
./configure --with-cybercash=/path/to/cybercash-source/c-api
make
6. Install module. For Debian Sarge, the modules directory is /usr/lib/php4/20020429/:
cp modules/cybercash.so /usr/lib/php4/20020429/
(make install may work also)
7. Enable the module in php.ini, restart apache.
Hope this saves someone else some time.
Bill Shupp