Rudi W. wrote:

Hi there

I'm trying to setup an installation of Apache2, mod_php5 with extensions and Pear (DB).

Currently running FreeBSD 4.10. I understand that the php5 port has been split up in php, the extensions and pear.

I have succesfully installed Apache2 with mod_php5 and the extensions i want, but canøt get Pear to work.

When adding port /databases/pear-db it says it requires an CLI or CGI version of PHP - i have also tried /devel/pear -> same problem.

Isn't i possible to get Pear to work with a php5 apache module?

Regards
Rudi W.

It's probably the PEAR install system that is requiring the PHP CLI/CGI to do its work. You can definitely use PEAR on mod_php5, Apache2 and FreeBSD. Its exactly what my server runs. You can always just download and intall PEAR packages manually as you need them. Or reconfigure PHP to include the CLI in the build, then recompile. I have a feeling you can even just build the CLI on its own.

--

|> Brad Kowalczyk
|> Web Developer
|> [EMAIL PROTECTED]
|> www.ibiscode.com


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to