Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install PHP on my system separate to Apache, but don't want to go with a package like WAMP or xampp.

When I tried this previously the PHP application wasn't being executed by Apache and when viewing a PHP file in the browser, only showed the code instead of the rendered output like below:

<?php my php code ?>

How do I get Apache to know how to execute the PHP application so that when I load up PHP pages it displays the processed page and not the raw code?


migration rejected from stackoverflow.com Aug 14 '13 at 20:57

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Tom O'Connor Aug 14 '13 at 20:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

official PHP Manual: Installation on Windows systems –  Gordon Feb 26 '11 at 14:28
how is appache formed? –  Tom O'Connor Feb 27 '11 at 11:08

Browse other questions tagged or ask your own question.