Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Is it possible to install Fuel on an IIS server?

edited August 2011 in Installation
I've been developing a site on our apache server and our client's hosting company only has IIS servers. Does not having the ability to use htaccess mean it's impossible for Fuel to run on it?

Uploading the site to the IIS server and loading up the homepage just spits out:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

Any insight would be appreciated!


  • edited 9:29PM
    You can definitely run FUEL without .htaccess just like a normal CodeIgniter application. You will just need to add index.php to the "$config['index_page']" configuration parameter in the fuel/application/config/config.php file.
  • edited 9:29PM
    Thanks for the response. I tried what you suggested. But it's still only spitting out the above error. I also did a lot of searching around for CI + IIS6 installs, but all of it is not working yet. I tried changing "$config['index_page']" to 'index.php' and also 'index.php?' as some have suggested. I'm going to keep trying different things. If you have any other ideas, let me know. Thanks again!
  • edited 9:29PM
    Did you check the index.php file to fix the paths? Perhaps the INSTALL_ROOT needs to be changed in that file?
  • edited 9:29PM
    hmm, so I'm echoing out what dirname(__FILE__) and realpath(dirname(__FILE__)) are.
    dirname(__FILE__) outputs:
    realpath(dirname(__FILE__)) returns an empty string.

    What should 'INSTALL_ROOT' be if I were to set it manually?
  • edited 9:29PM
    It should be the server path to the "fuel" folder (e.g. /var/www/httpdocs/fuel/)
  • edited 9:29PM
    So I'm trying to do a clean install of Fuel CMS first just to see if I can get it working. I manually set the 'INSTALL_ROOT' and I'm not getting the original error now. I think it's seeing the system folder path. However I'm getting these two errors now.

    Warning: require(/ [function.require]: failed to open stream: No such file or directory in \\\customer-home\M\salessite\fuel\codeigniter\core\CodeIgniter.php on line 49 Fatal error: require() [function.require]: Failed opening required '/' (include_path='.;C:\php5\pear') in \\\customer-home\M\salessite\fuel\codeigniter\core\CodeIgniter.php on line 49

    I verified that 'constants.php' is there in /fuel/application/config/.
  • edited 9:29PM
    Have you tried installing just a normal CI instance on the server to see if that works? I'm seeing similar issues in CodeIgniter forum posts with just normal CI installs and thought if it is just a CI issue we could solve that first then work with the FUEL install.

    You've probably seen these in your search venture but I'm posting links I've found here just in case it helps:
  • edited 9:29PM
    That's a good idea. I'm going to try that. Thanks!
  • edited 9:29PM
    Just to follow up, the IIS server was spitting out error after error. I'd fix one thing only to see a new set of errors displayed. I think it is mostly because the server was running an old version of IIS. Anyway, we got the client working on a new Apache server and everything is running smoothly now. Only took a short while to migrate the website from our test server to the new Apache server.

    Thanks for all the help. Dealing with IIS is a bit of a headache.
Sign In or Register to comment.