php - CodeIgniter error 403 Access forbidden on Ubuntu -
i've been working on not-much-complicated projects using codeigniter on windows, first time launch php file in ubuntu.
i copied codeigniter project /opt/lampp/htdocs
working on windows doesn't work on ubuntu. gave me 403 error.
solved:
set permission command line:
sudo chmod 777 -r /opt/lampp/htdocs
sudo chmod 777 -r /opt/lampp/htdocs/ project_folder
project_folder name of project directory.make sure controllers' name capitalized.
in addition comments, apache needs execute access on every folder root project in order traverse file system.
sudo chmod +x / sudo chmod +x /opt sudo chmod +x /opt/lampp
Comments
Post a Comment