PHP 7.0 is Now Default on SiteGround Servers

Last December we were among the first hosting companies to make PHP 7.0 available on our entire infrastructure. Thanks to our system which allows multiple PHPs to be used on one server, anyone could have switched to PHP 7.0 since its zero-day release, while we still kept an older and well-tested PHP version as the global default setting. Now, an year later we believe it’s time for the next step – setting PHP 7.0 as default for all new accounts.

Why make PHP 7.0 default?

Reason number one is its amazing performance gains. Regardless of our continuous efforts to popularize the availability of PHP 7 and its benefits, we are well aware that a big percentage of the users will never change their default settings. An year after the release of PHP 7.0 and 13 sub-versions later we believe that it is tested well-enough to be safely applied as default on our servers. That is why we are now making it a default setting in order to increase the level of its adoption among our users.

New accounts are now set up with PHP 7.0

Since yesterday all new shared, cloud and dedicated accounts are setup with PHP 7.0 as their default PHP version.

Existing accounts are recommended to do the switch manually

All existing accounts will remain unaffected though, as changing the PHP version for a production site should be done with caution. However, we still highly recommend to all existing users, who have not yet switched to PHP 7.0, to test if their site performs without issues (if possible on a staging copy) and enable PHP 7.0 for their site.

Access email sent!

Sign Up For
More Awesome Content!

Subscribe to receive our monthly newsletters with the latest helpful content and offers from SiteGround.

Thanks!

Please check your email to confirm your subscription.

author avatar

Hristo Pandjarov

WordPress Innovations Director

Enthusiastic about all Open Source applications you can think of, but mostly about WordPress. Add a pinch of love for web design, new technologies, search engine optimisation and you are pretty much there!

Comments ( 19 )

author avatar

Guido

Dec 07, 2016

Wow, this is a big change! Congratulations for your courage :-) Don't you expect thousands of tickets from your clients as soon as they install one of the many non-compatible WordPress plugins? In my experience the transition to PHP7.0 can be problematic as soon as you have more than 10 plugins... Cheers, Guido

Reply
author avatar

Hristo Pandjarov Siteground Team

Dec 07, 2016

We will not be changing the PHP versions for existing customers so no websites will be broken. If you're starting something new, I would say that it should support PHP 7.0 without problems. Of course, switching back to 5.6 is really easy and can be done very fast. Whether we will have an increase in support tickets - I can't really say yet, but we're prepared to handle it :)

Reply
author avatar

krko

Dec 10, 2016

From my experience no issues at all. I've been running on PHP7 with well over 40 plugins for almost a year. PHP7 non-compatibile plugins are more of a "myth" created by people on older versions too lazy to switch than a reality. Just my two cents.

Reply
author avatar

kenny

Dec 07, 2016

Agh damn, I went and changed one site to php7 this week. After getting the plugin to check for compatibility, etc. then forgot to switch off cache and go into development mode in cloudflare... so messed up things. still haven't sorted out the cache properly with cloudflare. But oh, ok... I see existing doesn't have this... so I will do other site soon. Thanks though. And will check performance before and after... if you want a post here of difference let me know.

Reply
author avatar

Hristo Pandjarov Siteground Team

Dec 07, 2016

That would be great, I bet you will find everything, especially your backend much faster.

Reply
author avatar

Matt

Dec 08, 2016

I was waiting for SG to make it official before I switch. I made the switch today. I think PHP 7.1 is the new nightly version. Yes, I made sure I did a backup first. The backend is indeed significantly faster. Of course, not everything is attributed to a singular factor. Certain tweaks done in .htaccess, wp-config.php and functions.php along with a good combination of plugins contribute to the overall increase in performance.

Reply
author avatar

Matt

Dec 08, 2016

Are those of us who need ionCube and/or ZenGuard? Are those updated to work with php 7 yet? Thanks.

Reply
author avatar

Daniel Kanchev Siteground Team

Dec 09, 2016

We offer two PHP 7 versions - 7.0 and 7.1. Zend officially announced that Zend Guard will not be ported and will not work for PHP 7. You may check the blog post here. As for the ionCube Loader for PHP its developers are still working on a version of ionCube for PHP 7.1. We do offer ionCube Loader for PHP 7.0 and it is loaded by default on all shared servers. If you are hosted on a cloud server then you may open a support ticket and our support team will load the module for you.

Reply
author avatar

Rishi

Dec 11, 2016

This is wonderful news! I've been using PHP 7 since it was first offered by your team and haven't looked back! Hope you'll continue to be early adopters for many more things on the horizon for web performance/optimization. :-)

Reply
author avatar

Ahmad Awais

Dec 11, 2016

SiteGround is one of the most recommended hosts in my list due to features and efforts just like this one. Keep it up team!

Reply
author avatar

Hristo Pandjarov Siteground Team

Dec 12, 2016

Thanks for the kind words Ahmad, really appreciate it!

Reply
author avatar

Jo

Jun 27, 2017

I really like the service you offer specially you have a great support team. Good luck and keep it up.

Reply
author avatar

Mummy Ninja

Dec 19, 2016

Awesome move! :D I hope my Magento sites will all work in PHP7. :D

Reply
author avatar

Phil C

Dec 23, 2016

Hey Hristo, this is pretty cool! I've noticed that all the accounts I've setup for clients have been 5.6 though. They were registered after this announcement post, one was yesterday for example.

Reply
author avatar

Hristo Pandjarov Siteground Team

Dec 27, 2016

Please, post a ticket in your Help Desk if you notice such behaviour, PHP7.0 is set as default on all servers but maybe the update was delayed on your server for the next day :)

Reply
author avatar

Ja

Dec 31, 2016

I have several WP installs and the public html folder clearly states that that its PHP5.6 (which Ive updated to 7.1). I notice that every sub directory as an option for setting its own PHP version, and 2 of my sub directories are http (not https) wp installs and don't have a radio box highlighted for any specific version. Do they inherit the root public html folders specified PHP? so since I changed the PHP of the root from 5.6 to 7.1, now these 2 directories are also updated to 7.1?

Reply
author avatar

Hristo Pandjarov Siteground Team

Jan 03, 2017

Basically, the PHP version is set by a line in an .htaccess file, placed in the root folder for the domain(kb article on the subject). Those files work recursively, which means that if your addon domains are in a subfolder of your primary one, they will be affected by the .htaccess file, unless overwritten by another file in their own root folder.

Reply
author avatar

Stephan Herby

Aug 09, 2017

All my account are older then your change to php7, so their default php is 5.6. They all work on php 7.0.21 (now 7.0.22 i have just seen) with the .htaccess stuff - Is there a way to make all this account on PHP 7 by default or the only solution is to go thru de .htaccess ?

Reply
author avatar

Hristo Pandjarov Siteground Team

Aug 10, 2017

Hey, If your sites are under one account, you can simply change the .htaccess file in home folder of your account. Unless you have separate .htaccess files, that will change the PHP version for the main site and all Addon Domains you may have. On the other hand, if you have multiple cPanel accounts, you need to do this for each one of them. Generally, unless you have a .htaccess files specifying PHP versions for folders, your PHP version should be updated automatically. Last but not least, you can always contact our support team to help you out with upping your PHP versions.

Reply

Start discussion

Related Posts