Blank web page



  • Hello pufferpanel community,

    I recently acquired an OVH Virtual Private Server. I have running kubuntu 14.04 and have Lamp/apache2 installed.

    Also I don’t have a domain so I can only use my IP address or vps address to direct to my site..

    1. I have tried and failed and even reinstalled multiple times and still nothing

    2. My apache2 points to /srv/pufferpanel/public

    3. My web browser only shows the code that is in the index.php
      Eg.

    <?php
    header('Location: /index');
    ?>
    

    Am I missing something somewhere?



  • Am I missing something that I have to install or is there something I still have to set up like web wise?



  • You are missing the php modules.



  • okay, great... but how would someone fix that.



  • Try doing this

    sudo apt-get install php libapache2-mod-php
    sudo a2enmod mpm_prefork && sudo a2enmod php7.0
    sudo service apache2 restart
    

 

3
Online

749
Users

784
Topics

3.4k
Posts