CodeIgniter Forums
How Install CI on Ubuntu??? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How Install CI on Ubuntu??? (/showthread.php?tid=26707)



How Install CI on Ubuntu??? - El Forum - 01-21-2010

[eluser]dimasedu[/eluser]
i have the problems with CI on Ubuntu, I use LAMPP 1.7.3
Please help me,
How Install CI on Ubuntu..?????????????????????????????????????????????


How Install CI on Ubuntu??? - El Forum - 01-21-2010

[eluser]Twisted1919[/eluser]
Hi and welcome to CI .
First of all , one question mark would be enough .
Second , what's the problem , what's going wrong ?
Did you added the ci extracted folder to /opt/lampp/htdocs ?
If so , when accessed via url what's happening ?
Other php scripts run on your environment?
Details,details,details ...


How Install CI on Ubuntu??? - El Forum - 01-21-2010

[eluser]richthegeek[/eluser]
Hi, I assume you have installed a LAMP enviroment - if not, copy and paste this into a terminal:

Code:
sudo apt-get install apache2 php5 mysql-client-5.1 mysql-server-5.1 php5-gd libapache2-mod-php5 php5-mysql

That will install a decent server setup with the webroot at /var/www - personally I create a softlink to ~/Web for easy access by running the following:
Code:
sudo rm -R /var/www; sudo ln -s ~/Web /var/www

If you want to enable mod rewrite, do the following:
Code:
sudo a2enmod rewrite; sudo gedit /etc/apache2/sites-enabled/000-default
and change the first two "AllowOverride None" to "AllowOverride All"

Finally, download the CI zip and extract into your webroot.


How Install CI on Ubuntu??? - El Forum - 01-21-2010

[eluser]n0xie[/eluser]
I think you forgot a question mark there. That might solve it.

Why did you install XAMPP ?

It's far easier just installing apache and php separately imho.Take a look here