Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm still learning my ways around on my localhost server, whih is running Apache 2.2, Coldfusion8 and MySQL Server 5.5 (on Windows XP).

I need to work on a site I inherited, which also ran some PHP scripts under the same setup. I have installed PHP5 on my localhost, but when I open a dummy page with:

<?php phpinfo();?>

I only get plain text returned, so I guess I haven't configured Apache correctly to also serve PHP (while defaulting to Coldfusion).

Where do I need to get started if I want PHP to work on my current setup, too? Is there something I need to add to the httpd.conf file? If possible I don't want to uninstall/reinstall everything, because it took forever to get everything to work (excluding php).

Thanks for any pointers!

EDIT: Added this to my httpd.conf:

AddType Application/x-httpd-php .php 
LoadModule php5_module "c:/programme/php/php5apache2_2.dll"

and restarted Apache. Nothing happens...

share|improve this question

Ok. Uninstall/Reinstall PHP worked...

This was helpful in case anyone else runs into the same:

Installing and Configuring PHP/Apache/MySQL (sans CF)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.