Apache and PEAR

2004-07-27 Thread Alexander Belck
I'm still confused in using apache --with_php and having php installed.

I whant to be able to install HORDE in sites handled by APACHE.
HORDE needs PHP  PEAR.

In openpkg-2.0 I could compile apache --with_php_pear, but not simultaneosly php
--with_pear.

Now, in openpkg-2.1 apache does not accept --with_php_pear, but I can install
simultaneosly to apcahe, php compiled --with_pear.

Will the apache php module be able to use the PEAR compiled thru PHP ?

(Off-topic, but perhaps somebody can explain it to me). Why do I need to
versions for aparently the same code 1-apache_mod_php, the other is php itself.

Thanks,

Alex

--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Apache + PHP + PEAR

2004-06-25 Thread Alexander Belck
As I'm unable to build apache --with=mod_php_pear I was wondering if I could do
something similar as done with modular apache.

In my previus instalations, I installed apache, then I downloaded a updated
version of PEAR from HORDE (since I couldn't upgrade enouth the pear package
from the distro) where I could use pear's setup utility to download and install
other new functions. To make this work from apache I just needed to add in
httpd.conf for the HORDE site

  php_value include_path '/usr/share/php:/usr/share/php/pear:.'

QUESTION:

Should it work if I just build OpenPkg --with=mod_php and than download HORDEs
PEAR into /opkg/lib/php/pear and add a

  php_value include_path '/opkg/include/php:/opkg/lib/php/pear:.'


thanks,

Alex


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]