Welcome Guest, Not a member yet? Register   Sign In
How to install Codeigniter on Wamp
#1

[eluser]duh!![/eluser]
Okay I am not the smastret guy in the world (I am even dyslexic). I had Web Developer Server Suite installed on my computer and put codeigniter in the webapps directory . However, I can not access it using http://localhost/codeigniter . Therefore I have installed WAMP server. In which directory will I put codeigniter and what URL will I use for access ? http://localhost/codeigniter gives me a "not found" error here too. Please explain to me as a two year old kid. Thanks
#2

[eluser]Michael Wales[/eluser]
There should be an htdocs or www directory included in WAMP. Just unzip the folder there - and visit http://localhost/ you should receive the CodeIgniter welcome screen (if your server is running).
#3

[eluser]ELRafael[/eluser]
[quote author="duh!!" date="1190055092"]Okay I am not the smastret guy in the world (I am even dyslexic). I had Web Developer Server Suite installed on my computer and put codeigniter in the webapps directory . However, I can not access it using http://localhost/codeigniter . Therefore I have installed WAMP server. In which directory will I put codeigniter and what URL will I use for access ? http://localhost/codeigniter gives me a "not found" error here too. Please explain to me as a two year old kid. Thanks[/quote]

duh!!!!

I have in my dev machine the same env!!! WAMP 1.7.2

Well, when you go to http://localhost whats shows? The welcome messagem from wamp5?
Probably, the root dir is in c:\wamp\www... Probably! Check this.

Doppo, unzip the CI in the root dir and try again to access the dir (http://localhost/codeigniter or whatever name that you put in the dir).

This first step is easy... A 2 years old kid can do this!!!

If you can done this, open the index.php inside the codeigniter folder and read the comments to configure to what you need!

Troubles? Call R for Rafael :cheese:
#4

[eluser]sergitin[/eluser]
hey man
I downloaded CI and then I created an Alias in httpd.conf in apache,
referencing then unzip folder of CI

in then file "CI/system/application/config/config.php"
i wrote
$config['base_url']= "http://127.0.0.1/nomencladores/"
thats all
#5

[eluser]Phil Sturgeon[/eluser]
Just to save some confusion, 127.0.0.1 == localhost. They are the same (normally). Make sure you dont need to call localhost on a special port mind you, that can be INCREDIBLY annoying after spending hours of painful debugging. Eg on this M(ac OSX)AMP setup I must call http://localhost:8888.
#6

[eluser]duh!![/eluser]
Ok not too fast I am trying to keep up with you geniuses . I have put the entire shebang in the www folder and then I access http://localhost/ . All I get is a sort of index which is not what I want: This is what I get:

Index of /
[ICO] Name Last modified Size Description
[ ] Thumbs.db 13-Sep-2007 22:10 12K
[IMG] apache_pb.gif 20-Nov-2004 16:16 2.3K
[IMG] apache_pb.png 20-Nov-2004 16:16 1.4K
[IMG] apache_pb22.gif 14-Dec-2005 12:25 2.4K
[IMG] apache_pb22.png 14-Dec-2005 12:25 1.5K
[IMG] apache_pb22_ani.gif 14-Dec-2005 12:25 2.2K
[DIR] aspsample/ 13-Sep-2007 20:54 -
[TXT] phpinfo.php 13-Dec-2006 23:37 21
[DIR] stats/ 13-Sep-2007 20:56 -
[TXT] webdeveloper.php 15-Dec-2006 12:12 83
Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8e mod_


Nothink of use absolutely. You guys having fun ?
#7

[eluser]Michael Wales[/eluser]
Delete everything out of the www folder, then access localhost.

Do you see anything? If it shows anything other than an empty index list - you are using the wrong directory. Try another directory named 'www' or 'htdocs'.

Once you find the directory that displays nothing (when you delete everything) that's your root directory of your web server. Place all of your CodeIgniter files in there. You should end up with a structure like:

Code:
www
  system
  user_guide
  license.txt
  index.php
#8

[eluser]duh!![/eluser]
OK the directory is called "webroot". I placed all CI files in it and accessed wttp://localhost . However I get a blank screen now. Does that mean everything is cool ?
#9

[eluser]Michael Wales[/eluser]
If everything works correctly you should see a "Welcome to CodeIgniter" screen.
#10

[eluser]ELRafael[/eluser]
[quote author="duh!!" date="1190068088"]OK the directory is called "webroot". I placed all CI files in it and accessed wttp://localhost . However I get a blank screen now. Does that mean everything is cool ?[/quote]

No.. not cool neither hot!

Its strange, maybe its not the wamp default webroot....

Let's try another thing! See if your php.ini has short tags on and show_error on too. Maybe an error and it's not showing to you!!!

CI, normally, is plug and pray!!! you don't have to make much configuration...




Theme © iAndrew 2016 - Forum software by © MyBB