Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2003 08:20:40 -0800
From:      "Mike Maltese" <mike@pcmedx.com>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        doug@safeport.com
Subject:   Re: How to run php4 as CGI pgm
Message-ID:  <003501c3a3b8$c11ba430$f4f0a8c0@pcmedx.com>
References:  <20031105015317.B19563@pemaquid.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I install in the following order:
>
> apache+mod_ssl-1.3.28+2.8.15_1 (with suExec)
> mysql-client-4.0.16
> php4-cgi-4.3.4.r1
>
> and followed the steps in INSTALL. This did not make libphp4.so. So I am
not
> sure of the step to follow. Do I need to build php in apache also?

www/php4-cgi doesn't make an Apache module, it makes a CGI binary installed
as /usr/local/bin/php. If you want the Apache module, you should use the
www/mod_php4 port. Otherwise, you will need to add the appropriate
directives to httpd.conf to use PHP in CGI fashion. Re-read INSTALLING and
take a look at the Apache documentation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003501c3a3b8$c11ba430$f4f0a8c0>