Hi, I want to set the PHP ini variable mysql.allow_persistent to 0 for all vhosts at once. I’m using the FCGI mechanism so there seems no way to set this at a global level. Every /home/user/etc/php.ini file can easily overwrite it. Also in MySQL there seems to be no way to disallow persistent connections.
Anyone out there who knows how to disable persistent MySQL connections globally?
Yeah, Virtualmin copies the php.ini from the system-wide copy in /etc.
Or, you can use a different file of your own choosing if you go into System Settings -> Server Templates -> Default -> Apache Website, and set “Template PHP 5 configuration file”.