Unable to write to settings.php

Asked by Andrew

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?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

Hi Andrew

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).

Cheers

Alex

Revision history for this message
Andrew (arose-hillcrest) said :
#2

Thanks Alex Harrington, that solved my question.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

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).
FAQ #429: “Unable to write to settings.php on IIS”.

Revision history for this message
Alex Harrington (alexharrington) said :
#4

Thanks Andrew.

I've converted that to an FAQ.

Alex