Solution to the insufficient exec permission of php: 1. Modify the php script to have permission to read and run the gcc file path; 2. The iis account running this script cannot use the default account.
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
You need to pay attention to two aspects of permissions
First, the php script must have permission to read and run the gcc file path
Second, the iis account running this script cannot use the default account IUSR user without execution exe permission
Best Create a separate account with greater authority. For server security, please disable remote login access
Then specify the newly created user in the corresponding IIS site authentication
Since the execution exe is different, which one should be used? Please test the appropriate user group yourself
First try from the user group with smaller permissions.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What to do if php has insufficient exec permissions. For more information, please follow other related articles on the PHP Chinese website!