PDA

View Full Version : Web pages only show PHP source


ATitaniuMA
4th September 2009, 20:32
I am running CentOS 5.3

and I followed the perfect server guide and ISPConfig guide.

My HTML "test" page will only show html but not php.

When I pull up anything like, http://ip/mysqladmin or /ispconfig, it only shows the php code..

I have globally enabled and disabled php and restarted service but solution..

I have checked httpd.conf over and over and I cant seem to see anything that would resolve this..

I am fairly new to Linux but I think i have a good handle of it

any help would be appreciated

ATitaniuMA
4th September 2009, 21:05
FIXED!!

WOW!!

my /etc/httpd/conf.d/http.conf file was missing

LoadModule php5_module /usr/lib/httpd/modules/libphp5.so

so I added that and BAM! everything working! :D:D:D