[opensuse] php upload procduces garbage on opensuse 13.1
Hello List! I've a strange problem on my opensuse 13.1 Box i cant figure out: php uploads are no longer working. This includes all php apps with upload-capability. My configuration: apache2 2.4.6-6.50.1, php5-5.4.20-67.1 For the simple test script ----------------------------- <?php echo 'file count=', count($_FILES),"\n"; var_dump($_FILES); echo "\n"; ?> --------------------------- (of course fed by a corresponding html-form with type multipart/form-data, UTF-8) i get the follwoing output in the browser: file count=0 array(0) { } £[V»„2ùNQ=iÅB2•Og(ÓŒä¹Oólÿˆt?à (..garbage continues) while i would expect something like this: file count=1 array(1) { ["uploadedfile"]=> array(5) { ["name"]=> string(12) "DSC_0008.JPG" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(14) "/tmp/php69GIlo" ["error"]=> int(0) ["size"]=> int(2574982) } } (this output comes from a similar box already updated to OS 13.2) The php.ini upload section is the same on both machines. enable_post_data_reading is on always_populate_raw_post_data is off Please tell if you need more information. Am i overlooking something obvious? Thanks for helping. --Tom -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello List!
I've a strange problem on my opensuse 13.1 Box i cant figure out:
php uploads are no longer working.
This includes all php apps with upload-capability.
My configuration: apache2 2.4.6-6.50.1, php5-5.4.20-67.1
For the simple test script
----------------------------- <?php
echo 'file count=', count($_FILES),"\n";
var_dump($_FILES);
echo "\n";
?> ---------------------------
(of course fed by a corresponding html-form with type multipart/form-data, UTF-8)
i get the follwoing output in the browser:
file count=0 array(0) { } £[V»„2ùNQ=iÅB2•Og(ÓŒä¹Oólÿˆt?à (..garbage continues)
while i would expect something like this:
file count=1 array(1) { ["uploadedfile"]=> array(5) { ["name"]=> string(12) "DSC_0008.JPG" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(14) "/tmp/php69GIlo" ["error"]=> int(0) ["size"]=> int(2574982) } } Digging a bit deeper into this and replacing latest apache2-prefork and apache-utils with its preceding package and everything is back to normal. i now run apache2-prefork 2.4.6-6.47.1 and apache2-utils 2.4.6-6.47.1
May there be a bug lurking somewhere, or has something essential changed without me noticing?
(this output comes from a similar box already updated to OS 13.2)
The php.ini upload section is the same on both machines.
enable_post_data_reading is on
always_populate_raw_post_data is off
Please tell if you need more information.
Am i overlooking something obvious?
Thanks for helping.
--Tom
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, This is bug 949218. Ciao, Marcus On Fri, Oct 09, 2015 at 01:23:28PM +0200, Thomas Bühlmann wrote:
Hello List!
I've a strange problem on my opensuse 13.1 Box i cant figure out:
php uploads are no longer working.
This includes all php apps with upload-capability.
My configuration: apache2 2.4.6-6.50.1, php5-5.4.20-67.1
For the simple test script
----------------------------- <?php
echo 'file count=', count($_FILES),"\n";
var_dump($_FILES);
echo "\n";
?> ---------------------------
(of course fed by a corresponding html-form with type multipart/form-data, UTF-8)
i get the follwoing output in the browser:
file count=0 array(0) { } £[V»„2ùNQ=iÅB2•Og(ÓŒä¹Oólÿˆt?à (..garbage continues)
while i would expect something like this:
file count=1 array(1) { ["uploadedfile"]=> array(5) { ["name"]=> string(12) "DSC_0008.JPG" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(14) "/tmp/php69GIlo" ["error"]=> int(0) ["size"]=> int(2574982) } } Digging a bit deeper into this and replacing latest apache2-prefork and apache-utils with its preceding package and everything is back to normal. i now run apache2-prefork 2.4.6-6.47.1 and apache2-utils 2.4.6-6.47.1
May there be a bug lurking somewhere, or has something essential changed without me noticing?
(this output comes from a similar box already updated to OS 13.2)
The php.ini upload section is the same on both machines.
enable_post_data_reading is on
always_populate_raw_post_data is off
Please tell if you need more information.
Am i overlooking something obvious?
Thanks for helping.
--Tom
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <meissner@suse.de> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 09.10.2015 um 13:28 schrieb Marcus Meissner:
Hi,
This is bug 949218.
Ciao, Marcus Thanks Marcus. --Tom On Fri, Oct 09, 2015 at 01:23:28PM +0200, Thomas Bühlmann wrote:
Hello List!
I've a strange problem on my opensuse 13.1 Box i cant figure out:
php uploads are no longer working.
This includes all php apps with upload-capability.
My configuration: apache2 2.4.6-6.50.1, php5-5.4.20-67.1
For the simple test script
----------------------------- <?php
echo 'file count=', count($_FILES),"\n";
var_dump($_FILES);
echo "\n";
?> ---------------------------
(of course fed by a corresponding html-form with type multipart/form-data, UTF-8)
i get the follwoing output in the browser:
file count=0 array(0) { } £[V»„2ùNQ=iÅB2•Og(ÓŒä¹Oólÿˆt?à (..garbage continues)
while i would expect something like this:
file count=1 array(1) { ["uploadedfile"]=> array(5) { ["name"]=> string(12) "DSC_0008.JPG" ["type"]=> string(10) "image/jpeg" ["tmp_name"]=> string(14) "/tmp/php69GIlo" ["error"]=> int(0) ["size"]=> int(2574982) } } Digging a bit deeper into this and replacing latest apache2-prefork and apache-utils with its preceding package and everything is back to normal. i now run apache2-prefork 2.4.6-6.47.1 and apache2-utils 2.4.6-6.47.1
May there be a bug lurking somewhere, or has something essential changed without me noticing?
(this output comes from a similar box already updated to OS 13.2)
The php.ini upload section is the same on both machines.
enable_post_data_reading is on
always_populate_raw_post_data is off
Please tell if you need more information.
Am i overlooking something obvious?
Thanks for helping.
--Tom
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Marcus Meissner
-
Thomas Bühlmann