Re: PHP 4.1.1 w/ Apache 2.0.28 ... not being loaded, but

From: Date: Thu, 03 Jan 2002 01:39:00 +0000
Subject: Re: PHP 4.1.1 w/ Apache 2.0.28 ... not being loaded, but
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5433@lists.php.net to get a copy of this message
On Wed, 2 Jan 2002, Chris wrote: > You *almost* did it correctly. Try adding the following to your httpd.conf file: > # DirectoryIndex: Name of the file or files to use as a pre-written HTML > # directory index. Separate multiple entries with spaces. > # > <IfModule mod_dir.c> > DirectoryIndex index.html index.htm index.php default.html default.htm > </IfModule> > > > # > # AddType allows you to tweak mime.types without actually editing it, or to > # make certain files to be certain types. > # > # For example, the PHP 3.x module (not part of the Apache distribution - see > # http://www.php.net) will typically use: > # > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .phps > > # > # And for PHP 4.x, use: > # > > AddType application/x-httpd-php .php > AddType application/x-httpd-php .php4 > AddType application/x-httpd-php-source .phps > > > If all of the above are present in your httpd.conf file, you should have NO > trouble loading .php* files in your browser/ from your server. Do, and do :(

« previous php.install (#5433) next »