php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59611 Specify the tmp folder ini settings
Submitted: 2011-02-07 17:58 UTC Modified: 2020-01-27 16:50 UTC
From: david_steinsland at hotmail dot com Assigned: ramsey (profile)
Status: Closed Package: uploadprogress (PECL)
PHP Version: Irrelevant OS: Windows 7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david_steinsland at hotmail dot com
New email:
PHP Version: OS:

 

 [2011-02-07 17:58 UTC] david_steinsland at hotmail dot com
Description:
------------
Although this isn't a bug per se, it took me a while to work it out.

I compiled the extension against PHP 5.3.5 and successfully loaded it into my PHP installation.

Everything was working but the progress meter (I was not updated). I had set the temporary folders to "tmp\" which the different scripts said was OK. 

This was because I created a tmp folder within the same working directory as the scripts, but I found out that it wasn't this the extension referenced.

When I changed the ini settings to a absolute path: \www\tmp\, the extension worked perfectly.

My suggestion is to make it more clear what folder/path we should write in the INI. I also guess many other people have the same problem, without knowing it.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-07 18:00 UTC] david_steinsland at hotmail dot com
Default config:
uploadprogress.file.contents_template="tmp\upload_contents_%s"
uploadprogress.file.filename_template="tmp\upt_%s.txt"

(notice no backward slash in front of "tmp", which yields relative path)

Working config:
uploadprogress.file.contents_template="\www\tmp\upload_contents_%s"
uploadprogress.file.filename_template="\www\tmp\upt_%s.txt"
 [2011-08-29 20:44 UTC] shima at oonatk dot com
http://www.onlinemedico.net/ order prednisone online 48106 http://www.shoppills.net/ topamax 581797
 [2011-09-14 20:36 UTC] graessle at caritas-dicv-fr dot de
http://www.yourpillshouse.com/ colchicine =-[[[ http://www.equiprix.net/ dreampharmaceuticalscom online order propecia uyg
 [2011-09-15 21:07 UTC] ryakata at himeyuri dot co dot jp
http://www.qualitytablets.net/ lexapro phentermine 7856 http://www.topratedpills.net/ wellbutrin, topamax appetite 964657
 [2017-10-24 09:01 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:01 UTC] kalle@php.net
This package has not had any releases for 6 years, so I'm gonna suspend it, any new maintainer that decides to pick this up can re-open this ticket.
 [2020-01-26 01:05 UTC] ramsey@php.net
-Status: Suspended +Status: Open -Assigned To: +Assigned To: ramsey
 [2020-01-27 16:50 UTC] ramsey@php.net
-Status: Assigned +Status: Closed
 [2020-01-27 16:50 UTC] ramsey@php.net
I have improved the documentation for INI settings, and this is now available in the README.md file.

https://github.com/php/pecl-php-uploadprogress#phpini-settings
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC