note 112775 deleted from install.windows.apache2 by cmb
| From: | cmb@php.net | Date: | Sun, 12 May 2019 15:51:06 +0000 |
| Subject: | note 112775 deleted from install.windows.apache2 by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211020@lists.php.net to get a copy of this message | ||
Note Submitter: So Happy - phpinfo now loads correctly
----
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