Executing Shell Scripts
Posted: Wed Dec 08, 2004 7:10 am
I'm new to PHP and have just setup a server for the first time. Because of issues with how the server was setup before adding PHP, it had to be setup using IIS. Now, there's an open source tool that I'm using and it needs to run a command. I'm not sure why, but it's not working. I've done some searching and have found that safe_mode must be turned off. I checked this 3 ways: php.ini, [php_man]php_info[/php_man](), and [php_man]var_dump[/php_man]([php_man]ini_get[/php_man]('safe_mode')). The results I get are Off, Off, and string(0) "". I changed the php.ini file to 0 and received string(1) "0" for the [php_man]var_dump[/php_man](), but I'm not sure if any of that matters. Either way, my [php_man]popen[/php_man]() call is not working.
If anyone could help me figure out what's going on here, I'd appreciate it. Thanks.
If anyone could help me figure out what's going on here, I'd appreciate it. Thanks.