CodeIgniter Forums
CI cannot run in Ubuntu 8.10 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CI cannot run in Ubuntu 8.10 (/showthread.php?tid=19005)



CI cannot run in Ubuntu 8.10 - El Forum - 05-25-2009

[eluser]Unknown[/eluser]
i have some problem,,
and this the problem:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/proyek/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0

use LAMPP version 1.7.1
and CI version 1.7.1


CI cannot run in Ubuntu 8.10 - El Forum - 05-25-2009

[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums.

It would help if you told us where you're installation is kept, and whether not not /opt/lampp/htdocs/proyek/index.php actually exists.


CI cannot run in Ubuntu 8.10 - El Forum - 05-25-2009

[eluser]Dam1an[/eluser]
Good ol' permission issues on Linux
if my memory serves me correctly, this is what I done to get LAMPP and CI running on mandriva

1. Log in as root (or use sudo throughout)
2. delete the lampp install to get a completely clean start (rm -fr /opt/lampp)
3. Install LAMPP again (still as root) using tar zxvf lampp.tar.gz -C /opt (as per the xampp installation instructions)
4. change ownership of htdocs (chown -R username /opt/lampp/htdocs)
5. Exit root access (ctrl + d) or stop using sudo
6. delete contents of htdocs and unzip CI as normal user
7. Start xampp as root (sudo /opt/lampp/lampp start)
8. All should be working now


CI cannot run in Ubuntu 8.10 - El Forum - 04-22-2010

[eluser]Unknown[/eluser]
hi Dam1an, I have been following all of your instructions, but when I start the browser, there is "Access denied" page. What I have to do then?