Blank Screen with CodeIgniter

后端 未结 7 1720
花落未央
花落未央 2020-12-10 06:58

I\'ve just moved a site across to a production server, and a once working CodeIgniter installation now returns a blank screen. I believe it is due to whitespace, but how are

7条回答
  •  悲哀的现实
    2020-12-10 07:40

    If you've moved to a new server ensure the server has PHP-5 installed on it. The reason why the screen is blank is because the server cannot render PHP yet.

    Type this line in and restart after:

    sudo apt-get install php5 libapache2-mod-php5

    To restart:

    sudo service apache2 restart
    

    This is of course assuming you have access to the server via an SSH client with admin rights.

    best of luck, Niall

提交回复
热议问题