Thanks Gordon for letting me know that wikimedia servers currently run PHP 4.3.11.
Are there any plans to be running PHP 5.x?
I am considering writing the next version of blahtex (LaTeX => MathML converter) in PHP instead of C++, and there are certain language features (in particular try/catch/throw) only present in PHP 5.x of which I would like to take advantage.
David Harvey
David Harvey wrote:
Thanks Gordon for letting me know that wikimedia servers currently run PHP 4.3.11.
Are there any plans to be running PHP 5.x?
At this time we have no particular plans to upgrade to PHP 5.
To consider it we would need to have a reliable opcode cache extension to achieve equivalent performance to PHP 4.3+Turck MMCache. (Turck MMCache is no longer maintained and is unreliable on PHP 5.)
If eAccelerator (based on Turck) is reliable and safe, we might use that.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
If eAccelerator (based on Turck) is reliable and safe, we might use that.
It works reliably for me on 32-bit machines in a larger-than-Wikipedia deployment. On 64-bit machines, however, it has given me no end of grief, so I was eventually forced to turn it off.
-IK
Brion Vibber wrote:
David Harvey wrote:
Thanks Gordon for letting me know that wikimedia servers currently run PHP 4.3.11.
Are there any plans to be running PHP 5.x?
At this time we have no particular plans to upgrade to PHP 5.
To consider it we would need to have a reliable opcode cache extension to achieve equivalent performance to PHP 4.3+Turck MMCache. (Turck MMCache is no longer maintained and is unreliable on PHP 5.)
If eAccelerator (based on Turck) is reliable and safe, we might use that.
I'd like to upgrade to PHP 4.4.0 compiled with gcc 4.0.1. We tried compiling PHP with the Intel C compiler a while ago, and although it was faster, the compilation procedure was complex, and it lacked that free software purity, so we didn't stick with it. But now that gcc has many of the same optimisations (loop unrolling, autovectorization, etc.), the speed improvement over gcc 3.x might be comparable. It would be interesting to do some benchmarks.
-- Tim Starling
Tim Starling wrote:
I'd like to upgrade to PHP 4.4.0 compiled with gcc 4.0.1. We tried compiling PHP with the Intel C compiler a while ago, and although it was faster, the compilation procedure was complex, and it lacked that free software purity, so we didn't stick with it. But now that gcc has many of the same optimisations (loop unrolling, autovectorization, etc.), the speed improvement over gcc 3.x might be comparable. It would be interesting to do some benchmarks.
I _think_ we've got all the 4.4.0 reference-handling kinks worked out in 1.5/HEAD now, so I would not object to that. Might be worth a quick home benchmark first though.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
I _think_ we've got all the 4.4.0 reference-handling kinks worked out in 1.5/HEAD now, so I would not object to that. Might be worth a quick home benchmark first though.
If I understand the release notes correctly, PHP 4.4.0 gives notices whereas PHP 4.3.11 just silently corrupted the heap. So it's not necessary to fix all the new notices before we upgrade. Rather, we should upgrade PHP ASAP and encourage MediaWiki users (especially users of old MW versions) to do the same.
-- Tim Starling
wikitech-l@lists.wikimedia.org