system: ubuntu22.04
root@VM-16-11-ubuntu:/www/server/php/74/sbin# ./php-fpm ./php-fpm: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory root@VM-16-11-ubuntu:/www/server/php/74/sbin# apt install oniguruma Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package oniguruma root@VM-16-11-ubuntu:/www/server/php/74/sbin# apt search oniguruma Sorting... Done Full Text Search... Done libjruby-joni-java/bionic 2.1.16-1 all Java port of Oniguruma regexp library libonig-dev/bionic,now 6.7.0-1 amd64 [installed] regular expressions library — development files libonig4/bionic,now 6.7.0-1 amd64 [installed,automatic] regular expressions library lua-rex-onig/bionic 2.7.2-4build1 amd64 Onig regular expressions library for the Lua language root@VM-16-11-ubuntu:/www/server/php/74/sbin# apt install oniguruma-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package oniguruma-dev root@VM-16-11-ubuntu:/www/server/php/74/sbin#
I tried most of the answers I could find online