Will you provide PHP 7 support in virtualmin?

43 posts / 0 new
Last post
#1 Thu, 10/08/2015 - 12:50

Will you provide PHP 7 support in virtualmin?


I am using nginx, php-fpm

I have removed php 5.6

yum remove php

and installed php 7.0

yum install php70 php70-php-mysql php70-php-fpm

However, virtualmin doesn't recognize it.

when I go to

system settings -> re-check configuration

it says no php is installed

Please add support to php7 as it is said to improve php performance.

Or, Please suggest me how to make virtualmin recognize php 7

Or, suggest me how to make nginx use php7


using linux, centos 6.7, 64 bit, dedicated server with full root accesss

Thu, 10/08/2015 - 15:58


Yes, Virtualmin will indeed support PHP 7! That is on the todo list and should be available soon.


Fri, 10/09/2015 - 13:40
Welshman's picture

Nginx, that's that sharware thing yeah?

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Mon, 10/12/2015 - 22:55

How can I get notified when php 7 support is enabled in virtualmin?

Or, How can I get notified when a new version of virtualmin is available?

can you please suggest me the time it may take to enable php 7 support. ( days or months)


Sun, 10/18/2015 - 07:22

Release of PHP7 is soon, can't wait to install PHP7 on my good working Virtualmin server! :)

Mon, 12/07/2015 - 17:38

PHP 7 has been officially released now... http://php.net/archive/2015.php#id2015-12-03-1

Tue, 12/08/2015 - 00:06

Im waiting for this too. Hope to hear something soon :)

Tue, 12/08/2015 - 00:07


PHP 7 support will be available in the next Virtualmin release -- that will be out soon!


Tue, 12/08/2015 - 00:33 (Reply to #8)

I will check the update regularly ofcourse!! Thanks a lot :)

Tue, 12/08/2015 - 06:37
NettSite's picture

Just subscribing to this thread in the hope that Eric may post when PHP 7 is in Virtualmin.

Tue, 12/08/2015 - 09:49

Thanks for all of your interest!

As far as an ETA goes -- while I don't have an exact date, Joe is telling folks it will be out before Christmas.

If you've installed Virtualmin using the install.sh script, that update would be available when you next perform package updates.

But you can also monitor the News forum here, or @virtualmin on twitter, for notification on when it's out.


Tue, 12/08/2015 - 09:55
NettSite's picture

Thanks Eric, looking forward to that.

Sun, 12/13/2015 - 12:54
tgillespie's picture

Thanks for the updates. I have my dev box upgraded to php 7 and the speeds are awesome. Just curious if you think it will be days, weeks or months before VM supports it?

Fri, 12/18/2015 - 11:44 (Reply to #13)

Hi there does virtualmin already support php7?

Fri, 12/18/2015 - 12:20 (Reply to #14)


The next Virtualmin version will support PHP 7.


Fri, 12/18/2015 - 12:25

Yes, I read somewhere that PHP 7 should theoretically work in Virtualmin... but here's my attempt to get it working and I haven't been successful so far. I just got a reply fron andreychek that makes me wonder if it truly is compatible or not. Sound like we might jut bee all together waiting for this next Virtualmin to be release before we can move forward without hacks here and there. https://www.virtualmin.com/node/39000

Fri, 12/18/2015 - 13:18
Welshman's picture

Just wait for the next release, if it's not supported at the moment you will just have to wait surely.

All good things come to those that wait.

It's not difficult to understand is it?

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Sun, 12/20/2015 - 16:29
Didier Misson

Thanks for working on this next Virtualmin release ! ;-)

I hope it will solve my problem :

As I have upgrade to PHP7, Virtualmin now run all sites with www-data user... and not "mysite1" user.

Thanks for your help ;-)


Didier Misson

Mon, 12/21/2015 - 09:14


Well, Virtualmin's support for PHP7 would just make it so it can be detected.

If it's running as www-user, that indicates another problem.... something configuration related.

How did you go about installing that?

You may want to go into System Settings -> Re-Check Config, and see if it detects any issues.

My guess is that a new PHP config file was installed as part of the PHP7 installation, that's causing mod_php to override the other settings.


Mon, 12/21/2015 - 09:46
Didier Misson

Hello Eric

I just take an Ubuntu 15.10 with Webmin / Virtualmin. All was ok.

After, I upgrade to PHP7... Nothing more.

I Re-Check the config in Virtualmin / System Settings / Re-Check Config.

No problem except :

  • IP problem, but I always has this message about "default IP is" ... but it always works with all others sites with PHP 5.5

  • Quota not enabled... not a problem


Thanks. Didier

Didier Misson

Tue, 12/22/2015 - 01:53
Diabolico's picture

@Didier Misson: You know that EOL for Ubuntu 15.10 is July 2016? That means you have only 7 months until the end of support for your version of Ubuntu. You should stay with 14.04 until 16 LTS is out.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Tue, 12/22/2015 - 10:07

Yeah we'll have support for Ubuntu 16.04 around the time it comes out in April!


Tue, 12/22/2015 - 10:48

So when is PHP 7 support coming? Do you know an date?

Tue, 12/22/2015 - 11:10
Welshman's picture

I hope the Virtualmin team do not release it before it's all been tested, just because of the pressure here.

Which I am sure they will not.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Tue, 12/22/2015 - 11:14

I don't have a date, but it will be soon :-)


Wed, 12/23/2015 - 10:59

Subscribing to thread

Fri, 12/25/2015 - 13:08

Are there any news for PHP 7 update for Virtualmin? @andreychek

Fri, 12/25/2015 - 23:49

Stop asking. You all know an update is coming out already. That should be enough. Wait for an announcement. Rushing developers is one of the most annoying things anyone can do.

1) It is not easy 2) Testing takes time or do you prefer your server to crash and burn?

Tue, 01/12/2016 - 14:28

I will start asking as this page http://www.webmin.com/ says PHP7 is supported as of Virtualmin 5.0gpl
I upgraded but I don't see any PHP7 upgrade, virtualmin package updates nor is it available in the webmin software packages (YUM, rpmfind.net)

Running on CentOS 6.7

Am I missing something?

Thu, 01/14/2016 - 02:41

PHP7 apparantly is not in the default repos coming with Webmin and Virtualmin. When adding remi repos PHP7 comes available, so do updates for the previous versions.

Is remi repo considered a stable repo enough to keep enabled (for future updates)?

Tue, 02/09/2016 - 11:55

I did install it from the repo on one server. It also shows up and is working if i manually edit the php-fcgi init script What i can not do - due to missing apache configuration files - set it up in

Server Configuration > PHP Versions

"Website options cannot be edited, as no Apache virtual host for xxxx.de port 80 was found!"

Any chance i can choose PHP version while using nginx?


Thu, 03/10/2016 - 17:51

Seriously, having only one domain and subdomains, virtual min has been nothing but deep problems for every regard of my website management except maybe emails. So, Im thinking about completely uninstalling virtual min and installing of those new lemp stack or use something less complicated such as ispconfig. I had to do the same thing than you to make it work with php7 and virtual min is not worth the hassle for me personally.

Sun, 03/13/2016 - 18:37

there have always been issues with PHP... about long delays

but above all with the PHP FPM support

honestly, I've asked so many times that i'm hopeless now

Nov 29, 2011 It's official. PHP-FPM is no longer marked as "experimental" as of PHP 5.4.0RC2.

we can even start since 2011 and don't go back... since 2011 5 years passed

5 years, not 5 months... and they don't even provide a reason about this...what's the source of so many difficulties to implement and so on...

php fpm is by that time basic part of PHP, precisely because is the best modern and efficient method to run PHP

Mon, 03/14/2016 - 04:52

@mikt, @colmomo, @7stars You are in the wrong thread.

Wed, 03/23/2016 - 04:17 (Reply to #34)

I don't think so... the only wrong thing here is the lack of efficient php support, that is fundamental, nowadays and before...

and another problem is that they don't even ask for help to some developers (since the open source, otherwise I don't understand if it's really open source...)...IF any problem. But what's the real problem? Who knows... ...

Wed, 03/23/2016 - 04:35 (Reply to #35)

Do you even know how to program yourself? If yes, then contribute how to fix it.. If not then shut up.. If they rush it WITHOUT CHECKING MILLIONS OF LINES OF CODE WRITTEN BY A GROUP OF PEOPLE and your server crash then who are you going to blame?

Can't wait, then install PHP 7 on a plain LAMP Stack.

Visit me at coderinthebox.com

Thu, 05/19/2016 - 13:52

I got PHP7 to work on Centos 7.2.1511 with nginx https2 and WOW I couldn't be happier, my wordpress site is loading freakishly fast 3x faster even with a bunch of plugins activated.

I ended up going with ius repo since centos says its ok https://wiki.centos.org/AdditionalResources/Repositories and these are the commands I used.

cd ~ curl 'https://setup.ius.io/' -o setup-ius.sh

bash setup-ius.sh

yum remove php-fpm php-cli php-common (when i used apache I didn't have to remove php 5.4 but with nginx I couldn't get it to use php7 no matter what I did)

yum install php70u-fpm-nginx php70u-cli php70u-mysqlnd

yum install php70u-cli.x86_64 php70u-common.x86_64 php70u-fpm.x86_64 php70u-gd.x86_64 php70u-mbstring.x86_64 php70u-mcrypt.x86_64 php70u-mysqlnd.x86_64 php70u-opcache.x86_64 php70u-pdo.x86_64 php70u-pear.noarch php70u-process.x86_64 php70u-xml.x86_64 php70u-xmlrpc.x86_64 php70u-json.x86_64 php70u-imap.x86_64 php70u-gmp.x86_64 php70u-bcmath.x86_64 php70u-pecl-apcu.x86_64 php70u-pecl-imagick.x86_64 php70u-soap.x86_64 php70u-tidy.x86_64

I am new to Virtualmin (came from cpanel was constantly being attacked) friend recommend Virtualmin with changed default ports and I've become a true believer! I've been testing this dev server for about 3 weeks now and I'm planning to move it to a production server if it continues to run this good.

Tue, 10/18/2016 - 16:42

after the 5th month, isnt there an update ?

Fri, 10/28/2016 - 07:38

Yep do you have any information on the php 7 support?


Fri, 10/28/2016 - 07:47
Sun, 10/30/2016 - 11:10

Freddy63 do you have a link for an installation with debian and apache? Thanks

Sun, 10/30/2016 - 11:16
Sun, 10/30/2016 - 11:32 (Reply to #42)

Thanks for the link! I already install php 7 with php-fpm but when i try to load a php page it's been downloaded... So I guess I miss something in the virtualmin vhost configuration, what do you think?

Topic locked