I'm a newb in Drupal, last time I ever install drupal successfully, however, I had remove all the drupal folder (maybe 1/2 year ago) and try to reinstall the newest drupal version.
I'm using Windows Xp, IIS 5, PHP 5.2, mysql 4.1
Last time I able to install the drupal easily, however not with newer version, Here is Error occur when installing the drupal
Drupal 6.4
I had change all the file permission, but the error still occur, last time
Warning: fopen(./sites/default/settings.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\drupal\includes\install.inc on line 235
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\drupal\includes\install.inc:235) in C:\Apache2\htdocs\drupal\includes\install.inc on line 617
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\drupal\includes\install.inc:235) in C:\Apache2\htdocs\drupal\includes\install.inc on line 618
Drupal 5.1
So I try to downgrade to version 5.1, it become more worse, no error return but keep looping at the installation page and nothing created.
I saw few post that posting the same problem like mine...but no solution so far
Comments
IIS Version
I'm using IIS v6 that comes with XP
Your real error is
Your real error is this:
Warning: fopen(./sites/default/settings.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\drupal\includes\install.inc on line 235
The other two are a result of that one.
Your problem is not in Drupal, is in your configuration in Windows, you don't have access to the settings file or may be to the directory, windows' permissions are a funny thing and not very reliable, but they may cause this type of problems.
Confirm that both the directory and all its parent directories are not set to 'read only' and I am not sure if there are more 'permission' setting for them. If they are not controlled by windows, they may be set by IIS, there I could not help, IIS is something I gave up trying to understand a long time ago.
http://inTribu.com
Solution for Windows
Just use the Windows Explorer, and open the properties box on the
...\sites\default\settins.phpfile, or on the...\sites\defaultdirectory.Select the
Securitytab. In theUsers and users groupslistbox, select then "EveryOne" or "All Users" or "Tout le monde", and check the "Full control" checkbox.And do not forget to undo theses grants after the installation process is over.
Windows Solution Worked
I had similar issue and I followed what Pierre explained as Windows Solution. It worked for me.
granting the right access
granting the right access permissions as suggested should work here
E Ismail