Problem trying to load zip extension for php 7 on Ubuntu 22.04
I am trying to load zip.so for an older version of php (7.033) and I am getting the error message “undefined symbol: pcre_exec is unknown”. I installed using sudo apt-get install php7.0-zip after doing an update. I originally installed php to /usr/local after doing a custom build when I could not find the package, other extensions have loaded without issue (although it took some work to get xdebug to work). Any suggestions would be greatly appreciated.
Ubuntu PHP Cli extensions are not enabled even after editing php.ini
I want to install below extension in php cli ubuntu 20.04.06