Re: php & xvfb gives xauth command not found

From: Date: Mon, 29 Sep 2003 14:19:34 +0000
Subject: Re: php & xvfb gives xauth command not found
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164247@lists.php.net to get a copy of this message
> $test=exec("/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile" ); Actually, I think that you can just run the command without the xvfb-run command... $test = exec("/usr/bin/njplot -psonly testfile" ); that should just create the testfile.ps file and not fire up a x-window. The error with the xvfb-run is that the command cannot find the xauth command that it needs to set up the x server environment. Try the above one and see if that works for you...if not then install xauth and revert to running it in xvfb-run. -- BigDog

« previous php.general (#164247) next »