• 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

php conflicts when installing

johnknl

New Pleskian
Hi, been working on this for 3 days now. I get this error when trying to install via the auto-installer on Centos 7 running php 5.6:
Attempt to remove 'php56w-common' to resolve conflict has succeeded
No package matched to remove: php55w-common
Attempt to remove 'php55w-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php55w-common
Attempt to remove 'php55w-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php55w-common
Attempt to remove 'php55w-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php55w-common
Attempt to remove 'php55w-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
Exception: Failed to solve dependencies:
php55w-common conflicts with php-common-5.4.16-36.el7_1.x86_64

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

The fact is, I just installed php56w-common because it was complaining about it. Any ideas?
Thanks
John
 
I would not recommend using webtatic repository. As far as I remember it is not supported by Plesk officially.
 
Hi Igor, thanks for your reply. So, what does that mean? I need to remove webtatic? Then you expect it to work?
John
 
Hi Igor, thanks for your reply. So, what does that mean? I need to remove webtatic? Then you expect it to work?
John
I don't know your reasons for enabling this repository. If it is important for you and you have some special software from this repository - I can't recommend you disable it. So, it's up to you. As far as I remember Plesk officially supports only atomic and epel third-party repositories.
 
progress!
Now I get this:
Trying to restart service mariadb... done
Trying to register service mariadb... done
Trying to define valid mysql credentials... Trying to establish test connectio n... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using passw ord: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for us er 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for us er 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for us er 'admin'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for us er 'admin'@'localhost' (using password: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for us er 'admin'@'localhost' (using password: NO)
failed

--------
How can I tell it which password to use?

Thanks
John
 
Hi Igor,
Well, I've read quite a bit these past few days and still don't have any result. I'm assuming it's my fault and everyone else installs this software with ease. So, my apologies for that. I get an error message as stated in this post: http://talk.plesk.com/threads/installation-script-mysql-error.323393/

ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation. To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass"). After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again


This is a poorly written error, and if I understand it correctly, it is trying to say:
"Make sure you have the file 'my.conf' (not '.my.conf') in the root directory with the following contents:
[client]
username = yourusername
password = yourpassword "
That would be more clear. Is that what the error is actually trying to say? If so, I have tried this and it has failed again. I cannot find this same problem anywhere else on your site.
Can anyone help out? I'm willing to pay a reasonable amount just to have this functioning.
Thanks
John
 
well, it looks like this bit is solved. To help others who may be encountering this, I had to add the variable host = 127.0.0.1 under "[client]" in the /root/.my.conf file and then rebooted the server and tried again. Plesk is still not installed, but at least this issue has been solved.

It was just complaining about the license key and now it's complaining: ERROR: You cannot select installation type for already installed products.
So, trying to figure out that error.
 
ran the bootstrapper repair thing: /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
and now I can't get into MySQL. Will hopefully be easier to simply rebuild the whole server.
 
I have the login screen! The lesson here is to just install the bare bones and then run the Plesk installer. I hope it doesn't mind me doing a few tweaks here and there in linux after it's been installed.
 
Hi Igor,

I have the same issue but on clean server, no php/apache/etc installed:

# yum list installed | grep php
# php -v
-bash: php: command not found
#

Plesk 12.5.30 (Stable), run as ./plesk-installer in 'typical' configuration

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.7 (Santiago)

The error:
===============================
This system is receiving updates from RHN Classic or RHN Satellite.
NGINX_1_9_4-dist | 2.9 kB 00:00
NGINX_1_9_4-thirdparty | 2.9 kB 00:00
PHP_5_2_17-dist | 2.9 kB 00:00
PHP_5_2_17-thirdparty | 2.9 kB 00:00
PHP_5_3_29-dist | 2.9 kB 00:00
PHP_5_3_29-thirdparty | 2.9 kB 00:00
PHP_5_4_45-dist | 2.9 kB 00:00
PHP_5_4_45-thirdparty | 2.9 kB 00:00
PHP_5_5_33-dist | 2.9 kB 00:00
PHP_5_5_33-thirdparty | 2.9 kB 00:00
PHP_5_6_19-dist | 2.9 kB 00:00
PHP_5_6_19-thirdparty | 2.9 kB 00:00
PHP_7_0_4-dist | 2.9 kB 00:00
PHP_7_0_4-thirdparty | 2.9 kB 00:00
PLESK_12_5_30-dist | 2.9 kB 00:00
PLESK_12_5_30-thirdparty | 2.9 kB 00:00
PMM_0.1.10-dist | 2.9 kB 00:00
PMM_0.1.10-thirdparty | 2.9 kB 00:00
PPB_12_5_29-dist | 951 B 00:00
PPB_12_5_29-thirdparty | 951 B 00:00
SITEBUILDER_12_5_29-dist | 951 B 00:00
SITEBUILDER_12_5_29-thirdparty | 951 B 00:00
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
Exception: Failed to solve dependencies:
php56u-common conflicts with php-common-5.3.3-46.el6_7.1.x86_64
php56u-cli conflicts with php-cli-5.3.3-46.el6_7.1.x86_64
php56u-xml conflicts with php-xml-5.3.3-46.el6_7.1.x86_64

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
===============================
I do not have webtatic repository installed on this box.

Could you help, please?
 
I tried 'custom setup' and disabled all php versions except 'PHP 5 from OS vendor', received this:
===============================
This system is receiving updates from RHN Classic or RHN Satellite.
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
No package matched to remove: php56u-common
Attempt to remove 'php56u-common' to resolve conflict has failed
No package matched to remove: php-common
Attempt to remove 'php-common' to resolve conflict has failed
No package matched to remove: php56u-cli
Attempt to remove 'php56u-cli' to resolve conflict has failed
No package matched to remove: php-cli
Attempt to remove 'php-cli' to resolve conflict has failed
No package matched to remove: php56u-xml
Attempt to remove 'php56u-xml' to resolve conflict has failed
No package matched to remove: php-xml
Attempt to remove 'php-xml' to resolve conflict has failed
Exception: Failed to solve dependencies:
php56u-common conflicts with php-common-5.3.3-46.el6_7.1.x86_64
php56u-cli conflicts with php-cli-5.3.3-46.el6_7.1.x86_64
php56u-xml conflicts with php-xml-5.3.3-46.el6_7.1.x86_64

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
===============================
Still no php installed, of course. What am I doing wrong?
 
@PPutnik,

Just disable the RHN Classic or RHN Satellite repositories for the time being and/or permanently (which is preferred).

It is better to use the default Plesk repositories, in order to prevent any package dependency conflict occurring.

Regards.....
 
Back
Top