I am trying to install ziparchive and domdocument on nginx web server that has the latest WordPress. In order to run Avada theme, I need these two on the local CentOS 7 test
You can try: yum install php-pecl-zip.x86_64
yum install php-pecl-zip.x86_64
Try installing that and enabling it by running: echo "extension=zip.so" >> /etc/php.d/zip.ini
echo "extension=zip.so" >> /etc/php.d/zip.ini