Steps to replicate the issue (include links if applicable):
root@e4d150ef0c63:/var/www/html# php -v Warning: PHP Startup: Unable to load dynamic library 'luasandbox' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/luasandbox (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/luasandbox: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/luasandbox.so (liblua5.1.so.0: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 8.1.30 (cli) (built: Sep 27 2024 07:16:41) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.30, Copyright (c) Zend Technologies with Zend OPcache v8.1.30, Copyright (c), by Zend Technologies
What happens?:
It seems ´liblua5.1.so.0´ file is missing, after installing liblua package manually the warning will disappear:
root@e4d150ef0c63:/var/www/html# apt update && apt install -y liblua5.1-0-dev ... root@e4d150ef0c63:/var/www/html# ls -lrt /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 lrwxrwxrwx 1 root root 18 Mär 16 2022 /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 -> liblua5.1.so.0.0.0 root@e4d150ef0c63:/var/www/html# php -v PHP 8.1.30 (cli) (built: Sep 27 2024 07:16:41) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.30, Copyright (c) Zend Technologies with Zend OPcache v8.1.30, Copyright (c), by Zend Technologies
What should have happened instead?:
No warning should occur.
Software version (skip for WMF-hosted wikis like Wikipedia):
MW 1.39
Other information (browser name/version, screenshots, etc.):