Re: Sorry ! (was: safe_mode and exec() in win2003 server)
| From: | Marcos Nagamura | Date: | Tue, 31 May 2005 22:33:53 +0000 |
| Subject: | Re: Sorry ! (was: safe_mode and exec() in win2003 server) | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26066@lists.php.net to get a copy of this message | ||
Sorry people,
my subscription confirmation delayed and multiple copies of this message
entered into queue.
Zagab
Shark Mayhem <sharkmayhem@gmail.com> said:
> dude stop sending those
> you only need to send it once
>
> On 5/30/05, Marcos Nagamura <marcosna@usp.br> wrote:
> > Hi,
> >
> > I tried to search this group but found no answer.
> >
> > My environment: win2003 server, apache 2.0.54, php 4.3.11 .
> >
> > When safe_mode is off, calls to exec() go just fine. When safe_mode
> > is on and safe_mode_exec_dir is set properly, no success, but php says
> > otherwise: return code is 0, no error/warning is reported, even with
> > error_reporting(E_ALL).
> >
> > I tried to: allow IUSR_MACHINENAME to exec C:\WINDOWS\system32\cmd.exe;
> > start Apache as an administrative account (not as 'local system
> > account'); copy cmd.exe to C:\PHP; call cmd.exe /C exec_command ... no
> > success. Even exchange '\' by '/' and vice versa, nothing changes.
> >
> > Any help is appreciated. Thanks in advance,
> > Zagab
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Shark mayhem - Bradley
>