Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6129

Problem trying to load zip extension for php 7 on Ubuntu 22.04

$
0
0

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


Viewing all articles
Browse latest Browse all 6129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>