Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS Issue #1

Open
3dgroup opened this issue Apr 26, 2016 · 1 comment
Open

IIS Issue #1

3dgroup opened this issue Apr 26, 2016 · 1 comment

Comments

@3dgroup
Copy link

3dgroup commented Apr 26, 2016

I am having real trouble with your code on IIS. Test environment works well with apache (xampp windows). But IIS server doesn't want to run the command. I see another threat from a class revolving around WKHTMLTOPDF that has had the same issue with the function proc_open (mikehaertl/phpwkhtmltopdf#56).

I have tried running with system32/cmd.exe and syswow64/cmd.exe with read/exc permissions as a test. Made sure open_baseurl wasn't stopping it running as well.

A full day of debugging has resulted in me seeing Access is denied over and over again!

@3dgroup
Copy link
Author

3dgroup commented Apr 26, 2016

completing the following seems to have fixed it but not sure of the consequences of doing this:

Open Application Pools
Find your pool (by default DefaultAppPool)
Click on "Advanced settings"
Change Identity to "LocalSystem"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant