Page 1 of 1
php 5 to 7
Posted: Tue Sep 13, 2016 2:45 pm
by Vegan
I noticed WP does not like PHP 7 as is, so obviously there will have to be some changes made, no rush as PHP 5.6 is still in service
Not sure if PHP 7 is done or whether there is still work to be done to fix the backwards compatibility issues
Re: php 5 to 7
Posted: Tue Sep 13, 2016 2:57 pm
by Celauran
PHP 7 was released last December. It's a major version, so there are going to be places where they break backwards compatibility. WP, however, should work fine on 7.
Re: php 5 to 7
Posted: Fri Sep 16, 2016 7:25 pm
by Vegan
I tried it a month ago and it would not run, so i had to go back to 5.6 for my gaming site
not sure what the problem is, way too much code to sift through
WP is still using XHTML when 5 is been out now for how long?
Re: php 5 to 7
Posted: Sat Sep 17, 2016 1:24 am
by requinix
O. M. G.
https://codex.wordpress.org/HTML_to_XHTML
Contains tidbits like
WordPress, as a system, is based on documents written in the XHTML scripting language.
WordPress prints XHTML from all its internal functions, all themes therefore are now in XHTML and so too are most plugins. So, if you want to use WordPress, you should buckle down and learn some XHTML as that's where it is right now.
Because of seemingly intractable problems with the development of XHTML..., a competing standard
Code: Select all
supported by Mozilla (Firefox), Apple (Safari), Opera, Microsoft (Internet Explorer) and some other key Internet players has become the new favourite to succeed the old HTML 4.01 standard.[/quote]
[quote]Resources
* [url=http://www.webdevout.net/articles/beware-of-xhtml]Beware of XHTML[/url][/quote]
Re: php 5 to 7
Posted: Sat Sep 17, 2016 11:47 am
by Christopher
You say OMG, but don't something like 25% of all websites run on Wordpress. They need to be more practical than right.
Re: php 5 to 7
Posted: Mon Sep 19, 2016 2:31 pm
by Vegan
Christopher wrote:You say OMG, but don't something like 25% of all websites run on Wordpress. They need to be more practical than right.
I have experience with XHTML and I agree that a lot of web sites use WP. Lots of other sites are messy enough that search engines have a real tough time parsing them. WP is easier as it is forms based and a parser can be developed easily.
I am not sure what chunk of the market that WP has today, but I do know that there are a lot of users, over 1 million the last time I looked.
The improvements with PHP7 are useful for servers but less so for web developers who have to fix their sites, again.
Re: php 5 to 7
Posted: Mon Sep 19, 2016 2:52 pm
by Celauran
Vegan wrote:The improvements with PHP7 are useful for servers but less so for web developers who have to fix their sites, again.
Literally no idea what you're on about here. Care you elaborate?
Re: php 5 to 7
Posted: Mon Sep 19, 2016 7:11 pm
by Christopher
Agreed. PHP7 is simple a better language.
Re: php 5 to 7
Posted: Tue Sep 20, 2016 11:29 am
by Vegan
I recall reading some page on the goals of PHP 7 which was compared against 5.6 for CPU load, the improvements are enough to allow a server to run twice as many WordPress sites which will reduce operating costs for millions of sites. With millions of PHP powered sites, any savings can be spectacular
Re: php 5 to 7
Posted: Tue Sep 20, 2016 11:48 am
by Celauran
Yes, absolutely it's faster. No question about that. What I was questioning was
but less so for web developers who have to fix their sites, again.
This has not been my experience at all. Everything works on 7.0 with zero modifications.
Re: php 5 to 7
Posted: Tue Sep 20, 2016 3:21 pm
by Vegan
The last update to WP fixed a lot of the festering bugs I came across