RE: [PHP-INST] PHP on Apache on WinXP
| From: | Beverly Steiner | Date: | Fri, 21 Mar 2003 01:25:00 +0000 |
| Subject: | RE: [PHP-INST] PHP on Apache on WinXP | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10377@lists.php.net to get a copy of this message | ||
Can you view a plain HTML file? Perhaps it's not working because php4ts.dll
and php4apache.dll should be in the c:\Windows\system32 folder.
----------------------
Beverly Steiner
steiner277@charter.net
-----Original Message-----
From: Wade [mailto:eggman002@hotmail.com]
Sent: Thursday, March 20, 2003 11:45 AM
To: php-install@lists.php.net
Subject: [PHP-INST] PHP on Apache on WinXP
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"
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php