Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example_centos.rst #1935

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

alever22
Copy link

@alever22 alever22 commented Apr 1, 2020

Hi, while doing a test installation on Centos 8.1 x64, I noticed that php-devel package installation failed because PowerTools repo wasn't enabled, after enabling it installation worked fine; while doing this update in document (very useful indeed, anyway) I also fixed some minor flaws

Hi, while doing a test installation on Centos 8.1 x64, I noticed that php-devel package installation failed because PowerTools repo wasn't enabled, after enabling it installation worked fine; while doing this update in document (very useful indeed, anyway) I also fixed some minor flaws
@bkmgit
Copy link
Contributor

bkmgit commented Apr 7, 2020

Which PHP repository are you using? When using php:remi-7.4 as indicated at https://docs.nextcloud.com/server/18/admin_manual/installation/example_centos.html php-devel seems to be available.

@alever22
Copy link
Author

alever22 commented Apr 7, 2020 via email

@bkmgit
Copy link
Contributor

bkmgit commented Apr 19, 2020

Ok. Upon trying to install php-devel get a dependency error, which is satisfied when PowerTools is enabled. May want to use

 dnf install -y php-pear gcc curl-devel zlib-devel pcre-devel make

 dnf config-manager –set-enabled PowerTools

 dnf install -y php-devel php-pecl-igbinary-devel libzstd-devel

 pecl channel-update pecl.php.net

 pecl install redis

 dnf install -y ImageMagick ImageMagick-devel

 pecl install imagick

Note that there is a spelling error Imagemagick instead of ImageMagick.
igbinary enables serialization and libzstd-devel allows zstd compression. May want some information on enabling these.
You will also likely need to create systemd files for Redis and not install Redis from the repositories
since it is built by pecl.

May also want to reference documentation at:
https://redis.io/topics/quickstart
https://pecl.php.net/package/redis
https://pecl.php.net/package/imagick

@bkmgit
Copy link
Contributor

bkmgit commented Apr 19, 2020

To be specific without PowerTools one gets the message:

Error:
Problem: cannot install the best candidate for the job

  • nothing provides libedit-devel(x86-64) needed by php-devel-7.4.5-1.el8.remi.x86_64
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

PowerTools provides libedit-devel

@MorrisJobke
Copy link
Member

cc @michag86 @hanserasmus because you are more into RHEL packages ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants