[Techtalk] Installing PHP with Apache
gebhard.dettmar at student.hu-berlin.de
Sat Jan 31 19:01:15 EST 2004
(sorry for posting twice)
> -----Original Message-----
> From: techtalk-bounces at linuxchix.org [mailto:techtalk-
> bounces at linuxchix.org] On Behalf Of Yaroslav Fedevych
> Sent: Friday, January 30, 2004 5:18 PM
> To: techtalk
> Subject: Re: [Techtalk] Installing PHP with Apache
> Dan Richter wrote:
> > I'm installing Apache and PHP (from source, because I don't have
> > access to the machine and so can't install it in /usr). I can
> > and build Apache, and I can install and build PHP, but how do I
> put the
> > two together? I've even tried compiling PHP into Apache, but I
> > can't get it to recognize my PHP files as such.
> > I haven't edited or moved anything by hand, except for the most
> > changes to the Apache configuration file (no LoadModule commands).
Why not? Is there something like
LoadModule php_module modules/lipphp4.so
in your httpd.conf?
Then you have to settle, which files are php-files:
Alternatetively you can use:
AddType application/x-httpd-php .php
> There is also fancy stuff like AddHandler directives. Use them to
> configure Apache, so it can see .php and .php4 files.
> P.S. I don't know how they look like in Apache 2, so check the docs
> Techtalk mailing list
> Techtalk at linuxchix.org
More information about the Techtalk