Archived topic
PHP 7 support and required extensions?
7 replies · Started by George on October 10, 2016
I am very new to WordPress ...
Is GP totally compatible with PHP 7?
Are there any specific PHP extensions that I should install?
I am trying to set up a WordPress site on a Ubuntu 16.04, which uses PHP 7, cloud server.
Thanks,
George
Hi George,
I'm using PHP 7 here on this site - works great.
GP and GP Premium are tested on everything between PHP 5.2 and the latest PHP 7 before every update.
There isn't anything special that GP needs - just make sure you have the extensions WordPress in general needs.
Hope this helps :)
Hi Tom,
Yes! Thank you!! One last question. I have installed GP and the Premium plugins on my brand new Wordpress site, using PHP 7, https://altoplace.com. So far it seems to be working fine. I haven't done much, except to set up an About page and one post. I have had a hard time finding a list of "PHP 7 extensions that Wordpress in general needs." I have installed a basic set, listed below. Could you look it over and let me know if you recommend any additional ones that I should install? As I mentioned before, I am brand new to Wordpress and web development. I would like to make sure that I have a solid Wordpress install before I start digging deeper.
Thank you,
George
ps
The list of my installed PHP 7 extensions:
==> dpkg -l | grep php
ii libapache2-mod-php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii libapache2-mod-php7.0 7.0.8-0ubuntu0.16.04.3 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (default)
ii php-cli 1:7.0+35ubuntu6 all command-line interpreter for the PHP scripting language (default)
ii php-common 1:35ubuntu6 all Common files for PHP packages
ii php-curl 1:7.0+35ubuntu6 all CURL module for PHP [default]
ii php-gd 1:7.0+35ubuntu6 all GD module for PHP [default]
ii php-mbstring 1:7.0+35ubuntu6 all MBSTRING module for PHP [default]
ii php-mcrypt 1:7.0+35ubuntu6 all libmcrypt module for PHP [default]
ii php-mysql 1:7.0+35ubuntu6 all MySQL module for PHP [default]
ii php-xml 1:7.0+35ubuntu6 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php-xmlrpc 1:7.0+35ubuntu6 all XMLRPC-EPI module for PHP [default]
ii php7.0 7.0.8-0ubuntu0.16.04.3 all server-side, HTML-embedded scripting language (metapackage)
ii php7.0-cli 7.0.8-0ubuntu0.16.04.3 amd64 command-line interpreter for the PHP scripting language
ii php7.0-common 7.0.8-0ubuntu0.16.04.3 amd64 documentation, examples and common module for PHP
ii php7.0-curl 7.0.8-0ubuntu0.16.04.3 amd64 CURL module for PHP
ii php7.0-gd 7.0.8-0ubuntu0.16.04.3 amd64 GD module for PHP
ii php7.0-json 7.0.8-0ubuntu0.16.04.3 amd64 JSON module for PHP
ii php7.0-mbstring 7.0.8-0ubuntu0.16.04.3 amd64 MBSTRING module for PHP
ii php7.0-mcrypt 7.0.8-0ubuntu0.16.04.3 amd64 libmcrypt module for PHP
ii php7.0-mysql 7.0.8-0ubuntu0.16.04.3 amd64 MySQL module for PHP
ii php7.0-opcache 7.0.8-0ubuntu0.16.04.3 amd64 Zend OpCache module for PHP
ii php7.0-readline 7.0.8-0ubuntu0.16.04.3 amd64 readline module for PHP
ii php7.0-xml 7.0.8-0ubuntu0.16.04.3 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii php7.0-xmlrpc 7.0.8-0ubuntu0.16.04.3 amd64 XMLRPC-EPI module for PHP
I'm not a big server guy, but that looks fine.
If WordPress is functioning well, you're good to go :)
Hey found this topic
We have https://www.jv-technoton.com/ hosted on bluehost
when upgrading to php 7 the trouble issued - the custom css doesn't count and we had basic html layout (checking the box with using or not using standard GP styling doesn't work too)
So I back up to 5.6
so if you have resolve such a case please let me know
Hi there,
How are you adding custom CSS? The PHP version shouldn't make any difference. This site we're on now is using PHP 7.
I used WP build in CSS editor, then installed a plugin (simple CSS) as recommended. Nothing worked, so I did a back up to 5.6. More over When I used a build in editor I saw that custom CSS where aplyed in a while and than standard GP CSS dominate ^-)
What exact CSS isn't working for you?