coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Brack on July 01, 2004, 09:18:48 PM

Title: Unable to write config file 'include/config.inc.php'
Post by: Brack on July 01, 2004, 09:18:48 PM
Unable to write config file 'include/config.inc.php'

I am running Windows 2000. IIS 5. I have mySQL and PhP installed correctly on the server. I have every folder CHMOD 777. and i am still getting this error. I have no idea where to start now. This is happening on both my servers. and they are set up the same.
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: Joachim Müller on July 02, 2004, 07:07:03 AM
There's no such thing as CHMOD on a Windows machine, so you can't possibly have CHMODed to 777 (it's more or less a "lie" that you CHMODed at all ;)). There's an equivalent for CHMOD in the Windows world though that is called "file permissions". The IUSR (the user the IIS runs under) must have write access to the albums and include folder. There are some switches in the IIS console as well I don't remember by heart. I strongly recommend taking a look into some good book on Windows server setup and administration, having a Windows server running on the internet without having a clue on administration will attract wannabe-hackers and script-kiddies like flies :-\\...

GauGau
Title: Re: Unable to write config file 'include/config.inc.php'
Post by: SpookiePower on July 02, 2004, 09:27:54 AM
I found this in the doc for coppermine -

If you're on a windows server, you'll have to set permissions accordingly as well (usually the webserver runs under the user name "IUSR_hostname" - you'll have to set rwx-permissions for this user).