note 49043 added to install.windows.apache2
| From: | singh at xmsg dot com | Date: | Sat, 15 Jan 2005 08:59:01 +0000 |
| Subject: | note 49043 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83306@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49043
Delete -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+49043&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49043&report=yes
Search -- http://master.php.net/manage/user-notes.php