@dhalucario Bingo.
# /usr/local/bin/php --version PHP 8.2.7 (cli) (built: Jun 15 2023 01:00:47) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.7, Copyright (c) Zend Technologies with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies # /usr/bin/php --version PHP Warning: PHP Startup: Unable to load dynamic library 'vips.so' (tried: /usr/lib/php81/modules/vips.so (Error relocating /usr/lib/php81/modules/vips.so: zend_get_parameters_array_ex: symbol not found), /usr/lib/php81/modules/vips.so.so (Error loading shared library /usr/lib/php81/modules/vips.so.so: No such file or directory)) in Unknown on line 0 PHP Warning: PHP Startup: dom: Unable to initialize module Module compiled with module API=20220829 PHP compiled with module API=20210902 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/lib/php81/modules/xml.so (Error relocating /usr/lib/php81/modules/xml.so: zend_str_toupper: symbol not found), /usr/lib/php81/modules/xml.so.so (Error loading shared library /usr/lib/php81/modules/xml.so.so: No such file or directory)) in Unknown on line 0 PHP 8.1.20 (cli) (built: Jun 9 2023 00:35:49) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.20, Copyright (c) Zend Technologies@dhalucario It kind of looks like the module is being compiled against the wrong PHP version. When I add this at the end of the Dockerfile:
RUN ln -s /usr/local/lib/php/extensions/no-debug-non-zts-*/*.so /usr/lib/php81/modulesI get these errors from composer:
PHP Warning: PHP Startup: Unable to load dynamic library 'vips.so' (tried: /usr/lib/php81/modules/vips.so (Error relocating /usr/lib/php81/modules/vips.so: zend_get_parameters_array_ex: symbol not found), /usr/lib/php81/modules/vips.so.so (Error loading shared library /usr/lib/php81/modules/vips.so.so: No such file or directory)) in Unknown on line 0 PHP Warning: PHP Startup: dom: Unable to initialize module Module compiled with module API=20220829 PHP compiled with module API=20210902 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/lib/php81/modules/xml.so (Error relocating /usr/lib/php81/modules/xml.so: zend_str_toupper: symbol not found), /usr/lib/php81/modules/xml.so.so (Error loading shared library /usr/lib/php81/modules/xml.so.so: No such file or directory)) in Unknown on line 0GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.