PHP not running, only downloading php file

Discussion in 'Installation/Configuration' started by DiMoNd, Feb 24, 2013.

  1. DiMoNd

    DiMoNd New Member

    Hi guys!


    I have recently installed ubuntu server 12.10 following the HowtoForge guide with ispconfig 3. everything seems to be ok except the php..

    Apache2 is running ok and html fine. But when I try to visit a *.php page it does not show the pages but downloads the files instead.

    I have been trying to fix this issue by following some solutions here and on other sites but nothing happens..

    Any help appreciated!


    Thanks in advance!
     
  2. ressel

    ressel Member HowtoForge Supporter

    Try to run following command:
    Code:
    apt-get install libapache2-mod-php5
     
  3. Stubbsy92

    Stubbsy92 New Member

    Perhaps try "a2enmod php5"
     
  4. DiMoNd

    DiMoNd New Member

    Hey guys!

    Thanks for replying..

    ressel, I tried the command you wrote but it didn't fix the problem, so I followed the guide to install Debian Sqeeze with ispconfig 3 and everything seems to work fine.
     

Share This Page