All sources online confirmed this is due to not having a php zip extension installed/enabled.
Note: Mautic requires a minimum PHP 7.4. I am using PHP 8.0
Problem
I have attempted the following instructions to use PEAR package manager to install extensions not available in the cyber panel dashboard.
When I attempted to install the zip extension, I received the following error:
pecl/zip is already installed and is the same as the released version 1.21.1 install failed.
Question
Not sure why ZIP is not working on mautic? What else could be the issue?
Is the issue related to enabling the extension since its already installed?
I have been entering SSH details for the server that are available on my hosting platform dashboard.
I understand I can also create SSH credentials for my specific website through cyber panel. Is that something that could cause this issue?
What is your default php version? post your info.php if you dont mind
It’s my own opinion that no one should use php 8 in production. This is due to security reasons and unknown zero-day vulnerabilities. The version mostly used by corporations in production is php 7.4
I was able to edit ph.ini through cyber panel. Mautic is now extracting the package and zip is working. Thank you very much! I had been trying to solve this for a while. hopefully, this thread will help someone else in similar situation. Mautic is now stuck on clearing the cache but I will open a new thread for that.
To edit php.ini, I went to cyber panel > Edit PHP Configuration > Advanced
I added extension=zip.so at the bottom of the document.
I re-ran the commands provided earlier (not sure if this was necessary though):