note 49043 rejected from install.windows.apache2 by nlopess
| From: | nlopess@php.net | Date: | Sat, 15 Jan 2005 20:19:40 +0000 |
| Subject: | note 49043 rejected from install.windows.apache2 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83354@lists.php.net to get a copy of this message | ||
Note Submitter: singh at xmsg dot com
----
I did something like that
Copy the following 3 files to the main Apache folder (probably C:\Program Files\Apache
Group\Apache2\ ):
C:\php\php45ts.dll
C:\php\php5apache2.dll
C:\php\php.ini-recommended
Rename php.ini-recommended to php.ini .
Open this php.ini file in Notepad.
Look for the following line:
doc_root =
Set this to the Apache htdocs directory:
doc_root = C:\Program Files\Apache Group\Apache2\htdocs
Go to the configuration folder of Apache( :\Program Files\Apache Group\Apache2\conf\ ) and open
httpd.conf in Notepad .
Add the following lines to the file
LoadModule php5_module php5apache2.dll
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
First of all when I restarted my server I got an error, but now it is working.I did not change
anything.
did I make any mistake ? please guide