note 51257 deleted from ref.pfpro by danbrown
| From: | danbrown@php.net | Date: | Fri, 26 Sep 2008 15:18:45 +0000 |
| Subject: | note 51257 deleted from ref.pfpro by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144763@lists.php.net to get a copy of this message | ||
Note Submitter: cyberscribe at php dot net
----
For those of you looking to install pfpro functionality without having to rebuild PHP, bear in mind
that you can create a dso, which is especially useful for Red Hat Enterprise or other situations
where you want to be able to automagically receive binary updates (such as Debian's apt-get).
The procedure for creating a dso on Red Hat is:
install php-devel from RPM, and get php source:
up2date --get-source php
rpm -i /var/spool/up2date/php-X.X.X.src.rpm
cd /usr/src/redhat/SOURCES
gunzip php-X.X.X.tar.gz
tar xvf php-X.X.X.tar
cd php-X.X.X/ext/pfpro
phpize
./configure
make
make install
Add the line:
extension=pfpro.so;
to /etc/php.d/pfpro.ini
and issue apachectl restart. Voila!