[imp] Documentation, Pear Log Module, Zlib issue

Don don@serviciosorinoco.com
Mon, 16 Sep 2002 02:49:55 -0500


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok I finally got everything working good.

Its not been fun, it was just bit more digging around then I am used too, 
to get everything working.

I feel the horde/imp documentation should spell out a lthe requirements for 
PHP a little better.

Maybe like stating that you need to compile php with the command line 
interface, the pear Log module, and how to do so
, its quite easy, but for the clueless and lazy( like me), its a lot of 
extra digging around, that a few extra lines of install docs could solve 
real quick.

its taken me a couple days to figure out all of it. including reinstalling 
zlib's rpms.
for some reason they just required being reinstalled.  PHP kept saying 
couldnt locate zlib. so i just did a
rpm -Uvh zlib*.rpm --force --nodeps  :-)
no more argument...

I compiled php and apache-ssl from scratch from the latest sources. So far 
so good.

To get everything I needed I had to compile php twice once with 
- --with-apache=blah
then once leaving it off to get the command line interface. Maybe I should 
have gone
with axps, but I just like compiling everything static (mostly old habits)

Just fyi, here are the ./configures I ended up with to get everything working

for php

./configure --with-apache=../apache_1.3.26 --enable-cli --with-mysql 
- --with-curl=../curl-7.9.8/ --with-xml --enable-track-vars 
- --enable-force-cgi-redirect --with-gettext \
- --with-config-file-path=/etc --with-zlib

for apache I ended up with

SSL_BASE=/usr/local/ssl/ ./configure --enable-module=ssl 
- --add-module=mod_frontpage.c --activate-module=src/modules/php4/libphp4.a 
- --enable-module=all \
- --enable module=log_agent --enable-module=log_referer --enable-module=so

compiled normally,
Had to compile php twice, once with the above then once without the apache line


I now have imp/horde running on this machine, which also is running 
chilisoft ASP. That gave me apache-1.3.26+ssl+php+Frontpage2002+Chilisoft ASP
and now I have horde/imp working too, so im pretty happy with the setup.

The results of horde and imp have been good, after I got the issue of no 
pear Log module figured out, that is why I kept getting the blank page on 
login, and no logout ability..

to fix it was simple, I just needed to run

pear install Log

but my default compile of php had no command line interface, so after 
RTFMing for a while and searching the archives, I figured out i just needed 
to leave off the --with-apache crap.
and add in --enable-cli and add in zlib. then pear worked to be able to add 
in the Log module. now everything is working smoothly.

Now to get the CVS versions working. I need to get the PGP support working 
for the boss before he kicks my ass again :-)

Hope this helps,
Don

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBPYWNI6RkihKTjIG4EQLrJACg7DBy8cM2gSOUuh3EGpH3esGzdMEAn0re
LiASQzZcFhTPfwluunJ4gUc7
=f6o2
-----END PGP SIGNATURE-----