Re: exec/system on FreeBSD help?
| From: | Miguel Cruz | Date: | Mon, 01 Apr 2002 19:47:39 +0000 |
| Subject: | Re: exec/system on FreeBSD help? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91006@lists.php.net to get a copy of this message | ||
On Mon, 1 Apr 2002, Jeff D. Hamann wrote:
> I tried some small script like exec("ls -la") and that worked. I then
> tried system( "/usr/local/bin/pdflatex temp/report_file" ); to try and
> diagnose the problem, and got "Fatal Error occured, I can't write on
> file 'report_file.log', suggesting that there might still be some
> permissions problems.
Are you sure temp/report_file is where you think it is? May be safer to
use an absolute path.
miguel