IIS 5 & IIS 6
IIS6 win 10 cmd
Last post May 29, 2019 09:54 AM by Jalpa Panchal
May 28, 2019 11:14 AM|AndreySignet|LINK
Greetings! I use IIS to run my localhost. I have a form on the website where a user enters some data, then PHP gets these data and should run Python script. To run it I try to use following commands:
but nothing happens. Python script is trivial:
I guess there is an issue with permissions. Possibly a user that connects website doesn't have privilege to use cmd.
Could you please help how to proceed?
May 29, 2019 02:06 AM|Jalpa Panchal|LINK
In my opinion use IIS 10 and which type of user is?
May 29, 2019 09:20 AM|AndreySignet|LINK
I guess I have 2 IIS versions, the first is 6.0 and the second is 10, is it alright? Should I delete 6-th version? And my server is run with IIS 10
A user is a regular user visiting a website
May 29, 2019 09:29 AM|Jalpa Panchal|LINK
No need to delete iis 6. just use iis 10 and add site in iis10.
May 29, 2019 09:31 AM|AndreySignet|LINK
Alright, thanks! So how to proceed with the original question?
May 29, 2019 09:36 AM|Jalpa Panchal|LINK
Is your site is working well before hosting in IIS?
May 29, 2019 09:42 AM|AndreySignet|LINK
My site is working well while hosting IIS. I just can't understand why shell_exec() php command doesn't work
May 29, 2019 09:43 AM|Jalpa Panchal|LINK
did you get any error message?
May 29, 2019 09:46 AM|AndreySignet|LINK
No, no messages, other script works well, page opens but shell_exec() is not executed
May 29, 2019 09:54 AM|Jalpa Panchal|LINK
check that you give all permission to iis_iusr and iusr to run the script.
You could also refer below post for more detail: