I’ve made a fresh install of Virtualmin on a Ubuntu LTS 12.04 minimal server and everything worked out fine (kudos!) but after a closer look I still had the old Apache 2.2.22 version, so I upgraded it to the latest version 2.4.2 and everything still works fine for Virtualmin but I can’t get php-fpm or php5-fpm installed,
Libapache2-mod-fastcgi only works for apache up to 2.2 and mod-fastcgi is not found anywhere
Is there a way or a new method to get php-fpm or php5-fpm working with the latest Apache 2.4.2?
Thanks for your prompt response, I’ll try using one of the supported PHP Execution Modes but now I have a problem while configuring my default server:
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …
" Your system has 11.72 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add 127.0.0.1 to the list of DNS servers, or turn off the BIND feature on the module config page. It appears that DHCP is being used to dynamically configure your network interfaces, which can cause the DNS servers to be set based on settings provided by the DHCP server. Using a static IP address is strongly recommended with Virtualmin.
… your system is not ready for use by Virtualmin. "
I have a static IP address and this is not a local test server but an online server…do I still have to add the 127.0.0.1 to the list of DNS servers?
+1 for PHP-FPM as a supported PHP Execution Mode. What I need it if for enabling APC cache, and I can only do it with PHP-FPM or in Apache 2.4. Which one is likely to come to Virtualmin first?!
I’ve managed to do php-fpm&nginx with a 100 line script that is executing after creating/destroying vservers (it creates php-fpm pool for each host) and modyfing source of virtualmin-nginx module (so it uses sockets – easier [sockets are like $user.socket] and faster [than TCP]). Wasn’t so hard…
If you would be willing to share that script, i believe you would be a hero of the forumns. It also might give Jamie some code to stick in a real module!
If you would be willing to share that script, i believe you would be a hero of the forumns. It also might give Jamie some code to stick in a real module!