我在Windows环境中的Codeigniter中有一个现有项目,我最近切换到Ubuntu,每当我从CodeIgniter输入“http://192.168.8.109/consultation/”或“http://localhost/consultation/”404时,就已经安装了LAMP堆栈出现。我认为问题在于它无法从项目中读取任何控制器。
答案 0 :(得分:0)
试试这个,
is your localhost is working ?还会检查您的网址,例如http://localhost/dashboard/projectname
if not then you have to make an entry into hosts file.
open terminal with super user like this type ctrl + alt + t(terminal) and
type gedit /etc/hosts then enter 127.0.0.1 localhost