I'm running PHP7.4 on CentOS7 and am having trouble getting the zip module to show up when I run php -m
I tried installing php-zip and php-pecl-zip through yum, which gives me the following result:
Resolving Dependencies
--> Running transaction check
---> Package php72w-common.x86_64 0:7.2.34-1.w7 will be installed
Removing php72w-common.x86_64 0:7.2.34-1.w7 - u due to obsoletes from installed php-common-7.4.21-1.el7.remi.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php72w-common.x86_64 0:7.2.34-1.w7 will be installed
--> Finished Dependency Resolution
Does this mean the zip module is already installed by default onto PHP7.4? Is there a reason I can't get it to activate?
I also added 40-zip.ini as per another Stackoverflow answer under /etc/php.d/
but no dice. I've also restarted my apache webserver (systemctl restart httpd
).
Can someone tell me what the message means and what I can do to install ZipArchive onto my server? Any help would be appreciated, thanks!