how to serve php files on a Apache server (localhost) running Coldfusion/MySql?

Posted by frequent on Server Fault See other posts from Server Fault or by frequent
Published on 2012-06-08T22:38:42Z Indexed on 2012/06/08 22:41 UTC
Read the original article Hit count: 156

Filed under:
|
|
|
|

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!

© Server Fault or respective owner

Related posts about apache2

Related posts about mysql