Re: PHP on Apache on WinXP
| From: | John | Date: | Fri, 04 Apr 2003 00:32:36 +0000 |
| Subject: | Re: PHP on Apache on WinXP | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10495@lists.php.net to get a copy of this message | ||
Try turning off ZLIB compression or in PHP.INI (zlib.output_compression =
Off)
"Wade" <eggman002@hotmail.com> wrote in message
news:20030320164509.3343.qmail@pb1.pair.com...
> Okay, I wrote in the other day and so far have not solved my problem, so
> here is some more info.
>
> I installed Apache 1.3 with PHP 4.3 on my Windows XP system. Apache is
> installed in the default C:\Program Files\Apache Group\Apache directory.
> PHP is installed to C:\PHP. My root folder for my web files is C:\HTTP.
>
> I have been using IE6 as my web browser. When I try to access any PHP
files
> on my machine, it attempts to download them instead of interpreting. I
> downloaded Opera to see if it was a IE6 problem. Opera does the same
thing.
>
> php4ts.dll, php4ts.lib, php.exe, php4apache.dll are all in the directory
> C:\php\
>
> Here are the changes I made to various files.
>
> ***c:\program files\apache group\apache\conf\httpd.conf***
>
> # Code added by Wade to add PHP support to apache.
> LoadModule php4_module c:/php/php4apache.dll
> ###AddModule mod_php4.c ### Removed this line because it was saying that
it
> was already added.
> AddType application/x-httpd-php .php .phtml
> # End Code Added by Wade
>
> #
> # DocumentRoot: The directory out of which you will serve your
> # documents. By default, all requests are taken from this directory, but
> # symbolic links and aliases may be used to point to other locations.
> #
> DocumentRoot "C:\HTTP"
>
> #
> # This should be changed to whatever you set DocumentRoot to.
> #
> <Directory "C:\HTTP">
>
> ***c:\windows\php.ini***
>
> ; The root of the PHP pages, used only if nonempty.
> ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
> ; if you are running php as a CGI under any web server (other than IIS)
> ; see documentation for security issues. The alternate is to use the
> ; cgi.force_redirect configuration below
> doc_root = "c:\http"
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "c:\php\extensions"
>
>