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.
I have tried manually moving the zip.so file into the extensions folder. That is when I get the error above. I modified the php.ini file and have restarted apache multiple times. I also verified that pcre is loaded by running php -m