• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How Can I update PHP?

crnunez

Regular Pleskian
Hello friends,
I attempt to upgrade to PHP 4.4.2 but:

[root@root]# up2date -l

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Fetching Obsoletes list for channel: atomic...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
mysql 4.1.20 1.art.rhel4.art i386
mysql-server 4.1.20 1.art.rhel4.art i386
php-devel 4.4.2 3.rhel4.art i386
php-domxml 4.4.2 3.rhel4.art i386
php-imap 4.4.2 3.rhel4.art i386
php-ldap 4.4.2 3.rhel4.art i386
php-mbstring 4.4.2 3.rhel4.art i386
php-mysql 4.4.2 3.rhel4.art i386
php-odbc 4.4.2 3.rhel4.art i386
php-pear 4.4.2 3.rhel4.art i386
php-pgsql 4.4.2 3.rhel4.art i386

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
php 4.4.2 3.rhel4.artConfig modified
**********************************
I have on my server:
Plesk 8.0
Red Hat Linux 4
PHP 4.3.9-3-12

I attempt update PHP through "update - u"

/etc/sysconfig/rhn/sources
### up2date config file). This is required.
up2date default

### Note: when a channel label is required for the non up2date repos,
### the label is solely used as an internal identifier and is not
### based on the url or any other info from the repos.

### An apt style repo (the example is arjan's 2.6 kernel repo).
### The format is:
### type channel-label service:server path repo name
#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note: for apt repos, there can be multiple repo names specified (space
### seperated).

### A yum style repo. The format is:
### type channel-label url
#yum fedora-core-development http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/

### Atomic RPMS
yum atomic http://3es.atomicrocketturtle.com/atomic/art/4ES/


How Can I update PHP? (but without destroy Plesk)

Someone has any idea for resolve this problem? Thanks
 
just remove the relavent packages from the "skip" list...

Also, on SOME systems, I've overcome this silly issue with a:
rpm -e php-pgsql on systems that don't run pgsql. If not you might need to force some things..
 
Thanks!

But, I don't have any packages in the skip list, for an strange reason the autoupdater think that "php 4.4.2 3.rhel4.artConfig modified for other application".

What does "php 4.4.2 3.rhel4.artConfig modified" mean? Because I don't have php 4.4.2 install on my system. Only on my system I have PHP 4.3.9 installed.

If I force the install, will I have some trouble with Plesk (integration, components)?

Really thanks for any help!
 
Hello,
Why occurs it?
[root@ns]# up2date php

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

Fetching Obsoletes list for channel: atomic...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
php 4.4.2 3.rhel4.art Config modified

The following packages you requested are already updated:
php (my comments >>> But it is false, Why the system lies?)
[root@ns]#

[root@ns]# rpm -q php
php-4.3.9-3.12

Thanks for any help about this problem!
 
Originally posted by crnunez
What does "php 4.4.2 3.rhel4.artConfig modified" mean? Because I don't have php 4.4.2 install on my system. Only on my system I have PHP 4.3.9 installed.

It's saying that you've modified the php config file for your current version, and in your options you've told yum not to update items with modified configs. Save your current config just in case, then set your option to allow it.

Jim Deakin
 
Back
Top