On a fresh install of LSWS & LSPHP, the module directory has files with duplicate content, which causes
This is especially annoying when running cli PHP cron jobs, with the same binary the web server uses, which causes the output to be logged as an error. Removing the non-number-prefixed copies resolved my issue for now.
PHP Warning: Module XYZ already loaded
errors in the output.
Code:
$ ls -1 /usr/local/lsws/lsphp72/etc/php/7.2/mods-available
10-opcache.ini
20-curl.ini
20-intl.ini
20-json.ini
20-mysqli.ini
20-pdo_mysql.ini
curl.ini
intl.ini
json.ini
mysqli.ini
opcache.ini
pdo_mysql.ini