Codeigniter on Ubuntu no welcome message

后端 未结 3 1178
温柔的废话
温柔的废话 2020-12-21 23:09

I am trying to run CodeIgniter (2.14) on Ubuntu 13.10. I have put the files in \"var/www/CodeIgniter\" but when I enter the directory from the browser it does not show any w

3条回答
  •  眼角桃花
    2020-12-21 23:16

    The Problem is rights on the 'var/www' folder. This can be fixed by the terminal or when unziping.

    When unziping from the terminal like below it works

        sudo unzip CodeIgniter_2.1.4.zip -d /var/www/"desired folder"
    

    Could also be fixed by changing rights after unpacking with GUI interface..

        sudo chmod 755 -R www
    

    And to be able to use Netbeans as non sudo user change the folder owner

        sudo chown 'user-name' 'folder-name' 
    

    Working Codeigniter

提交回复
热议问题