Apache not loading php pages!

Discussion in 'Apache' started by bagfull, Feb 19, 2010.

  1. #1
    Hi,

    I have a Cent OS 5.4 32 bit final installed in my dedicated server.

    I used to run lighttpd with php in my server until now and all was fine.
    But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

    Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

    Instead it downloads php files like index.php when i open in browser.
    So I guess apache is not able to compile and run php pages. Only html pages are opening right now.. :(

    Can anyone help me with this issue ?

    I can pay for this service if its resolved. Its very small problem but i don't know how to resolve it. :(

    Waiting for urgent replies.. If possible pm me if anyone can help me!
     
    bagfull, Feb 19, 2010 IP
  2. st1905

    st1905 Well-Known Member

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    135
    #2
    This issue has been fixed by me.
     
    st1905, Feb 19, 2010 IP
  3. bagfull

    bagfull Well-Known Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    thanks @st1905 for fixing my problem.. now its parsing php files perfectly!

    I really appreciate your help. :)
     
    bagfull, Feb 19, 2010 IP