Date: Sun, 28 Apr 2002 09:27:25 -0300 From: Steve Howe <howe@carcass.dhs.org> To: dirk@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: mod_php4-4.2.0 Message-ID: <19743999.20020428092725@carcass.dhs.org>
next in thread | raw e-mail | index | archive | help
Hello dirk, Is it possible to setup mod_php4 4.2.0 for apache2 ? I mean, I did it manually on my system, but I would to like know if the port would compile with apache2. Just as a tip, here's how I did it (latest versions of the ports): - Install Apache 2 (portinstall apache2) - portinstall/portupgrade pth (gnu threads - required by Apache2) - Download & extract PHP 4.X (>=4.2.0) - --with-imap and --with=pgsql below isn't required of course but it's how I did it... ./configure --with-apxs2 --with-pgsql --with-tsrm-pth --with-config-file-path=/usr/local/etc --with-imap - make && make install - Add to /usr/local/etc/apache2/httpd.conf: # PHP support LoadModule php4_module libexec/apache2/libphp4.so DirectoryIndex index.php index.html index.htm <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> As you can see, the httpd.conf syntax for php has changed. You might know italready but I could save you a couple hours if you has to discoverout how to do it. Btw, Apache 2.0.35 + PPHP 4.2.0 works great for me (FreeBSD 4.5 - latest) -- Best regards, Steve Howe mailto:howe@carcass.dhs.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19743999.20020428092725>