php.ini file contains
safe_mode = Off
P.S. I forgot one thing - when I try to execute this
script bypassing a web server (i.e. from command line like c:\php4\php.exe scrypt.php)
all is OK - I see results of the "dir" command.
> -----Original Message-----
> From: Thomas Wentzel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 07, 2001 5:39 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] Bug #13192: PHP fails to execute programs
> You did check that PHP wasn't running in safe mode???
> [EMAIL PROTECTED] wrote:
> > From: [EMAIL PROTECTED]
> > Operating system: NT server 4.0 sp 6a
> > PHP version: 4.0.6
> > PHP Bug Type: IIS related
> > Bug description: PHP fails to execute programs
> > In the ISAPI mode PHP constantly fails to execute
> > external programs throught any function (systemm, exec etc.)
> > i.e.
> > <?php
> > echo `dir `;
> > ?>
> > result:
> > Warning: Unable to execute 'dir ' in
> C:\InetPub\wwwroot\t4.php on line 10
> > PHP has encountered an Access Violation at 77F6754B
> > sometimes it says "Unable to fork", or "unable to execute".
> > P.S. in the CGI mode PHP just silently does nothing.
> > --
> > Edit bug report at: http://bugs.php.net/?id=13192&edit=1
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]