Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

IIS and PHP and GhostScript - permissions issues

$
0
0

I have a website running in IIS 6.1 (windows server 2008 R2)... Part of this webiste I am trying to convert a PDF to jpg.  THis is not natively done in PHP so I installed ImageMagick and GhostScript.  

I can run their commands at the DOS prompt with no issues but when trying from PHP nothing happens and get errors...varying errors depending on what code I use.  I have been ready this and it seems that this is most likely whats wrong but not understanding too well

http://forums.iis.net/t/1147892.aspx

I have a folder for GS and IMageMagick, I am assxuming that because these folders dont have rights for IIS_IUSRS is why my commands wont run from within the Website in IIS?  

Are there any other settings in IIS that I should be aware of that might be causing my issues of not running the exec below?

exec("c:\Program Files (x86)\gs\gs9.07\bin\gswin32 -h"); 

The above is an example of what I am trying to run.....Does this make sense?  I am very green at this....so this is at my limits of knowledge.

Thanks...


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>