note 112775 added to install.windows.apache2
| From: | SoHappy-phpinfonowloadscorrectly | Date: | Mon, 22 Jul 2013 07:36:56 +0000 |
| Subject: | note 112775 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195703@lists.php.net to get a copy of this message | ||
After installing Apache 2.2 and PHP 5.3.7 I could not get the phpinfo.php to display. When i
attempted to pull up the php info page my browser would load the php script instead. I had added the
following line to the Apache conf file
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddHandler application/x-http-php .php
PHPIniDir "c:/php"
The issue was in the second line of code for the AddHandler, the code was missing a d after x-http,
when I saw this typo I added the d, saved the conf file, cleared the cache of firefox, stopped
Apache then started Apache again and the php info displayed correctly so make sure the line reads as
follows
AddHandler application/x-httpd-php .php
----
Server IP: 69.147.83.199
Probable Submitter: 65.34.32.73
----
Manual Page -- http://php.net/manual/en/install.windows.apache2.php
Edit -- https://master.php.net/note/edit/112775
Del: integrated -- https://master.php.net/note/delete/112775/integrated
Del: useless -- https://master.php.net/note/delete/112775/useless
Del: bad code -- https://master.php.net/note/delete/112775/bad+code
Del: spam -- https://master.php.net/note/delete/112775/spam
Del: non-english -- https://master.php.net/note/delete/112775/non-english
Del: in docs -- https://master.php.net/note/delete/112775/in+docs
Del: other reasons-- https://master.php.net/note/delete/112775
Reject -- https://master.php.net/note/reject/112775
Search -- https://master.php.net/manage/user-notes.php