Re: exec/system on FreeBSD help?
| From: | Jeff D. Hamann | Date: | Mon, 01 Apr 2002 19:54:07 +0000 |
| Subject: | Re: exec/system on FreeBSD help? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91007@lists.php.net to get a copy of this message | ||
so then I tried
system( "/usr/local/bin/pdflatex
/usr/local/www/html/project_x/temp/report_file" );
i think this is a write premission thing.
yes, it's where I think it is....
"Miguel Cruz" <mnc@stoic.net> wrote in message
news:Pine.LNX.4.44.0204011347050.30277-100000@stoic.net...
> 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
>