I recompiled PHP earlier today, now when you access PHP pages in a browser, Apache displays its source code instead of parsing it. Do I need to reset some configuration or recompile Apache?
This is on Centos 5.5 with Apache 2.2 and PHP 5.2.17
Check to make sure your libphp.so (or libphp5.so) is in the correct place. If it got installed in a different place, you'll need to update where apache thinks it is. Depending on how you've got apache setup, there should be an IfModule block that loads the apache module. It'll look something like this:
The path and module name may be different. But if that's all fine, it may be you're using an "Action" with ExecCGI, for example:
The path to the cgi module may have changed.
From the command line type:
Do you get any errors?
In httpd.conf is the following line uncommented: