New Virtualmin virtual-server module version 3.42

Howdy all,
I’ve just rolled out version 3.42 of the Virtualmin virtual-server module.
This upgrade fixes an annoying bug in handling of php4 alongside php5 on systems where php5 is the default OS-provided version, that prevented php4 scripts from working. It also includes numerous install script updates and minor bugfixes.
<b>Note:</b> This update modifies the fcgi wrappers for PHP, in order to implement the changes needed for both php4 and php5 to operate simultaneously. If you have customized your fcgi wrappers, they may need attention after the upgrade. Even if not, we recommend you check PHP applications for problems after the update.
Changes since 3.41-3:

[]Added a new template section for defining your own PHP wrapper scripts, for use when PHP is run via CGI or FastCGI.[/]

[]When a virtual server with a private IP is added, ping is now used to check if the IP is already in use.[/]

[]Updated the Flyspray script installer to version, and phpPgAdmin to 4.1.2.[/]

[]In the server templates pages under Default domain owner limits, added a section for specifying the features that can be used by the server owner. Previously, these were always automatically determined based on the features initially enabled when the domain was created.[/]

[]Added additional warning when deleting scripts from ~/public_html.[/]

[]Website validation now includes a check for PHP wrapper scripts.[/]

[]Added a Module Config option to make the DNS client configuration check optional.[/]

[]PHP modules are now automatically installed from CSW packages on Solaris.[/]

[]Added the --default-features option to, to avoid the need to specify feature flags manually.[/]

[]Globally disabled features are no longer shown greyed-out on the virtual server creation and editing forms.[/]

[*]Under Apache 2.2, add NameVirtualHost *:80 instead of just .[/]

[]Virtual servers now have separate php.ini files for each PHP version (4 and 5), under ~/etc/php. This allows different extensions to be loaded for each PHP version, and for different settings to exist.[/*]

[]Changed the layout of the Plugin Modules page to make it easier to see what is selected, and added a checkbox to have plugins available but not active by default.[/]

[]Logins and passwords for using installed scripts are now recorded.[/]

[]The Manage Script page now shows more information about an installed script, such as the install directory, database and possibly login and password. The command also displays the same information.[/]


As usual, the update should appear in the Package Updates section of the System Information page.

After upgrade I have problems with php4 (which is one and only installed).

Clients which are configuration is to use php4 and with his own php.ini now work with default php.ini.
Before upgrade php4.cgi was: (which use /home/example/etc/php4/php.ini)

exec /usr/bin/php

and after upgrade php4 is not using above php.ini.
After upgrade io have php4.cgi

exec /usr/bin/php

which is not correct because it uses /usr/local/Zend/etc/php.ini


I see a bug – squash it !!

When upgrading from from the GPL version to the Pro version using the 'Upgrade to Pro" link the virtual-server is still listed as the GPL version in Virtualmin Package Updates.

webmin-virtual-server Webmin module for ‘Virtualmin Virtual Servers (GPL)’ Running latest version 3.44.gpl

Because of that it looks like it never saw the new Pro version you just released.

And even after manually upgrading it still lists the GPL version.