Re: Installing Apache, mySql and php
| From: | Duncan Hill | Date: | Mon, 19 Nov 2001 12:43:33 +0000 |
| Subject: | Re: Installing Apache, mySql and php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75094@lists.php.net to get a copy of this message | ||
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.