I am new to PHP programming - and I'm trying to execute my first php test page. The problem is, that the php doesn't get executed (page returns php page content:
<?php phpinfo(); ?>
Not sure what I'm doing wrong. I did the following steps to enable Apache service (according to Apache readme file):
- Extracted Apache server for 64bit windows from http://apachelounge.com to C:/ (default dir)
- Checked configuration in .../conf/httpd.conf, default directory matches
- Installed Apache as a service via "httpd.exe -k install" command in Win cmd prompt
- Opened ApacheMonitor and started the Apache service from it
When I'm launching the php page, I copy the file to htdocs sub-folder. Then I open my browser (Firefox) and insert http://localhost/test.php