Xampp? |
[eluser]Bl4cKWid0w[/eluser]
Does CodeIgniter work with Xampp? The reason I'm asking this is that up until recently, I had been developing my projects with CodeIgniter on my web hosting, but the host went down for a while and decided to develop it on my PC with Xampp. It was working fine on the web and the config files are the same, but only my main page is working. Any ideas?
[eluser]Randy Casburn[/eluser]
More than likely, XAMPP's virtual host setup or custom .htaccess files are preventing your CI setup from working fully. Check those out, adjust those properly, and I bet things will work fine. Randy
[eluser]Rick Jolly[/eluser]
Further to Randy's reply: If you're using mod_rewrite with xampp (.htaccess to remove index.php), you need to enable it. In xampp/apache/conf/httpd.conf, uncomment the following line: Code: LoadModule rewrite_module modules/mod_rewrite.so
[eluser]Colin Williams[/eluser]
Been running CI with XAMPP since the day I found out about it. All I had to do was load the rewrite_module like Rick shows
[eluser]mpc[/eluser]
[quote author="Bl4cKWid0w" date="1219192463"]Does CodeIgniter work with Xampp? [/quote] I use XAMPP/CodeIgniter on my development (XP) workstation. I use TortoiseSVN to keep CodeIgniter up to date. Several times, I've unzipped the latest XAMPP over my existing installation - to keep XAMPP up to date, as well. I was, then, able to move what I developed on the workstation to my Site5 host with responsive results: SQLite database lookups through the MVC process - to generate sidebar links routinely take about 0.01 seconds. For more detail, see: Data-based-Systems CodeIgniter Notes
[eluser]obiron2[/eluser]
Yep, i use CI with Xampp on a 1.2 celeron Hp laptop (about 4 years old) running XP with 512meg ram and it works fine. Just remember that windows environments are not case sensitive but when you move your code to Linux... I can't tell you how many times i have been caught out ![]() Obiron
[eluser]Bl4cKWid0w[/eluser]
Ok, my webhost is back up, but the backup was corrupted and I had to reupload everything and it's still only loading my main page.
[eluser]Xeoncross[/eluser]
I run XAMMP on my USB stick with CI 1.6.3 and when I get home I open up WAMP and just copy the codeigniter dir to my WAMP install and continue on... Rick's right though - whatever install you use you need to enable mod_rewrite and some other stuff that you might use like Big Math, Zlib, xdebug, etc.. I actually just recorded a screencast on it - I just need to put it up ![]()
|
Welcome Guest, Not a member yet? Register Sign In |