ID: 6890 Comment by: tim at nhwebgroup dot com Reported By: Jason at hspace dot net Status: Closed Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.0.2 New Comment:
I have IIS 6.0 on windows 2003 server and the latest PHP running and i get these errors Warning: shell_exec(): Unable to execute 'myPdfExport.exe in W:\WebRoot\site_com\pdf_export.php on line 6 I can't execute any EXE programs in IIS 6 with the shell_exec() function. I DON't want to give the web user rights to the cmd.exe file in the system folder. Is there a fix? Previous Comments: ------------------------------------------------------------------------ [2001-03-08 20:21:18] [EMAIL PROTECTED] Not enough info, no feedback. --Jani ------------------------------------------------------------------------ [2001-01-08 17:11:47] [EMAIL PROTECTED] Which serverplatform and sapi are you using? (ISAPI/CGI/Apache)? ------------------------------------------------------------------------ [2001-01-08 16:59:19] [EMAIL PROTECTED] is this still valid for 4.0.4? ------------------------------------------------------------------------ [2000-09-26 12:05:08] Jason at hspace dot net I tried using exec() or system() or popen() or any function to execute an external program. All returned Access Violation, or script unable to execute program, errors. Possibly a bug in PHP for Windows. I've used exec() on Linux and it works correctly. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=6890&edit=1