Re: installing php4
| From: | AJDIN BRANDIC | Date: | Thu, 24 May 2001 14:20:14 +0000 |
| Subject: | Re: installing php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54226@lists.php.net to get a copy of this message | ||
No luck,
I have compiled php4, made changes to httpd.conf
LoadModule php4_module /usr/lib/apache/libphp4.so
AddModule mod_php4.c
and also
<IfModule mod_php4.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
Apache starts OK but it doesn't recognise .php3 extensions. It starts
downloading a .php file is I try to execute it.
Ajdin.
On Tue, 22 May 2001, Julia A. Case wrote:
> ./configure --with-mysql --with-apxs=/usr/sbin/apxs
> make
> make install
> check /etc/httpd/conf/httpd.conf to make sure php is setup right
> restart the web server
>
> Julia
>
> Quoting AJDIN BRANDIC (abrandic@coventry.ac.uk):
> > Hi
> >
> > I am building a web server. I installed RH6.2 and Apache was installed
> > with it (as binary I guess). I have also installed MySQL (server/client)
> > from binary RPM. I want to install PHP4 source now. Is there any way I
> > could install it without compiling Apache source version or do I need to
> > get Apache
> > source and compile(make/make install) the two apps (Apache/PHP4)? I
> > guess MySQL can stay as it is.
> >
> >
> > Regards
> >
> > Ajdin
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> [ Julia Anne Case ] [ Ships are safe inside the harbor, ]
> [Programmer at large] [ but is that what ships are really for. ]
> [ Admining Linux ] [ To thine own self be true. ]
> [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
>
>