1 (edited by dmourati 2009-10-19 20:00:04)

Topic: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

Hi,

I'm maintaining my own repo with copies of remi RPMS as needed.  My users now want:

php-pecl-memcached-1.0.0-1.el5.remi.x86_64

I'm running php-5.2.10-1:

[root@localhost ~]# rpm -qiv php php-zts
Name        : php                          Relocations: (not relocatable)
Version     : 5.2.10                            Vendor: Remi Collet
Release     : 1.el5.remi                    Build Date: Sun 21 Jun 2009 01:51:48 AM PDT
Install Date: Thu 08 Oct 2009 10:01:38 AM PDT      Build Host: leonidas
Group       : Development/Languages         Source RPM: php-5.2.10-1.el5.remi.src.rpm
Size        : 3552181                          License: PHP
Signature   : DSA/SHA1, Sun 21 Jun 2009 02:46:53 AM PDT, Key ID 004e6f4700f97f56
Packager    : [url]http://blog.famillecollet.com/[/url]
URL         : [url]http://www.php.net/[/url]
Summary     : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Description :
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.

The php package contains the module which adds support for the PHP
language to Apache HTTP Server.
Name        : php-zts                      Relocations: (not relocatable)
Version     : 5.2.10                            Vendor: Remi Collet
Release     : 1.el5.remi                    Build Date: Sun 21 Jun 2009 01:51:48 AM PDT
Install Date: Thu 08 Oct 2009 10:01:38 AM PDT      Build Host: leonidas
Group       : Development/Languages         Source RPM: php-5.2.10-1.el5.remi.src.rpm
Size        : 3699648                          License: PHP
Signature   : DSA/SHA1, Sun 21 Jun 2009 02:46:51 AM PDT, Key ID 004e6f4700f97f56
Packager    : [url]http://blog.famillecollet.com/[/url]
URL         : [url]http://www.php.net/[/url]
Summary     : Thread-safe PHP interpreter for use with the Apache HTTP Server
Description :
The php-zts package contains a module for use with the Apache HTTP
Server which can operate under a threaded server processing model.

When I add the php-pecl-memcached-1.0.0-1.el5.remi.x86_64 to my repo, I get:

[root@localhost ~]# yum -y update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.kernel.org
 * base: centos.promopeddler.com
 * updates: mirrors.cat.pdx.edu
 * addons: mirror.facebook.net
 * extras: mirror.hmc.edu
Excluding Packages from Extra Packages for Enterprise Linux 5 - x86_64
Finished
Excluding Packages from eye-fi-api-5
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-memcached.x86_64 0:1.0.0-1.el5.remi set to be updated
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcached
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcached
---> Package perl-HTML-Tree.noarch 1:3.23-9.el5 set to be updated
--> Finished Dependency Resolution
php-pecl-memcached-1.0.0-1.el5.remi.x86_64 from eye-fi-api has depsolving problems
  --> Missing Dependency: php(zend-abi) = 20090626 is needed by package php-pecl-memcached-1.0.0-1.el5.remi.x86_64 (eye-fi-api)
php-pecl-memcached-1.0.0-1.el5.remi.x86_64 from eye-fi-api has depsolving problems
  --> Missing Dependency: php(api) = 20090626 is needed by package php-pecl-memcached-1.0.0-1.el5.remi.x86_64 (eye-fi-api)
Error: Missing Dependency: php(zend-abi) = 20090626 is needed by package php-pecl-memcached-1.0.0-1.el5.remi.x86_64 (eye-fi-api)
Error: Missing Dependency: php(api) = 20090626 is needed by package php-pecl-memcached-1.0.0-1.el5.remi.x86_64 (eye-fi-api)

What provides php(api) = 20090626?

Thanks.

-D

Re: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

php(api) and php(zend-abi) are provided by php-common

PHP 5.1.x => php(zend-abi) = 20050922
PHP 5.2.x => php(zend-abi) = 20060613
PHP 5.3.x => php(zend-abi) = 20090626

So php-pecl-memcached-1.0.0 is only for PHP 5.3 or must be rebuild.

+

P.S. this versions are result of "phpize --version"

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

Merci Remi.

Re: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

Hi Remi,

I just discovered this thread and was wondering if you could possibly help.

I try to use php-pecl-memcached on php 5.2.10 with CentOS release 5.6 (Final)

when I try to install it with yum I get the following errors:

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-memcached.x86_64 0:1.0.0-1.el5 set to be updated
--> Processing Dependency: php-zend-abi = 20050922 for package: php-pecl-memcached
--> Finished Dependency Resolution
php-pecl-memcached-1.0.0-1.el5.x86_64 from epel has depsolving problems
  --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcached-1.0.0-1.el5.x86_64 (epel)
Error: Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcached-1.0.0-1.el5.x86_64 (epel)

My Question:
Is there any php-pecl-memcached version in your repo which I could use (or any other component eg. php-common) which would help me to get php-pecl-memcached working on php 5.2 ?


Many thanks.

Mike!

Re: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

As I don't maintain anymore php 5.2, I don't provides any build of pecl extensions for this version.
All the LAMP stack available in my repository is designed for the latest php 5.3

You could find, in the archive a very old version 0.2.0 which could works.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-pecl-memcached-1.0.0-1.el5.remi.x86_64

thank you Remi, your old version works like a charm!!