TRY AGAIN mysql php4.04 and safe_mode
| From: | andreas \(@work\) | Date: | Sat, 13 Jan 2001 17:30:08 +0000 |
| Subject: | TRY AGAIN mysql php4.04 and safe_mode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34379@lists.php.net to get a copy of this message | ||
hi,
our problem that changing the upload_tmp_dir in php.ini has NO effect !!!
yes we restarted apache
greetings
andreas
> Your infile must be world readable, or at least MySQL must have read
> prviledges on it.
> Maybe it is a function of directory permissions.
>
> - Scott
>
>
> > -----Original Message-----
> > From: andreas (@work) [mailto:myviva@utanet.at]
> > Sent: January 13, 2001 9:14 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] TRY AGAIN mysql php4.04 and safe_mode
> >
> >
> > hi list,
> >
> > sorry, but we cant manage
> >
> > a Load Data Infile
> >
> >
> > cause we always get:
> > Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2)
> >
> > OUR Code is working fine in different project where safe_mode = OFF
> >
> >
> >
> > =============================
> >
> > heres the line where we try to move the file to a webfolder in our
> > directory
> >
> > move_uploaded_file ($textfile,
> > "/home/sites/site2/web/Tango/tmp/mySql.txt");
> > chmod("/home/sites/site2/web/Tango/tmp/mySql.txt", 0644);
> >
> > =============================
> >
> >
> >
> > any ideas for us ?
> >
> >
> >
> > is there a way that we can set the upload_tmp_dir path in a
> > .htaccess file
> > ?
> >
> >
> > its also not working if we edit php.ini
> >
> > upload_tmp_dir = .
> >
> >
> >
> >
> > thank you
> >
> >
> >
> > andreas
> >