hi,
I am looking for a spec (or src.rpm) for PHP 5.1.x and CentOS 4.3.
I've noticed that there is a 5.0.4 in the centosplus directory but no 5.1.
Any ideas (besides generate my own)?
On Sun, 2006-04-30 at 21:27 -0400, mbneto wrote:
hi,
I am looking for a spec (or src.rpm) for PHP 5.1.x and CentOS 4.3.
I've noticed that there is a 5.0.4 in the centosplus directory but no 5.1.
Any ideas (besides generate my own)?
We might have some 5.1 RPMS in the future, but we don't have any for now.
The FC5 SRPMS might be a good starting point
On Sun, 30 Apr 2006, mbneto wrote:
hi,
I am looking for a spec (or src.rpm) for PHP 5.1.x and CentOS 4.3.
I've noticed that there is a 5.0.4 in the centosplus directory but no 5.1.
Any ideas (besides generate my own)?
The FC5 rpms almost build out of the box. Around line 311 in the spec file is this: CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" Changing it to read: CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" got it to build for me.
I stole this change from the Centos specfile for php-5.0. If someone would like to comment on exactly what this does I would be greatful.
I have been running it for a couple of days with no apparent problems.
Also the pear packages are broken out in FC5 so you will also need to build them. I did not change anything on the pear packages except for the version string and adding comments in the changelog.
Hope this helps,
Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com
--- Tom Diehl tdiehl@rogueind.com wrote:
I stole this change from the Centos specfile for php-5.0. If someone would like to comment on exactly
what this does I would be greatful.
That is also somewhere in bug.php.net about FC having a newer compiler.
I have been running it for a couple of days with no apparent problems.
I've been running it for longer than that (see http://lists.centos.org/pipermail/centos/2006-April/062966.html). Only prob some extensions like e-accelerator which work with php4/5.0.4 don't work with 5.1.x
I too would echo requests for CentOS to have stuff like php 5.1 perhaps in the contrib section to reduce duplication of efforts.
__________________________________________________ Improve the mailing list by performing a simple search before posting and reading the FAQ/etiquette. Protect the integrity of your installation with the yum plugins.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
I too would echo requests for CentOS to have stuff like php 5.1 perhaps in the contrib section to reduce duplication of efforts.
Short answer. No. php 5.x is in centosplus, and that's where it should stay. Placing various versions of php in multiple repositories will only cause confusion and potentially break updates. When the php5 maintainer considers 5.1.x stable enough to be put into centosplus it will happen. This has come up in discussion on irc before, and the results are always the same. I do not want to sacrifice stability for new software, and in my opinion, Ignacio is doing the right thing by waiting. php 5.1.2 is the first version of 5.1.x I'd consider remotely fit for production use, and it's only been out since mid-january. Patience......
-- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA
--- Jim Perrin jperrin@gmail.com wrote:
php 5.x is in centosplus, and that's where it should stay. Placing various versions of php in multiple repositories will only cause confusion and
potentially > break updates.
You can build a popular extension like eaccelerator for 5.0.4 (already in centosplus). I found 5.0.4 in the centosplus to be quite stable and even built my own eacclerator but I moved on to try out 5.1.x
__________________________________________________ Improve the mailing list by performing a simple search before posting and reading the FAQ/etiquette. Protect the integrity of your installation with the yum plugins.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com