Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: Schraalhans Keukenmeester <bitbucket@xxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 19:21:51 +0200
olafmol wrote:
On 28 mrt, 17:58, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:Maybe completely off here, but isn't it true the commandline version
olafmol wrote:
On 28 mrt, 15:18, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:It's always possible it's something in your installation. But it sounds
olafmol wrote:Hello,
On 28 mrt, 10:13, "Kimmo Laine" <s...@xxxxxxxxxxxxx> wrote:Olaf,
<olafil...@xxxxxxxxx> wrote in messageyes, i don't get the "unable to fork" error messages. So that has been
news:1175067975.140265.315960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,Does the IIS user have permission to execute cmd.exe ? the IIS user is
we're running an Win2003server with IIS6 and PHP4 in fastCGI config.
When i try to use system() command to execute ffmpeg.exe it works ok
when i run the PHP script from the commandline on the server, but when
i run it from the webbrowser i get a return value: 128 and nothing
happens.
I checked for all the security settings, and everything seems fine.
Does anybody have a clue where i should be looking?
something like IUSR_COMPUTERNAME
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpkhttp://outolempi.net/ahdistus/-Satunnaisestipäivittyvä; nettisarjis
s...@xxxxxxxxxxxxx | rot13(x...@xxxxxxxxxxxxx)
taken care of.
Olaf
Not getting the message doesn't mean anything. IIRC, RC 128 is a
permission problem, and cmd.exe is a real good bet.
And BTW - Windows doesn't fork. Linux does.
all the permissions are ok, i even put "everyone" to all rights. I can
create normal directories, and pipe directory readings to new files,
this works without a problem. But when i try to execute ffmpeg i get
this returncode 128.
Furthermore, when i try to execute ImageMagick's convert.exe without
parameters, i get the regular output of convert.exe back, but when i
try to convert some images i get a false returncode back.
Could it be something with my PHP installation?
Olaf
more like convert.exe can't access some resource. Maybe a temp
directory? I don't know.
Is there anything in your error log file, or your Windows Event log
about it?
--
there doesn't seem to be any error-events in the logs. Convert.exe can
access the resources ok when the PHP script is ran from the
commandline with PHP.exe. Very strange. I think it has something to do
with our PHP config and/or some obscure security setting somewhere...
Olaf
runs as YOU, and the IIS-server parsed version runs as the server? So
the fact the cli version works doesn't mean you still are facing a
rights issue...
Sh.
.
- Follow-Ups:
- References:
- problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: olafilink
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: Kimmo Laine
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: olafmol
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: Jerry Stuckle
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: olafmol
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: Jerry Stuckle
- Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- From: olafmol
- problem executing command line scripts on Win2003 IIS6 PHP4 box
- Prev by Date: Re: problem with $_SERVER['REQUEST_METHOD'] == 'POST'
- Next by Date: Re: Performance impact of "require"ing lots of source?
- Previous by thread: Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- Next by thread: Re: problem executing command line scripts on Win2003 IIS6 PHP4 box
- Index(es):