1

nsupdate using proc_open in PHP not working

view story
linux-howto

http://serverfault.com – I'm trying to create a PHP script that updates records using nsupdate. I've done it normally through the terminal and works there. But it doesn't seem to want to work in my php file. I can't get it to print errors or output either like it does with /bin/sh. Like for example if i change nsupdate to /bin/sh and the $commands to "ls" then i get output. Can anyone figure out why it doesnt work, it's the exact commands I use when going throug the terminal. Here's my php file: <?php $pipes = array(); $descriptorspec = array(0 => array('pipe' (HowTos)