#6890 [Com]: Problem executing external program

From: Date: Mon, 19 Jul 2004 20:50:47 +0000
Subject: #6890 [Com]: Problem executing external program
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62682@lists.php.net to get a copy of this message
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] sniper@php.net Not enough info, no feedback. --Jani ------------------------------------------------------------------------ [2001-01-08 17:11:47] derick@php.net Which serverplatform and sapi are you using? (ISAPI/CGI/Apache)? ------------------------------------------------------------------------ [2001-01-08 16:59:19] cynic@php.net 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

« previous php.bugs (#62682) next »