• 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

Plesk 8.1 PHP upgrade

D

dav666

Guest
Hello

I have waited for a while to see if Plesk would upgrade my version of PHP from 4.3.9 to any version above 5. Now I am beginning to think the Plesk updater is not capable of updating PHP.

Is there a way to install a version of PHP 5 that will replace my current version and "play nice" with Plesk and its other components?

My server OS is CentOS 3.x and I am more or less a complete linux no0b!

Any help would be deeply appreciated.

Thank you
Dav
 
Hi,

Why would plesk updater upgrade php. It upgrades plesk.

You can update php with rpms using yum or better you download the rpm and install.

I do not believe that it is possible a clean install, you will meet some dependencies and you may have problems with php 5 modules. But nothing that cannot be corrected.
 
I was under the understanding that Plesk installed PHP on my server? Therefore shouldn't it update it automatically?

I checked "yum update" but it did not find a version of PHP greater than 4.

Also I am worried that perform this update may break Plesk either now or in the future.
 
Thanks for your reply.

I have seen that site mentioned before. I can't seem to find any information on how to upgrade via yum though?

I see references to add a repository but not how to do it? I am unsure what files to edit and whether I have to restart anything once I have made the edit.

As far as I am aware, after that its just a case of "yum update php"?

Any help please?
 
Hello,

I used ART packages many times in the past, but I now need to upgrade to the latest version of PHP (ART has 5.1.6 in bleeding channel or 5.0.4 in main channel) and compile it with some additional modules.

How can I do it without breaking Plesk? Isn't there a guide, or some indications for upgrading PHP on Plesk machines?

Thanks!
 
many thanks to the creator of atomicrocketturtle.com

why can't plesk offer a similar service? that's why plesk sux.
 
Well I am a founder of plesk, does that help? :p

On rebuilding php, the src.rpm's are up on my site. Ive got conditional build examples in the spec file on a bunch of things (mssql, oracle, mhash, etc) if you need pointers.
 
Hi guys,

I dont mean to revive an old thread, but I did the following:

Code:
wget [url]http://3es.atomicrocketturtle.com/installers/atomic.sh[/url]

chmod +x atomic.sh ; ./atomic.sh

And I got this output

Code:
Configuring the [atomic] yum archive for this system

Error: Unable to determine distribution type. Please send the contents of /etc/redhat-release to [email][email protected][/email]

so I checked the file
Code:
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

So I then went and did the steps listed here:
http://3es.atomicrocketturtle.com/yum/

Code:
Manual Configuration: RHEL4
edit /etc/sysconfig/rhn/sources
replace ARCH with you architecture, x86_64, or i386
# Atomic
yum atomic [url]http://3es.atomicrocketturtle.com/atomic/art/4ES/[/url]

# Atomic App Vault
yum atomic-app-vault [url]http://3es.atomicrocketturtle.com/atomic/app-vault/[/url]

# SW-Soft PSA 8.1
yum psa-8.1 [url]http://3es.atomicrocketturtle.com/atomic/psa-8.1/redhat/4/i386[/url]

now when I run up2date it finds the PHP 5 and that jazz, as well as a few more updates - but it errors.

Code:
Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.5                  requires php = 4.3.9-3.22.5


The following packages were added to your selection to satisfy dependencies:
Package                                Required by
----------------------------------------------------------------------------

php-domxml was not listed in the up2date output, but it seems like it needs to install a component for php 4.3 in order to install php 5 ??

Am I off on that?
 
I still get the same thing

Code:
Atomic Archive installer, version 0.9.3
Configuring the [atomic] yum archive for this system

Error: Unable to determine distribution type. Please send the contents of /etc/redhat-release to [email][email protected][/email]
 
I did not no - at least not yet - I was checking here first to see if there was anyone who had the same problem.

The output seems to be standard:
Code:
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

I will go check the atomic turtle forums as well.
 
Update: The atomic support have fixed the installer and I have successfully installed PHP 5.2.3 :)

Thank you guys!
 
Back
Top