GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP Version (https://gfy.com/showthread.php?t=1308749)

tobedeleted 02-01-2019 12:37 AM

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.

k0nr4d 02-01-2019 01:51 AM

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

magneto664 02-01-2019 02:03 AM

Don't use noting less than 7.1
currently move all domains to 7.3

k0nr4d 02-01-2019 02:10 AM

Quote:

Originally Posted by magneto664 (Post 22408343)
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.

AdultKing 02-01-2019 03:28 AM

Quote:

Originally Posted by k0nr4d (Post 22408341)
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.

just a punk 02-01-2019 06:41 AM

Quote:

Originally Posted by sincats (Post 22408326)
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.

https://www.thewebmaster.com/img/hos...og_I9oVF0P.jpg

P.S. The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.

freecartoonporn 02-01-2019 08:55 AM

if the script requires 7+ then i use 7+
else whichever yum has.

blackmonsters 02-01-2019 11:59 AM

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.

:2 cents:

just a punk 02-01-2019 12:01 PM

Indeed .

Bladewire 02-01-2019 12:22 PM

Quote:

Originally Posted by CyberSEO (Post 22408431)
The CyberSEO 7 plugin is fully compatible with both PHP 5.6 and PHP 7+ on all levels.

Well done :thumbsup

Klen 02-01-2019 12:43 PM

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.

Miguel T 02-01-2019 06:57 PM

7.2 right now :)

AdultKing 02-01-2019 08:51 PM

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

Klen 02-02-2019 02:46 AM

Quote:

Originally Posted by AdultKing (Post 22408955)
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.

k0nr4d 02-02-2019 04:12 AM

Quote:

Originally Posted by CyberSEO (Post 22408431)
PHP 7+ is about two times faster than PHP 5+. So my answer is obvious.

https://www.thewebmaster.com/img/hos...og_I9oVF0P.jpg

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.

just a punk 02-02-2019 07:30 AM

Quote:

Originally Posted by AdultKing (Post 22408955)

^^^ this.

Quote:

Originally Posted by k0nr4d (Post 22409070)
PHP7 won't speed up mysql queries.

MySQL 5.5+ will do it.

blackmonsters 02-02-2019 07:37 AM

Quote:

Originally Posted by CyberSEO (Post 22409133)
MySQL 5.5+ will do it :2 cents:

He's not listening to that; because of his php5+ tube script.

:2 cents:

seeandsee 02-02-2019 09:31 AM

security is most valuable

tobedeleted 02-02-2019 09:34 AM

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 02-02-2019 09:37 AM

Quote:

Originally Posted by seeandsee (Post 22409202)
security is most valuable

True, most important.


All times are GMT -7. The time now is 10:58 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc