So I was having an issue with an application saying that
An uncaught Exception was encountered
Type: Error
Message: Class "ZipArchive" not found
I tried enabling the PHP zip extension by adding extension=/usr/lib/php/20200930/zip.so
to the php.ini file. But I was still getting the error. I tried multiple other methods but nothing worked.
Solution that worked for me
I had to uninstall php via the Aapanel App Store and reinstall it with the "Compiled" option. The "Fast" version currently doesn't have zip extension enabled by default.