6
Mar

it’s easiest to install a package such as Xampplite, which installs Apache, PHP, and MySQL on to a Windows machine with minimum configuration by you,If you aren’t familiar with the process of setting up a web server. It also helps to have a good PHP editor on your system. You can do it all on a text editor, but I find that the syntax highlighting feature of a good editor saves me from making lots of simple mistakes with unclosed brackets or mismatched quotation marks and notepad++ is enough for me too.

Once you’ve reached this far, now to have CI running on your system. Once your server is set up, go to the CodeIgniter site at http://www.codeigniter.com/ and download the latest version of the framework. Version 1.7.1, the latest, is only 893KB when zipped, so the download doesn’t take that long. Unzip the folder, and install the CodeIgniter files in your web root folder. If you are using Xampplite(XAMPP), this is usually the htdocs folder within the Xampplite folder. Included with CI is a comprehensive user guide (in the user_guide folder). You’ll use this a lot. It is usually clear, and often goes into more detail than this book can. So, try it if you get stuck.

When these files are on your machine, you can access them in two ways:
As a URL—e.g., http://127.0.0.1
Through the normal directory path: e.g.,
C:/xampplite/htdocs/index.php or http://localhost/CodeIgniter_1.7.1
You should be able to see the CI welcome screen by simply navigating to your URL with the browser. It’s that simple! The welcome page tells you that what you are seeing is built by two files, a view and a controller.

(source:Upton, David. 2007. CodeIgniter for Rapid PHP Application Development. Packt Publishing, Birmingham.)

This entry was posted on Friday, March 6th, 2009 at 10:01 pm and is filed under Codeigniter. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

11 Responses so far to "Setting up a CodeIgniter Site"

  1. 1 Setting up a CodeIgniter Site | PHP-Blog.com
    March 7th, 2009 at 4:16 am  

    [...] the original: Setting up a CodeIgniter Site Related ArticlesBookmarksTags KSK INC New Website The rest of the site is PHP, CSS and [...]

  2. 2 Kouba
    August 6th, 2009 at 12:27 am  

    I added your blog to bookmarks. And i’ll read your articles more often!

  3. 3 Clemento
    August 7th, 2009 at 5:51 pm  

    I liked it. So much useful material. I read with great interest.

  4. 4 Mackeran
    August 19th, 2009 at 3:35 pm  

    Are you a professional journalist? You write very well.

  5. 5 Peter
    August 21st, 2009 at 3:54 am  

    Valuable thoughts and advices. I read your topic with great interest.

  6. 6 Peter
    September 30th, 2009 at 11:12 am  

    Interesting and informative. But will you write about this one more?

  7. 7 Ventego
    October 14th, 2009 at 9:44 am  

    Very interesting and amusing subject. I read with great pleasure.

  8. 8 Brown
    October 19th, 2009 at 10:09 am  

    I read a few topics. I respect your work and added blog to favorites.

  9. 10 dholep
    May 13th, 2010 at 3:11 am  

    bho yang komeng bot smua ya… kata2nya sama smua distiap komengnya…. -.-

  10. 11 Bo1
    June 1st, 2010 at 12:47 pm  

    Hahahahah…..Emg ada aja yg mau iklan…….Biarlah gw juga narik visitor niatnya bukan commentnya…

Leave a reply

Name (*)
Mail (*)
URI
Comment