• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Plesk 10 not working with upgraded 5.3 (From 5.1)

JerrodD

New Pleskian
Having an issue upgrading top php 5.3 from 5.1.

I have Centos 5.7 (centos-5-x86_64)
Plesk 10
great.
Through SSH I uninstall php package (5.1) and install php53 package (5.3.3). Everything works great and works. However, when I try to access the Plesk Panel, I get a Server 503 error on the page. I've tried so many different fixes and never got it working.

I believe the issue is, plesk is looking for the php package and not php53. Any suggestions?
 
Any details from

/var/log/sw-cp-server/error_log
/usr/local/psa/admin/logs/panel.log
 
I've sense reverted back to a backup I made before i tried to update.

I've read on this forums that the php53 is way out of date for Centos 5.7. Not sure if its true. When I do a list of php packages I see all of php and php53. The install through Centos doesn't work, so have to do it through SSH.
 
Last edited:
I finally got my issue solved. It was indeed an issue with the php53 package that came with Centos. I had to use the webtatic repository AND install additional repository definitions which another issue.

Incase those who are having any issues like myself, this is what I did to correct the issue.


Install the extra repositories
The first step requires downloading and installing some RPM files that contain the additional repository definitions, which we'll do with the rpm command:


Additional repository definitions where under the /etc/yum.repos.d directory.

Open the /etc/yum.repos.d/webtatic.repo repository file.

Edit the [webtatic] section of the file so that the enabled option is set to 1. This will enable the remi repository.

[webtatic]
name=Webtatic Repository $releasever - $basearch
#baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/
mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/mirrorlist
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy

Install the PHP 5.3 packages

sudo yum install php php-cli php-gd php-mysql php-mbstring

Install additional packages

I looked to see what packages where available (I needed mcrypt)

sudo yum search php

I installed addition packages with

sudo yum install php-mcrypt.x86_64 (Place package name with each install)

I then checked the version with

rpm -q php

After I verified php 5.3 was installed, I just restarted the httpd

sudo /etc/init.d/httpd restart

I went into Plesk and everything WORKED! I hope this helps people.
DO NOT INSTALL php53 which is listed as an update through Centos 5
 
Back
Top