I have installed MySQL, Apache and PHP on my PC. I think Apache works because when I "http://localhost" I get the "It Works" reply.
I then want to test PHP. I created a simple test file "phpinfo.php" with the text
Expand|Select|Wrap|Line Numbers
- <?php phpinfo(); ?>
Can someone tell me where to look for the problem???
details:
the test file "phpinfo.php" is in the same folder as "htdocs/index.html"
I have modified the Apache "httpd.conf" file as follows:
LoadModule php5_module "c:/program files (x86)/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/program files (x86)/PHP"
Apache not recognising .php extension? Can anyone help ????
I am using Windows 7 (64).
thanks