Re: exec() problem

From: Date: Fri, 23 Dec 2005 01:39:49 +0000
Subject: Re: exec() problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26589@lists.php.net to get a copy of this message
Thank you all for your answers! What was causing my problem? IIS Lockdown Tool. Locks things so much that executing system functions even with administrator rights is impossible. Solution? Remove the tool and make the suggested changes manually, leaving some changes behind. Kind Regards, Fábio Ottolini ----- Original Message ----- From: "Jay Blanchard" <jay.blanchard@THERMON.com> To: <fabio.ottolini@globo.com>; <php-windows@lists.php.net> Sent: Wednesday, December 21, 2005 1:30 PM Subject: RE: [PHP-WIN] exec() problem
[snip] The same script works fine in another win2k box running PHP version 5. Strange is that if I add print $result; right after exec ( $command, $result ); nothing is printed. When the script runs on the machine that works it prints Array obviously. So, my guess is that $command is never being executed. BTW, PHP is not running on safe_mode and the nslookup command works fine on both machines. [/snip] Make sure that PHP is running with safe_mode 'off' in the ini -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#26589) next »