I have installed PHP, MySQL, and PHPMyAdmin on a Win2k machine running IIS5 as the web server. Everything runs fine when not trying to use any NTFS security on directories. When attempting to use NTFS security permissions on the PHPMyAdmin folder, the index.php loads up by default showing the three frames, but I get a 404 file not found error in each frame. When attempting to go directly to any page, including index.php, I am returned the 404 error. When I add the Everyone user to the directory and do not require a password, everything works fine. The user I have has Full Control over the directory as well. Does anybody know what must be done in order to allow access to the php files without having Everyone access? The php directory and executable have everyone access, and as i said, php files run flawlessly when Everyone is included on the user list with read and execute permissions.

    9 days later
    10 days later

    We do not wish to use Sessions and php to control the security of this directory. The php files will not execute if the NTFS user group 'Everyone' is removed from the access rights. In the past, we have had NTFS users and groups created to provide security for directories which contained ASP pages. The asp pages still work.

    The user account and group that we have created does have access rights to use the php executable to run scripts. Is there a compatability issue between php execution through IIS if NTFS security is used?

      Ok, but does that user/group have access rights to the php.ini and all the associated dlls with php in winnt/system32??

        Originally posted by mtimdog
        Ok, but does that user/group have access rights to the php.ini and all the associated dlls with php in winnt/system32??

        Yes, the users have rights to all the associated php files and the executable. I had even tried creating a seperate group which would specificly have rights to all of the php files, including the .ini, to see if that would work, but still nothing.

          Write a Reply...