ID: 28865
Comment by: flagman_ at rambler dot ru
Reported By: 336764 at 163 dot com
Status: No Feedback
Bug Type: FTP related
Operating System: MandRake 10
PHP Version: 5.0.0RC3
Assigned To: pollita
New Comment:
In php ver. 4.3.8 the temporary file have creates with chmod 600 and
belongs to root, in that case apache can`t operate on that file and
reports:
Warning: ftp_rawlist(): Unable to create temporary file. Check
permissions in temporary files directory
Previous Comments:
------------------------------------------------------------------------
[2004-07-02 01:00:03] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2004-06-24 02:15:45] [EMAIL PROTECTED]
Now that you've changed your environment variable settings, and gotten
tmpfile() to work, do ftp_nlist() and/or ftp_rawlist() work as
expected?
------------------------------------------------------------------------
[2004-06-23 12:04:12] 336764 at 163 dot com
vi /root/.bashrc
Add "TMPDIR=/tmp"
save & exit;
Restart httpd
run php:
var_dump(tmpfile());
get:
resource(2) of type (stream)
------------------------------------------------------------------------
[2004-06-23 03:37:39] 336764 at 163 dot com
PHP5 Environment variable:
TMPDIR is /root/tmp
How to change it ?
------------------------------------------------------------------------
[2004-06-23 03:21:59] 336764 at 163 dot com
bool(false)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28865
--
Edit this bug report at http://bugs.php.net/?id=28865&edit=1