Answer the question
In order to leave comments, you need to log in
Wordpress+Centos 7, upgraded php version from 7.1 to 8, dompdf and zip still not working, how to enable them?
Website on vp, vps client on centos 7. And php was just the oldest - 7.1.
I did it first on my hosting, and then transferred it to the client. When creating the site, I used the dompdf library. It's not a plugin, just a library - I needed a custom file to attach to the letter.
While doing it on my hosting, where php was immediately version 8, these errors were not there, a letter with an attached pdf came.
dompdf has a higher minimum requirement than 7.1.
I first transferred the site with a duplicator to what it was, and then I already upgraded the php version - at first I didn’t know how to upgrade it.
Version 8.0 got up, checked through phpinfo, but the letters never come.
For comparison, I tried to install my site on the same service not on the VPS server, but on the hosting of the client's account. There, php was originally 7.4, and a letter with pdf arrives safely. So something is wrong with the vps settings, something is missing.
Apparently, I already installed the necessary modules -
yum --enablerepo=remi-php80 -y install php80-php-cli php80-php-pear php80-php-fpm php80-php-pecl-mcrypt php80-php-bcmath php80-runtime php80-php-common php80-php-pdo php80-php-process php80-php-mysqlnd php80-php php80-php-opcache php80-php-gmp php80-php-gd php80-php-mbstring php80-php-json php80-php-xml php80-php-pecl-imagick php80-php-intl php80
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question