I've set up a centOS server with apache, php and mysql installed. I've uploaded my db and php pages, but whenever I view the php files from a browser I get the phpinfo() page displaying, followed by the php page below. Any suggestions??
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
closed as too localized by womble, Scott Pack, Adrian, John Gardeniers, dunxd Nov 2 '12 at 11:09
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
|
You can run |
|||||||
|
auto_prepend_fileconfiguration option .. or the same via .htaccess/Apache config file if it is allowing to setting up php config variable in such way. – LazyOne Aug 26 '11 at 22:13