On Tue, 19 Nov 2002, vince cagud wrote:

> hello. i'm trying to get IMP/Horde to work on a stock RH8.0 (well, bastille
> modifications included i suppose), pero sa horde test pa lang, ayaw na.

Horde needs a php enabled in apache. you can test if the php is working by
creating a script something like <?php phpinfo(); ?>.
if the script doesn't work then you have to recompile your php with
"--with-apxs=/where/your/apache/bin/apxs" be sure that apxs exist and
apache support "mod_so", you can check by issuing "httpd -l" on apache/bin
dir. If the mod_so doesn't exist then you need to recompile your apache
with "mod_so".

my sample on how to build php from source tar.

# tar zxvf php-4.2.3.tar.gz
# cd php-4.2.3/
# ./configure --with-apxs=/usr/local/apache/bin/apxs \
  --with-mysql=/usr/local/mysql \
  --with-gettext \
  --with-imap=/usr/local/imap \
  --with-pgsql=/usr/local/pgsql \
  --with-xml \
  --without-gd \
  --with-zlib

# make
# make install
# cp php.ini-dist /usr/local/lib/php/php.ini

Then add this to your httpd.conf:

AddType application/x-httpd-php .php


> horde requires Pear with the Log classes which the PHP package of the distro
> lacks. so i thought, okay...recompile lang php...so it compiled fine, until
> make install...where it cant find one of the install shell scripts.
>
> now i'm on to recompiling apache na talaga...is there something i'm missing
> here? do i really have to do recompile apache2 with mod_ssl and php?

Will you can apache+modssl if youre going to serve enable ssl site,
specially in horde.


HTH
glynn

>
> --vince.
>
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]
>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to