CodeIgniter Forums
[ASK] How to upload CI to Ubuntu Server - 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: [ASK] How to upload CI to Ubuntu Server (/showthread.php?tid=49539)



[ASK] How to upload CI to Ubuntu Server - El Forum - 02-24-2012

[eluser]Unknown[/eluser]
Hi Guys,

I don't know if my questions here are repost or I ask in the wrong forum. But I need your help.

I developed a website using CI under Windows using FastCGI. It all work and run well. But later I found out that I have to host my site on Linux Ubuntu Server. I'm really-2 newbie on Linux Environment.
So here what I did:
1. Install the Ubuntu Server
2. Install the Apache, PHP, MySQl and vsftpd for uploading my site.
3. Create a directory under /var/www example : /var/www/mycisite
4. Copy all my files on Windows to /var/www/mycisite

After that I tried to access my site, I got Forbidden access message. I then change the permission of /var/www/mycisite to 777, I got different respon. If I access it with Opera, is just blanc screen, if i try to access it with Chrome, it said there are server problem.

What did I do wrong? Wish you guys can help me with this.

Thanks.


[ASK] How to upload CI to Ubuntu Server - El Forum - 02-24-2012

[eluser]CroNiX[/eluser]
Did you update the database settings, base_url, site_url, possibly .htaccess, etc. for the new environment?


[ASK] How to upload CI to Ubuntu Server - El Forum - 02-24-2012

[eluser]TWP Marketing[/eluser]
Also edit your hosts file: /etc/hosts
and check the apache log file: /var/log/apache2/error.log

plus this article may be of help in your LAMP stack configuration
https://help.ubuntu.com/community/ApacheMySQLPHP

I run Ubuntu 11.04 with the default LAMP stack on my laptop. CI runs just fine, but the configuration does take some learning.