[Bug 564920] [NEW] PHP5 under Apache2 on 64 bit system is not completely 64 bit
R. Jones
robejo05 at noa.nintendo.com
Fri Apr 16 19:50:42 BST 2010
Public bug reported:
Binary package hint: php5
Something in php5 running under apache2 under Ubuntu 10.04 beta 2 (with
updates) is not fully 64 bit aware on a 64 bit system. PHP scripts run
under Apache correctly under Ubuntu 8.04 LTS (with latest updates).
Under Ubuntu 10.04 beta 2, some place a value is being treated as 32
bits on a 64 bit system and is wrapping instead of using full 64 bits.
Related to sending large data (> 4G) in response to an HTTP post
request.
What is expected: Full data (>4G) downloaded via dynamic PHP based URL.
What happens: Data aborts based on wrap. Calculated number of bytes to
be served are correct (>4G) as listed in the HTTP length header. Actual
bytes served are (size) && 0xFFFFFFFF instead of (size) &&
0xFFFFFFFFFFFFFFFF on 64 bit system.
Most of data is being transfered via fpassthru($openFileHandle) call,
providing >4G bytes of data.
This works under Ubuntu 8.04 LTS on 64 bit system.
root at opusdev2:~# lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
root at opusdev2:~# apt-cache policy php5
php5:
Installed: 5.3.2-1ubuntu4
Candidate: 5.3.2-1ubuntu4
Version table:
*** 5.3.2-1ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
root at opusdev2:~# apt-cache policy php5
php5:
Installed: 5.3.2-1ubuntu4
Candidate: 5.3.2-1ubuntu4
Version table:
*** 5.3.2-1ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
PHP5 under Apache2 on 64 bit system is not completely 64 bit
https://bugs.launchpad.net/bugs/564920
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list