WL: PHP 5.4 for EL5
Bug #968561 reported by
Eduardo Bragatto
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IUS Community Project |
Fix Released
|
Undecided
|
Jeffrey Ness |
Bug Description
DESCRIPTION: PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
REASON: Some of the key new features include: traits, a shortened array syntax, a built-in webserver for testing purposes and more. PHP 5.4.0 significantly improves performance, memory footprint and fixes over 100 bugs. It also removes the "EXPERIMENTAL" flag from PHP-FPM, making it "STABLE" now.
CAVEAT: Currently it's not possible to compile PHP 5.4 on EL5 due to sqlite3 dependency. PHP 5.4 requires 3.3.9 and EL5 uses 3.3.6. It requires creating a new sqlite3 package to satisfy this dependency.
tags: | added: whislist |
To post a comment you must log in.
Thank you very much for creating this report Eduardo.
As you mentioned my findings while trying to build php54 under EL5 where that of EL5 lacks the needed SQLite version:
1. The SPEC which was taken from Fedora Rawhide has a BuildRequires of sqlite-devel >= 3.6.0
http:// bazaar. launchpad. net/~ius- coredev/ ius/php54/ view/head: /SPECS/ php54.spec# L84
2. EL5 base only provides sqlite-devel-3.3.6:
http:// mirror. centos. org/centos/ 5/os/x86_ 64/CentOS/
3. When trying to lower this requirement to >= 3.3.0 I receive a SQLite version error in the configure:
checking for OpenSSL support... yes bin/krb5- config default_ method in -lssl... yes rpm-tmp. 49258 (%build) rpm-tmp. 49258 (%build)
checking for Kerberos support... yes
checking for krb5-config... /usr/kerberos/
checking for DSA_get_
checking for X509_free in -lcrypto... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE headers location... /usr/include
checking for PCRE library location... /usr/lib64
checking whether to enable the SQLite3 extension... yes, shared
checking for sqlite3 files in default path... found in /usr
checking for SQLite 3.3.9+... checking for sqlite3_prepare_v2 in -lsqlite3... no
not found
configure: error: Please install SQLite 3.3.9 first or check libsqlite3 is present
error: Bad exit status from /var/tmp/
Bad exit status from /var/tmp/
We will need to look in to these dependancies and see if we can possibly build an updated sqlite3 package for EL5