Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-01-2019, 12:37 AM   #1
tobedeleted
Pay Per Minute Products
 
Industry Role:
Join Date: Nov 2015
Posts: 299
PHP Version

For those of you that run Linux/Apache and code with PHP/MySQL what version are you using? I've been making a lot of optimization changes to get the most out of my server and I've seen opinions on 5.6 vs 7+, but 7 requires a lot. Especially if your coming from an outdated version.

I'm testing with the multi php feature and seeing if I can truely see a difference, but just wanted to know if anyone has some advice on this.
tobedeleted is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 01:51 AM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
The porn industry is specific - we use alot of things like trade scripts that haven't been updated in years. If you are coding for porn, then it's best to code for 5.6, and maintain compatibility but not REQUIRE php 7
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 02:03 AM   #3
magneto664
God Bless You
 
magneto664's Avatar
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow, $cotland
Posts: 1,467
Don't use noting less than 7.1
currently move all domains to 7.3
__________________
magneto664 📧 gmail.com
Adult Backlinks 💘Best Website Stats 💘 Best CDN for Adult Content
My Fav: 👍Chaturbate 👍 Stripchat 👍 Dateprofits 👍 AdultFriendFinder
magneto664 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 02:10 AM   #4
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by magneto664 View Post
Don't use noting less than 7.1
currently move all domains to 7.3
Be careful with using cutting edge php version. I've seen ioncube cause 7.x to segfault completely.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 03:28 AM   #5
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,601
Quote:
Originally Posted by k0nr4d View Post
The porn industry is specific - we use alot of things like trade scripts that haven't been updated in years. If you are coding for porn, then it's best to code for 5.6, and maintain compatibility but not REQUIRE php 7
Listen to this guy, he is right.

Most scripts for adult haven't been maintained for some time and PHP 5.6 is the safe bet.

However if you're running Wordpress or anything modern, even Mechbunny, you can use PHP 7 safely.
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 06:41 AM   #6
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by sincats View Post
For those of you that run Linux/Apache and code with PHP/MySQL what version are you using? I've been making a lot of optimization changes to get the most out of my server and I've seen opinions on 5.6 vs 7+, but 7 requires a lot. Especially if your coming from an outdated version.

I'm testing with the multi php feature and seeing if I can truely see a difference, but just wanted to know if anyone has some advice on this.
PHP 7+ is about two times faster than PHP 5+. So my answer is obvious.



P.S. The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 08:55 AM   #7
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
if the script requires 7+ then i use 7+
else whichever yum has.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 11:59 AM   #8
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,233
PHP is moving forward and developers don't want to be left behind.
Expecting developers to hang around to work on antiquated code is a bad idea.
Failure of porn sites to use php7 is why developers need to exit porn for good.
Porn biz is slow, so developers have to build mainstream modern code; not ancient code.

Sticking with php5+ is only going to make a half dead porn industry even more dead.

__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 12:01 PM   #9
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Indeed .
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 12:22 PM   #10
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,229
Quote:
Originally Posted by CyberSEO View Post
The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
Well done
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 12:43 PM   #11
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Well, what is interesting , i saw on one benchmark how php 5.6 is much faster for some reason then php 7, so maybe better to hold up. But again, it could also depend which functions are used.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 06:57 PM   #12
Miguel T
♦ Web Developer ♦
 
Miguel T's Avatar
 
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,470
7.2 right now
__________________

Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress
Miguel T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-01-2019, 08:51 PM   #13
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,601
Everything I develop for myself is bleeding edge PHP 7.3

Scripts I update for the open source community will all be PHP 7.1

PHP 5.6 is end of life, in fact anything below 7.1 is end of life.

PHP: Supported Versions
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 02:46 AM   #14
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by AdultKing View Post
Everything I develop for myself is bleeding edge PHP 7.3

Scripts I update for the open source community will all be PHP 7.1

PHP 5.6 is end of life, in fact anything below 7.1 is end of life.

PHP: Supported Versions
It doesn't hurt to have compatible scripts, even if current versions are not good at the moment.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 04:12 AM   #15
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by CyberSEO View Post
PHP 7+ is about two times faster than PHP 5+. So my answer is obvious.



P.S. The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.
It's faster - yes - but in real world applications doesn't come out like that. PHP7 won't speed up mysql queries.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 07:30 AM   #16
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by AdultKing View Post
^^^ this.

Quote:
Originally Posted by k0nr4d View Post
PHP7 won't speed up mysql queries.
MySQL 5.5+ will do it.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 07:37 AM   #17
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,233
Quote:
Originally Posted by CyberSEO View Post
MySQL 5.5+ will do it
He's not listening to that; because of his php5+ tube script.

__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 09:31 AM   #18
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
security is most valuable
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 09:34 AM   #19
tobedeleted
Pay Per Minute Products
 
Industry Role:
Join Date: Nov 2015
Posts: 299
When it comes to speed there are a lot of variables that make a much bigger impact..

Efficient queries, compression, CDN, etc. Hell even just compressing your design images and making more use of CSS will make a big impact on speed.

I have a duplicate dev build that I'm upgrading to 7+ and that will help me really see just how much of a difference it will make. But they have changed the sql libraries and so much that in some cases I have to completely re-write entire modules.

But yeah.. Staying relevant is important. I've got a buddy that has a job maintaining existing programs written in cobol. He's been doing it so long that he's not up to date at all with anything else. So as a programmer you can see how that would be a problem if he lost that job.

Most good developers stay on top of the latest tech.
tobedeleted is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-02-2019, 09:37 AM   #20
tobedeleted
Pay Per Minute Products
 
Industry Role:
Join Date: Nov 2015
Posts: 299
Quote:
Originally Posted by seeandsee View Post
security is most valuable
True, most important.
tobedeleted is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
version, php, lot, feature, multi, coming, outdated, testing, advice, truely, difference, opinions, php/mysql, code, linux/apache, run, optimization, server, requires



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.