Re: Installing Apache, mySql and php

From: Date: Mon, 19 Nov 2001 12:41:53 +0000
Subject: Re: Installing Apache, mySql and php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75095@lists.php.net to get a copy of this message
I've got this: <ifModule mod_php4.c> AddType application/x-httpd-php .php4 .phtml .php AddType application/x-httpd-php-source .phps </ifModule> There no '#' marks at start of line so Im presuming that its running. However, the only mod_php4.c on the system is in the folder where I gunzip'd the php file. I haven't run this download as I'm still trying to get the original install working As a sideline, at the start of httpd.conf it says that the document is created every time apache starts, so if I make changes here, will they be saved? Duncan Hill wrote: > On Mon, 19 Nov 2001, Douglas McKenzie wrote: > > > That file is there. The web root is var/www/html > > > > So the question is, when I put a .php file there, why doesn't it run? > > Why does it return the page as code? > > Edit the httpd.conf file. Look for .php . You'll probably find the line > that loads the actualy interpreter to extension map is commented out. > Uncomment, save, restart Apache. Try page again. > > -- > > Sapere aude > My mind not only wanders, it sometimes leaves completely. > Never attribute to malice that which can be adequately explained by stupidity. > > -- > 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

« previous php.general (#75095) next »