Unable to write to settings.php on IIS

Created by Alex Harrington
Keywords:
settings php install php install upgrade IIS
Last updated by:
Alex Harrington

Problem:
Trying to install Xibo server (1.0.0-RC3) on IIS 6 and keep getting the following message during the install process after loading from 1.sql, 2.sql and 3.sql:

"Unable to write to settings.php. We already checked this was possible earlier, so something changed. "

I can't see a settings.php file anywhere in the Xibo folder on my webserver, so what exactly is the Installer looking for and where should it be?

Solution:
It needs to write settings.php inside your Xibo install directory.

The installer already checked that it could create a file in that folder, but unfortunately IIS sits ontop of the filesystem permissions so we aren't able to detect that we can't write that file until we actually get to writing it.

It was a few days ago now that I setup a test box on IIS, but I think I had to change the permissions on the site within IIS to allow IIS to write files (you'll need that anyhow for uploading content).