PHP 5.2.5 woes
Bout time they fixed it! The new CVS snapshot should have the bug fix
http://bugs.php.net/bug.php?id=43677
Looks like 5.2.6 is right around the corner too (RC2 is out)
http://bugs.php.net/bug.php?id=43677
Looks like 5.2.6 is right around the corner too (RC2 is out)
-
- Forum User
- Posts: 15
- Joined: Thu Dec 20, 2007 7:17 pm
-
- New Forum User
- Posts: 2
- Joined: Thu Apr 17, 2008 1:05 pm
We have a Plesk 8.3 server with ART PHP 5.2.5-4 . We are trialing a new e-commerce solution called Magento http://www.magentocommerce.com which will seemingly randomly "white screen". Once apache is restarted it will be fine for a short time and then the problem will occur again. Only this app is effected but all copies of the app have the problem at the same time. A wordpress install on the same server is fine when this happens. Is this issue likely due to the php bug reported in this thread?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Could very well be the case. You could try PHP 5.2.4 and see if that fixes the issue. It did for us.
Lemonbit Internet Dedicated Server Management
-
- New Forum User
- Posts: 2
- Joined: Thu Apr 17, 2008 1:05 pm
So my question here: http://atomicrocketturtle.com/forum/vie ... highlight= might be the bug in PHP 5.2.5-4 any idee when this wil be updated?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
When PHP 5.2.6 is released hopefully. We reverted a couple of servers to PHP 5.2.4 because of that bug in PHP 5.2.5.
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
You can get the 5.2.4 SRPM from here, rebuild it for your server and install the resulting packages using rpm -U --oldpackage.
Lemonbit Internet Dedicated Server Management
Hi,
Thanks a ton for this thread, just ran into this problem and would like to revert php to 5.2.4.
Is this right? One package listed as needing to be installed that seemed wrong to me was exim. I can post all the packages listed if it helps, but figure I just need re-(assuring|pointing); or I forgot how to read.
Also, could someone please verify the steps here...
# yum-builddep php-5.2.4-1.art.src.rpm
then
# rpm -Uvh --oldpackage php-5.2.4-1
Should that handle all the dependencies yum-builddep shows as needing installed?
Or do I need to run rpm -Uvh foreach package yum-builddep lists as needing to be installed?
Thanks for any help.[/quote]
Thanks a ton for this thread, just ran into this problem and would like to revert php to 5.2.4.
I downloaded the spec and src.rpm for php-5.2.4 and then tried yum-builddep php-5.2.4-1.art.src.rpm and was surprised to see that this requires 78 packages to be installed (including some deps).heres another shortcut, use yum-builddep to automatically install all the dependencies you need to build it.
Is this right? One package listed as needing to be installed that seemed wrong to me was exim. I can post all the packages listed if it helps, but figure I just need re-(assuring|pointing); or I forgot how to read.
Also, could someone please verify the steps here...
# yum-builddep php-5.2.4-1.art.src.rpm
then
# rpm -Uvh --oldpackage php-5.2.4-1
Should that handle all the dependencies yum-builddep shows as needing installed?
Or do I need to run rpm -Uvh foreach package yum-builddep lists as needing to be installed?
Thanks for any help.[/quote]
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
You only need the source rpm. The spec file is included in the source rpm.jeremiah wrote:I downloaded the spec and src.rpm for php-5.2.4
It could (should) be right. You probably need a lot of *-devel packages.and then tried yum-builddep php-5.2.4-1.art.src.rpm and was surprised to see that this requires 78 packages to be installed (including some deps).
Is this right? One package listed as needing to be installed that seemed wrong to me was exim. I can post all the packages listed if it helps, but figure I just need re-(assuring|pointing); or I forgot how to read.
You get the source rpm, you run yum-builddep on it so you have all the dependencies needed to rebuild the source rpm and then you rebuild it (you may need to install the rpm-build package if you don't have that):Also, could someone please verify the steps here...
# yum-builddep php-5.2.4-1.art.src.rpm
then
# rpm -Uvh --oldpackage php-5.2.4-1
Code: Select all
# rpmbuild -ba php-5.2.4-1.art.src.rpm
yum-builddep installs the dependencies. No need to go and install them yourself (that's sort of the point of yum-builddep).Should that handle all the dependencies yum-builddep shows as needing installed?
Or do I need to run rpm -Uvh foreach package yum-builddep lists as needing to be installed?
Lemonbit Internet Dedicated Server Management
Thanks for the repl(a)?y.
You are right, there are a lot of *devel packages - which I can understand. But exim? postgresql?
Don't know the rest well enough to question their requiredness, but those two seem like they'd just pollute the system - I mean I left them out for a reason, they won't get used.
Do you know why an older version of php would require those? Just curious really as I suppose I'm stuck with them in order to continue and can just run rpm -e afterwards.
Or perhaps I'm mis-understanding and these will just be built but not installed? Although yum-rpmbuild does say it'll install all of them...
Thanks again for walking me this far, breun.
of course :oops:You only need the source rpm. The spec file is included in the source rpm.
ha ha, fancy that.yum-builddep installs the dependencies. No need to go and install them yourself (that's sort of the point of yum-builddep).
You are right, there are a lot of *devel packages - which I can understand. But exim? postgresql?
Don't know the rest well enough to question their requiredness, but those two seem like they'd just pollute the system - I mean I left them out for a reason, they won't get used.
Do you know why an older version of php would require those? Just curious really as I suppose I'm stuck with them in order to continue and can just run rpm -e afterwards.
Or perhaps I'm mis-understanding and these will just be built but not installed? Although yum-rpmbuild does say it'll install all of them...
Thanks again for walking me this far, breun.