T
T
TommyDBrown2018-03-20 08:00:00
PHP
TommyDBrown, 2018-03-20 08:00:00

How to fix ImageMagick installation error on CentOS release 6.8?

Good day everyone, due to the need to use ImageMagic for the needs of Joomla, the task arose to install ImageMagick on the server. I did it according to this instruction https://codebeer.ru/ustanovka-imagemagick-v-centos-7/ , during the installation after the command, the yum install gcc php-devel php-pearserver gave me an error

php71w-common conflicts with php-common-5.3.3-49.el6.x86_64

Which I cannot correct and understand on my own, due to the fact that there is no experience and knowledge in working with the server. As far as I understood, reading everything that was, the problem is with the repositories. The question is actually how to fix this error and install ImageMagick, preferably step by step so that I don’t ruin the server on which the site is running.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2018-03-20
@CityCat4

The server said that the php71-common package conflicts with the php-5.3.3-common package.
Where did you get the package from? In the standard turnip for CentOS6, it is now like this:

Available Packages
ImageMagick.i686                                        6.7.2.7-6.el6                                       base
ImageMagick.x86_64                                      6.7.2.7-6.el6                                       base

DO NOT use the instructions for CentOS 7 to install packages on CentOS 6! Well, without understanding what is being done, of course, it is possible with understanding (but in such cases, usually claims about the killed system are directed only to themselves). CentOS 7 - another version of the system! It has a different core, a different code base, it has a nasty systemd...
ImageMagick is installed without any left instructions, without any third-party turnips - purely from the base turnip:
Of course, you can persist in delusion - demolish php5.3.3, install php 7.1 and try again, but most likely it will end with a dead system ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question