Re: exec() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
To: <fabio.ottolini@xxxxxxxxx>; <php-windows@xxxxxxxxxxxxx>
Sent: Wednesday, December 21, 2005 1:30 PM
Subject: RE:  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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux