Wrong install folder with PHP 8 on Ubuntu Server 21.04
Closed this issue · 1 comments
AstroSign-Dev commented
sudo make install - installs swephp.so into folder /usr/lib/php/20190902/ instead of folder /usr/lib/php/20200930/
ubu@ubu:~$ php -m
PHP Warning: PHP Startup: Unable to load dynamic library 'swephp' (tried: /usr/lib/php/20200930/swephp (/usr/lib/php/20200930/swephp: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/swephp.so (/usr/lib/php/20200930/swephp.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: swephp: Unable to initialize module
Module compiled with module API=20190902
PHP compiled with module API=20200930
These options need to match
AstroSign-Dev commented
Error was on my side, installed fresh and then it worked