LEMPer
LEMPer copied to clipboard
Regarding the issue with virtual machines.
I tried to write an LNMP one-click installation script on Debian 12 to create an NMP environment for use as a virtual machine. Now I have a problem: After installing PHP, I want to add extensions, but after the installation, I need to specify the available extensions for each php-fpm pool. I found that the installed extensions can be used when running code with php-cli, but when using nginx's socket connection to PHP, the extensions are shown as unavailable and cause errors.
Could you please provide some assistance?