Thursday, December 15, 2011

How to setup CodeIgniter in your localhost with WAMP server


I've been developing a couple of website using codeIgniter framework. I only learned about this framework early this year 2011. Basically, I've tried installing codeIgniter from localhost and on the host server itself.
How to make codeigniter work is very simple and easy. Below are the steps to kick start your first website using codeigniter.

1. Installing WAMP
First and foremost, before you can have your website running on your localhost you should get a copy of WAMP(Windows Apache MySQL and PHP). It is where you can manage your server settings and Apache/MySQL services. So start downloading Wampserver now!


As you can see there are 2 buttons to download between 32bits and 64bits that would be basing on your system type. To check what OS type is running click Windows logo on your keyboard + Pause/Break and a window will appear.

After download, double click the file and follow the instructions given. Everything will be installed automatically  with the latest releases of Apache, MySQL and PHP.

2. Testing WAMP
You can see the WAMP icon on your desktop after installation. Double click and start the web-server.
This is the WAMP icon.




You can see the green WAMP logo. This means the wampserver has started properly.


















On your browser, type localhost and a page will display.




3. Download codeIgniter
The newest version is here.



Click on the Download button to start downloading the package.

After downloading, you are now ready to install codeigniter on your wamp server.

4. Unzip the file on drive C:/wamp/www



5. Setup project name
Rename CodeIgniter_2.1.0 on your desired project name. For example "myblog", then access the project on your browser with this url "localhost/myblog".

A welcome page will display.


Voila! You have successfully installed CodeIgniter and Wamp.

Get ready for the next tutorial and for getting to know more about CodeIgniter.

27 comments:

  1. I appreciated your instructions they made it quick and easy for me to install CodeIgniter and get started. Thank you

    ReplyDelete
  2. Thank you for these instructions!

    ReplyDelete
  3. Thanks for keeping it simple...well done.

    ReplyDelete
  4. Thanks for the simple abd efficient tutorial...can I have the links to the other tutorials submitted by you

    ReplyDelete
  5. Hi joe publik and Glory Hunter, thanks for appreciating.

    I'm not able to create another tutorials for codeigniter coz im now working on a Drupal website. I'll try my best to add a new post.

    Thanks!

    ReplyDelete
  6. Thanks so much!!! clear as crystal.

    ReplyDelete
  7. Hello Irish, after installing WAMP in my computer and then I typed localhost in my broswer (Mozilla Firefox) a blank whitepage is displayed.
    Any idea, why?

    ReplyDelete
  8. Hi kasuwaw kurat, have you started the wampserver after installation? On your desktop you can see an icon with "W", double click and check if the server has started. You can see a green "w" logo if it is properly started. I'll update the post above with the screenshot of the wampserver. please check and see.

    Thanks!

    ReplyDelete
  9. Thank You. The above information helps me to configure quickly.

    ReplyDelete
  10. Nice thank you vary much

    Regards
    Sagar S A
    INDIA

    ReplyDelete
  11. Thank you very much. It is very easy and quickly to setup CodeIgniter and WAMP.

    ReplyDelete
  12. Great! thanks a lot for the plain and simple explanation.

    ReplyDelete
  13. Thanks irish...
    You did a great stuff

    ReplyDelete
  14. Thanks for sharing it !!!
    Really awesome blog. Keep blogging and updating.
    Software development company india

    ReplyDelete
  15. really helpful for me
    Thanks for sharing it!

    ReplyDelete
  16. HELLO MINE IS WORKING THIS IS ERROR MSG

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at wampserver@wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Apache/2.4.35 (Win64) PHP/7.2.10 Server at localhost Port 8080

    ANY HELP

    ReplyDelete
  17. Nice blog. I like to read your blog. This information is very useful. Thanks for sharing this wonderful informationweb development company

    ReplyDelete