View Single Post

  #2 (permalink)  
Old 07-17-2003
The Other Guy
 
Posts: n/a
Default Re: I got a problem with Apache & PHP.

On Thu, 17 Jul 2003 12:50:53 -0400, The Other Guy responded to a post
from "Louis" <what@ever.ca> who wrote in alt.apache.configuration:

>First off, I'm trying to get PHP working with Apache.
>I added this line to my httpd.conf: AddType application/x-httpd-php .php
>and I have set index.php to the default index page.
>
>When I go to my test page (index.php) with a little <? print(Date("l F d,
>Y")); ?> on it,
>both Opera and Explorer try to open it as an application and ask me where I
>want to save it.
>They doesn't seem to recognize it well.
>
>Any hints? Thank's for reading.
>
>- Louis S.
>


You haven't configured something properly. What O/S are you using?
Which version of Apache? Which version of PHP? All of these bits of
info would be useful to help as each version of Apache, and PHP
versions, as well as the O/S have their own set up and config.


--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

This spot may contain a satirical comment or comedic source,
and is meant to be funny. If you are easily offended, gullible
or don't have a sense of humour we suggest you read elsewhere.