• 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 current 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

Update PHP and MySQL - easiest way

Status
Not open for further replies.

VojkanC

Basic Pleskian
Hi,

I am using Parallels panel 11.5.30 Update #44 on CentOS 6.5 (64bit version) located on VPS.
What is the easiest way to update:
- PHP 5.3.3 to PHP 5.5.12 (current stable version) and
- MySQL 5.1.73 to MySQL 5.6.18 (current stable version).

Is it possible to update these from Plesk's control panel?
How do you do it?
 
Thank you for your answer.
How safe is it to use atomicorp?
What if they stop supporting their project?
Anyway, I've tried to install it according to guidelines on link you provided, but I have problem in step 3.
It says that file etc/php.ini.rpmnew should be moved to /etc/php.ini
I don't have file php.ini.rpmnew in etc folder?
What might have gone wrong?
 
Ask atomic about their project :)
It says that file etc/php.ini.rpmnew should be moved to /etc/php.ini
It's mean that backup of original /etc/php.ini will be created as /etc/php.ini.rpmnew
 
And how come I get:
mv: cannot stat `/etc/php.ini.rpmnew': No such file or directory
when I enter mv /etc/php.ini.rpmnew /etc/php.ini
 
Do you have /etc/php.ini file? Create backup of this file like:

mv /etc/php.ini /etc/php.ini.orig

and skip step 3.
 
Thank you for your answer.
I've managed to update PHP successfully.
Unfortunately, I think that there is something wrong with MySQL update.
It is still in process of updating (more than 4 hours).

When I enter:
HTML:
ctrl+c
and then:
HTML:
mysql -V
I get the message:
mysql Ver 14.14 Distrib 5.5.37, for Linux (x86_64) using readline 5.1 that version is updated to v5.5.37.

Websites that use MySQL work, but a little slower.

But 3 seconds after that message it continuous to perform MySQL update operations started 4 hours ago.
mysql2.png

What might be the problem with MySQL update?
 
I've resolved problem with double free or corruption by changing settings in my.cnf (deleted lines query_cache_size=16M and key_buffer_size=256M)
Thank you Igor once again for your help. Kind regards
 
Status
Not open for further replies.
Back
Top