how ADD old SW (EOL) to yum repository ? (No matches found)

Issues related to applications and software problems
Post Reply
Windows
Posts: 59
Joined: 2021/06/16 13:20:01

how ADD old SW (EOL) to yum repository ? (No matches found)

Post by Windows » 2021/12/26 23:12:33

hello,

I am in CentOs 7

I need add the version EOL PHP 5.3 but:

Code: Select all

[root@cia ~]# yum search php53
Loaded plugins: universal-hooks
No matches found
[root@cia ~]#
however yum search php56:

Code: Select all

[root@cia ~]# yum search php56
Loaded plugins: universal-hooks
============================================================================ N/S matched: php56 =============================================================================
ea-php56-libc-client-debuginfo.x86_64 : Debug information for package ea-php56-libc-client
ea-php56-php-debuginfo.x86_64 : Debug information for package ea-php56-php
ea-php56-php-ioncube-debuginfo.x86_64 : Debug information for package ea-php56-php-ioncube
ea-php56-php-ioncube5-debuginfo.x86_64 : Debug information for package ea-php56-php-ioncube5
ea-php56-php-ioncube6-debuginfo.x86_64 : Debug information for package ea-php56-php-ioncube6
ea-php56-php-memcache.x86_64 : memcache extension for ea-php56
ea-php56-php-memcache-debuginfo.x86_64 : Debug information for package ea-php56-php-memcache
ea-php56-php-memcached.x86_64 : php-memcached extension for ea-php56
ea-php56-php-memcached-debuginfo.x86_64 : Debug information for package ea-php56-php-memcached
ea-php56-php-sourceguardian-debuginfo.x86_64 : Debug information for package ea-php56-php-sourceguardian
ea-php56-php-zendguard-debuginfo.x86_64 : Debug information for package ea-php56-php-zendguard
ea-php56-runtime.x86_64 : Package that handles ea-php56 Software Collection.
ea-php56-scldevel.x86_64 : Package shipping development files for ea-php56
ea-php56.x86_64 : Package that installs PHP 5.6
ea-php56-build.x86_64 : Package shipping basic build configuration
ea-php56-libc-client.x86_64 : UW C-client mail library
ea-php56-libc-client-devel.x86_64 : Development tools for programs which will use the UW IMAP library
ea-php56-libc-client-static.x86_64 : UW IMAP static library
ea-php56-pear.noarch : PHP Extension and Application Repository framework
ea-php56-php.x86_64 : PHP DSO
ea-php56-php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
ea-php56-php-bz2.x86_64 : A module for PHP applications that interface with .bz2 files
ea-php56-php-calendar.x86_64 : A module for PHP applications that need date/time calculations
ea-php56-php-cli.x86_64 : Command-line interface for PHP
ea-php56-php-common.x86_64 : Common files for PHP
ea-php56-php-curl.x86_64 : A module for PHP applications that need to interface with curl
ea-php56-php-dba.x86_64 : A database abstraction layer module for PHP applications
ea-php56-php-devel.x86_64 : Files needed for building PHP extensions
ea-php56-php-enchant.x86_64 : Enchant spelling extension for PHP applications
ea-php56-php-exif.x86_64 : A module for PHP applications that need to work with image metadata
ea-php56-php-fileinfo.x86_64 : A module for PHP applications that need to detect file types
ea-php56-php-fpm.x86_64 : PHP FastCGI Process Manager
ea-php56-php-ftp.x86_64 : A module for PHP applications that need full FTP protocol support
ea-php56-php-gd.x86_64 : A module for PHP applications for using the gd graphics library
ea-php56-php-gettext.x86_64 : A module for PHP applications that need native language support
ea-php56-php-gmp.x86_64 : A module for PHP applications for using the GNU MP library
ea-php56-php-iconv.x86_64 : A module for PHP applications that need to convert character sets
ea-php56-php-imap.x86_64 : A module for PHP applications that use IMAP
ea-php56-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php56-php-ioncube.x86_64 : Loader for ionCube-encoded PHP files
ea-php56-php-ioncube10.x86_64 : v10 Loader for ionCube-encoded PHP files
ea-php56-php-ioncube5.x86_64 : v5 Loader for ionCube-encoded PHP files
ea-php56-php-ioncube6.x86_64 : v6 Loader for ionCube-encoded PHP files
ea-php56-php-ldap.x86_64 : A module for PHP applications that use LDAP
ea-php56-php-litespeed.x86_64 : LiteSpeed Web Server PHP support
ea-php56-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
ea-php56-php-mcrypt.x86_64 : Standard PHP module provides mcrypt library support
ea-php56-php-mssql.x86_64 : MSSQL database module for PHP
ea-php56-php-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
ea-php56-php-odbc.x86_64 : A module for PHP applications that use ODBC databases
ea-php56-php-opcache.x86_64 : The Zend OPcache
ea-php56-php-pdo.x86_64 : A database access abstraction module for PHP applications
ea-php56-php-pgsql.x86_64 : A PostgreSQL database module for PHP
ea-php56-php-phalcon.x86_64 : A full-stack PHP framework delivered as a C-extension
ea-php56-php-posix.x86_64 : Modules for PHP scripts that need access to POSIX functions
ea-php56-php-process.x86_64 : Modules for PHP script using system process interfaces
ea-php56-php-pspell.x86_64 : A module for PHP applications for using pspell interfaces
ea-php56-php-recode.x86_64 : A module for PHP applications for using the recode library
ea-php56-php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices
ea-php56-php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
ea-php56-php-sockets.x86_64 : A module for PHP applications that need low-level access to sockets
ea-php56-php-sourceguardian.x86_64 : Loader for SourceGuardian-encoded PHP files
ea-php56-php-suhosin.x86_64 : Protective PHP Hardening Extension
ea-php56-php-tidy.x86_64 : Standard PHP module provides tidy library support
ea-php56-php-xml.x86_64 : A module for PHP applications which use XML
ea-php56-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
ea-php56-php-zendguard.x86_64 : Loader for Zend Guard-encoded PHP files
ea-php56-php-zip.x86_64 : A module for PHP applications that need to handle .zip files

  Name and summary matches only, use "search all" for everything.
[root@cia ~]#

what file/s I need edit/touch for obtain the same result as php56 when I run the command:

Code: Select all

yum search php53
?

thanks

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: how ADD old SW (EOL) to yum repository ? (No matches found)

Post by jlehtone » 2021/12/27 10:54:31

The PHP provided by RHEL 7 (and hence CentOS Linux 7) and supported by Red Hat until June 2024 was initially forked from 7.4.16.
Red Hat does provide (and support) PHP 7.0, 7.1, 7.2, and 7.3 via Software Collections. (SCL repos you can define with package 'centos-release-scl-rh'.)

Upstream PHP has only three supported versions: 7.4, 8.0, and 8.1: https://www.php.net/supported-versions.php

Remi has reliable PHP repositories: https://rpms.remirepo.net/enterprise/7/
Even there is no 5.3.

Note: The "yum search" has always been so and so. Practically all PHP packages have "php" in their name.
Therefore, yum list \*php\* should find as much as the search.

You find some "ea-*" packages. I have no idea what repository has those.


You should really consider whether hunting ancient, unsupported, and probably insecure PHP is really a better option than porting your application to use a supported PHP.

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: how ADD old SW (EOL) to yum repository ? (No matches found)

Post by Windows » 2021/12/27 13:09:27

jlehtone wrote:
2021/12/27 10:54:31
You should really consider whether hunting ancient, unsupported, and probably insecure PHP is really a better option than porting your application to use a supported PHP.
thanks master,
we know PHP 5.3 some YEARS arrive to EOL, however we need PHP 5.3 on a domain.

Some idea about how we can install?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how ADD old SW (EOL) to yum repository ? (No matches found)

Post by TrevorH » 2021/12/27 14:07:08

I believe I've seen posts from the Red Hat php maintainer stating that php 5.3 is not only EOL but that it will not build at all on CentOS 7.

CentOS 7 has php 5.4.16 which is not that far away from 5.3 so maybe your code will work on that but at some point you're going to need to bite the bullet and convert the php code to something newer. Why not now?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: how ADD old SW (EOL) to yum repository ? (No matches found)

Post by Windows » 2021/12/28 14:02:02

TrevorH wrote:
2021/12/27 14:07:08
I believe I've seen posts from the Red Hat php maintainer stating that php 5.3 is not only EOL but that it will not build at all on CentOS 7.
thanks master TrevorH, connecting to SHELL as USER (no root), I obtain this:Image, https://pasteboard.co/LjjjDRhIZkfF.png

but when we run from HTTP:
Image, https://pasteboard.co/URi893EgLZCN.png

and yes, we put .htacces with:

Code: Select all

AddHandler fcgid-script .php 
FCGIWrapper "/home/$user/local/bin/php-cgi" .php
Last edited by Windows on 2021/12/31 22:41:41, edited 1 time in total.

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: how ADD old SW (EOL) to yum repository ? (No matches found)

Post by Windows » 2021/12/29 18:08:31

TrevorH wrote:
2021/12/27 14:07:08
I believe I've seen posts from the Red Hat php maintainer stating that php 5.3 is not only EOL but that it will not build at all on CentOS 7.
thanks master TrevorH, connecting to SHELL as USER (no root), I obtain this:

Code: Select all

[user@hostname ~]$ php -v
PHP 5.3.29 (cli) (built: Dec 28 2021 08:01:20)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
[user@hostname ~]$
but when we run from HTTP:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
and yes, we put .htacces with:

Code: Select all

AddHandler fcgid-script .php 
FCGIWrapper "/home/USER/local/bin/php-cgi" .php

Post Reply