I installed PHP 5 using IIS 6 on windows 2003 server r2 enterprise edition.

Everything works except after installing mysql and then trying to install phpMyAdmin, the setup.php uses the require_once function and i get these parse errors:

Warning: require_once(./libraries/common.lib.php) [function.require-once]: failed to open stream: Permission denied in c:\inetpub\wwwroot\phpmyadmin\scripts\setup.php on line 10

Fatal error: require_once() [function.require]: Failed opening required './libraries/common.lib.php' (include_path='.;C:\php5\pear') in c:\inetpub\wwwroot\phpmyadmin\scripts\setup.php on line 10

I've given the anonymous login account read/execute permissions on the wwwroot folder, and ive also set execute permissions to scripts and executables in IIS Manager, as well as giving script source access/read/write/directory browsing privs on the folder in IIS Manager.

Also, allow_url_fopen is set to on in php.ini.

I don't know what else to do nor what the problem could possibly be.

Thanks in advance for the help 🙂

    Write a Reply...