PHP 5.x vs 7.x - which version is better?

Cheerag Nundlall

Well-known member
Joined
Oct 12, 2016
Messages
139
Best answers
0
Ratings
8
Points
18
#1
I am using PHP 5 for several sites and some sites with PHP 7 but I don't see any differences between them because I can use Memcache on server that running PHP 5 while with PHP 7 I had to remove that caching. In your point of view, which is better for websites? PHP 5.x vs 7.x?
 
Joined
May 9, 2018
Messages
21
Best answers
1
Ratings
15 6
Points
3
#2
Well, PHP 5.6 - the last of PHP 5 - is going end of life at the end of this year. So it's probably a good idea to think about moving to PHP 7.1 or PHP 7.2.

When PHP 5.6 goes end of life, it won't receive any security updates from PHP.

This may or may not be that important to you, but from the standpoint of insuring security, it's always best to base your software on tools that are still "in life."
 

hostens

Well-known member
Joined
Jan 18, 2017
Messages
201
Best answers
2
Ratings
80 9
Points
28
#3
If you have the possibility to choose the PHP version it is always recommended to go with the newest one. Lots of new applications and programmes are expecting the newest version. They have less security and other bugs and are usually much faster.
 

mobin

Well-known member
Joined
Jun 22, 2017
Messages
213
Best answers
0
Ratings
86 1
Points
28
#4
If your applications support PHP 7, go for it. Choosing old versions of PHP especially one which is reaching EOL soon is a real bad idea.
 
Latest Threads
Replies
0
Views
2
Replies
3
Views
32
Replies
0
Views
13
Recommended Threads
Replies
1
Views
283
Replies
2
Views
1,338
Replies
1
Views
1,268
Replies
12
Views
614

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top