Im trying to create an little "plesk like" panel for iis for my personal use and fun.
But at this point I am stuck since php dont have the right to run the appcmd.exe
file.
I was wondering how can I change the permission to let php run appcmd.exe
If I run appcmd
in cmd
as my Nicolas
user I get the following But when I run it as administrator it work fine.
Now I tried to just change the file permision and try to add the php user.
But for some reason I can't change permision on appCmd.exe
What can I do to be able to exec appcmd.exe with php?
Run it as administrator. You can do it by mouse right click on the executable file. Find in the context menu item "Run as administrator" with yellow shield. Hope it helps.