Some time ago, after configuring IIS 7.5+PHP(FASTCGI)+MYSQL on the windows server 2008 r2 (x64) server, the operation has been normal. Until yesterday, due to the failure of online backup mysql failed.
php shows execution success, but the execution time is an astronomical number —— This situation has been encountered in the php environment where nginx or apache was previously configured. The reason is that the php memory limit is too small, or The timeout setting is too small. However, after modifying the fastcgi execution time and increasing the php memory, the problem remains.
Then consider the issue of execution permissions, so the default four accounts (create directory, system, administrator, users) are all set to be readable and writable and unexecutable — — the result is still not.
When I was almost crazy, I suddenly remembered that the iis7.5 running account was not in the traditional user list, but a group of passwordless accounts under the IIS_Iusrs group.
Then given the read and write permissions of the relevant read-write directory iis_iusrs, ok, the file execution read is normal.
The IIS_IUSRS built-in group replaces the IIS_WPG group in iis7.5, which is also a noteworthy place.
Another thing to note is that if you don't need to manipulate objects, such as .html, .php, etc., a non-object file or directory, you don't need to set the directory permissions for —— or you can set the system. Read and write permissions to achieve
Example
Run the script for 2008 R2 system IIS7.5 for ASP/PHP/.net1.1-4.0 all-round space environment as an example, give you a brief explanation Site directory permissions settings. Example: 1. Site user group ——TSHost 2, site domain name ——tingsea.com.cn 3. Site user ——tingsea 4, www root directory is e:/WwwRoot 5, site ftp root directory For e:/wwwroot/tingsea 6, the site web directory is e:/wwwroot/tingsea/web 7, the site log directory is e:wwwroot/tingsea/log 8, and the site independent data directory is e:/wwwroot/tingsea/db Permission description (for the sake of simplicity, the inheritance and non-special permissions are not listed here, only the relative and parental permissions are added)
e:/—— administrators ,SYSTEM Full control e:/wwwroot —— IIS_IUSRS read e:/wwwroot/tingsea —— tingsea read e:/wwwroot/tingsea/web —— tingsea <not inherited> This folder, Subfolders and files
Tower server should be the type of server structure that everyone sees most and i
The Web server is built on the line, and it can carry large amount of traffic, res
There is growing interest in combining SSL and name-based virtual hosting. Some p
Problem Description How to set resource allocation for each virtual machine in Sys
Server three major systems SMP, NUMA, MPP introduction
An introduction to the hard drive for the server and another indispensable part of the
GZIP conflict caused PHP file error 330 (net::ERR
The failure to generate a static file was originally FSO (FileSystemObject) at work
Expert trick: How to troubleshoot server RAID 5 failure?
Load balancing cluster technology
Web Host Security Settings (3)
LINUX study notes - FTP server settings (1)
DNS server address configuration
Improve FSO security under Win2003
Method of setting port mapping and reverse proxy in Apache server
How to enhance asp.net 1.1 /2.0 security - anti-cross-site attack
Microsoft Windows Crisis Covered After Windows 7 Hot Sale
What should I do if I access the NAS/Samba server in win7?
How to set up Win8 to connect external display through mobile center
Windows7: Teach you how to speed up the Windows 7 operating system upgrade process
Linux root password cracking summary Daquan
Win7 printer sharing permissions can not access winXP shared printer how to do?
Win10 system disk has two small person icon deletion method
Win7 system how to use 360 browser to shield Youku advertising