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

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).

Question:
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

1 Answer 1

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

 
discard

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.