note 61423 deleted from install.windows.apache2 by mazzanet
| From: | mazzanet@php.net | Date: | Sat, 22 Apr 2006 05:30:13 +0000 |
| Subject: | note 61423 deleted from install.windows.apache2 by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108988@lists.php.net to get a copy of this message | ||
Note Submitter: Devin
----
My $0.02:
In trying to set up Apache 2.0/PHP5 on my WinXP Pro machine, I configured PHP using the
php.ini-recommended file (aside: enabling mysql and mcrypt). Adding the PHP5 module to Apache
2.0's httpd.conf caused the server to hang when I tried to request any page, even non-PHP.
My solution: use backslashes in paths instead of forward-slashes.
# Load PHP 5
LoadModule php5_module "D:\web\php5\php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "D:\web\php5\"
After changing that one thing, my phpinfo() test page loaded perfectly!