Web pages only show PHP source

Discussion in 'Server Operation' started by ATitaniuMA, Sep 4, 2009.

  1. ATitaniuMA

    ATitaniuMA New Member

    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
     
    Last edited: Sep 4, 2009
  2. ATitaniuMA

    ATitaniuMA New Member

    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
     

Share This Page