note 35579 added to ref.pfpro
| From: | rrolfe at genpac dot com | Date: | Sat, 06 Sep 2003 17:17:24 +0000 |
| Subject: | note 35579 added to ref.pfpro | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55551@lists.php.net to get a copy of this message | ||
For everyone who needs this to work on FreeBSD 4.8 with php 4.3.3 (and for me next time i have to do
it), please perform the following:
unpack the tar.gz file for php.
cd php-4.3.3/
and run the following (as mentioned below):
perl -pi.bak -e \
's/LIBS="-lpfpro/LIBS="-pthread -lpfpro/g' \
configure
Then run your configure script to include --with-pfpro.
Edit your Makefile and find the "COMMON_FLAGS" line and add -pthread to the end of it.
then run make and make install.
Also be sure to recompile your apache to include -pthread:
unpack apache
run your configure script
edit the src/Makefile and find the "LIBS1" line and add -pthread to the end of it.
then run make and make install.
for php to load on freebsd 4.8 as an apache module with pfpro, you *MUST* compile apache with
-pthread.
----
Manual Page -- http://www.php.net/manual/en/ref.pfpro.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35579
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35579&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35579&report=yes