when you upgrade PHP

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
User avatar
cimage
Verified Member
Verified Member
Posts: 1594
Joined: June 3rd, 2018, 2:36 pm
Title: living the good life

#16

Post by cimage » April 7th, 2020, 11:39 am

so you can have 2 versions of php on the same box?
Stop looking for reps if they don't care why waste your time and traffic at their program, fuck that.
~ cimage 2024

User avatar
FilmLatex
Verified Member
Verified Member
Posts: 383
Joined: March 14th, 2019, 11:40 am

#17

Post by FilmLatex » April 8th, 2020, 1:57 am

cimage wrote: ↑
April 7th, 2020, 11:39 am
so you can have 2 versions of php on the same box?
Yes - as many as you want really - Directadmin and others have the functionality to swap between them easily.
All the best, Hincapie

Submit your sites to Adult List, Loasex.com and FemdomPortal

unicams
Verified Member
Verified Member
Posts: 734
Joined: July 6th, 2018, 8:08 am
Contact:

#18

Post by unicams » April 9th, 2020, 9:00 am

2 versions of PHP on the same server is a first for me. But I can see why you might need it. Thank you for the heads up.
I like making money with cams

User avatar
bestfreeporn
Verified Member
Verified Member
Posts: 2308
Joined: February 20th, 2018, 6:34 pm
Referrals: 1

#19

Post by bestfreeporn » April 10th, 2020, 12:45 am

It's best to use the latest version of PHP and update the scripts and if the scripts are not recently updated to the latest php then dump them, they could be a hackers dream.




User avatar
FilmLatex
Verified Member
Verified Member
Posts: 383
Joined: March 14th, 2019, 11:40 am

#20

Post by FilmLatex » April 10th, 2020, 9:15 am

bestfreeporn wrote: ↑
April 10th, 2020, 12:45 am
It's best to use the latest version of PHP and update the scripts and if the scripts are not recently updated to the latest php then dump them, they could be a hackers dream.
You dont necessarily need to upgrade to be safe - half the web is running php5x ... and PHP tends to get security updates for ages after new updates are out and sundown is usually at least a year ... now theyve finally stopped supporting 5x alltogether - but still, the problem only arises when new vulnerabilities are found after the security support has finally ended. So yeah, its wise to go 7 - but its not like "panic, panic, 5.6 is an open door" - it isnt, it was well plugged and patched before the end.

The main reason to change is the performance gains in PHP7x which are significant (because of Zend being finally replaced, smarter calls and other things)

Heres a comparison: https://www.geeksforgeeks.org/php-5-vs-php-7/
All the best, Hincapie

Submit your sites to Adult List, Loasex.com and FemdomPortal

JB2302
Verified Member
Verified Member
Posts: 185
Joined: March 31st, 2018, 4:51 am

#21

Post by JB2302 » April 11th, 2020, 7:12 pm

FilmLatex wrote: ↑
April 10th, 2020, 9:15 am
bestfreeporn wrote: ↑
April 10th, 2020, 12:45 am
It's best to use the latest version of PHP and update the scripts and if the scripts are not recently updated to the latest php then dump them, they could be a hackers dream.
You dont necessarily need to upgrade to be safe - half the web is running php5x ... and PHP tends to get security updates for ages after new updates are out and sundown is usually at least a year ... now theyve finally stopped supporting 5x alltogether - but still, the problem only arises when new vulnerabilities are found after the security support has finally ended. So yeah, its wise to go 7 - but its not like "panic, panic, 5.6 is an open door" - it isnt, it was well plugged and patched before the end.

The main reason to change is the performance gains in PHP7x which are significant (because of Zend being finally replaced, smarter calls and other things)

Heres a comparison: https://www.geeksforgeeks.org/php-5-vs-php-7/
Thanks that put my mind at ease




User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#22

Post by bill » April 11th, 2020, 8:36 pm

but some old phps can work with php7

User avatar
FilmLatex
Verified Member
Verified Member
Posts: 383
Joined: March 14th, 2019, 11:40 am

#23

Post by FilmLatex » April 12th, 2020, 8:31 am

bill wrote: ↑
April 11th, 2020, 8:36 pm
but some old phps can work with php7
Generally no, php7x works differently & scripts based on old versions will break & die if you try them without upgrading them (equally as some have tried, running php7 scripts on a php5 box will not work) - it depends on the specific script how "badly" it breaks, some wont run at all & some will just throw a few errors.

The reason the major scripts work anyway "out of the box" after an upgrade is that say Wordpress, Joomla, Drupal etc have the necessary fixes, db upgrades etc built in and will apply them when a new PHP version is detected (in very simplified words, dont kill me for inaccuracy :D )

There are tools you can use to test if a script is compatible with php7 - like the one they use in this guide: https://linuxhostsupport.com/blog/how-t ... ith-php-7/ ...but....I´d argue that if youre savvy enough to figure out the nerd tools, you might as well just upgrade your scripts :) If you have both php5 and php7 installed on the box you can just swap back and forth to test anyway.
All the best, Hincapie

Submit your sites to Adult List, Loasex.com and FemdomPortal

User avatar
gspotman
Verified Member
Verified Member
Posts: 1417
Joined: June 6th, 2018, 7:42 pm

#24

Post by gspotman » April 13th, 2020, 8:20 pm

FilmLatex wrote: ↑
April 12th, 2020, 8:31 am
bill wrote: ↑
April 11th, 2020, 8:36 pm
but some old phps can work with php7
Generally no, php7x works differently & scripts based on old versions will break & die if you try them without upgrading them (equally as some have tried, running php7 scripts on a php5 box will not work) - it depends on the specific script how "badly" it breaks, some wont run at all & some will just throw a few errors.

The reason the major scripts work anyway "out of the box" after an upgrade is that say Wordpress, Joomla, Drupal etc have the necessary fixes, db upgrades etc built in and will apply them when a new PHP version is detected (in very simplified words, dont kill me for inaccuracy :D )

There are tools you can use to test if a script is compatible with php7 - like the one they use in this guide: https://linuxhostsupport.com/blog/how-t ... ith-php-7/ ...but....I´d argue that if youre savvy enough to figure out the nerd tools, you might as well just upgrade your scripts :) If you have both php5 and php7 installed on the box you can just swap back and forth to test anyway.
Nice explanation thanks
Teams: 60c094411cbb39b8
Email: gspotman@gmx.com

plumpprincessxxx
Verified Member
Verified Member
Posts: 228
Joined: November 14th, 2018, 9:56 pm

#25

Post by plumpprincessxxx » April 15th, 2020, 8:40 am

When did the first version of php come about and who started it.




DeSexGuide
Verified Member
Verified Member
Posts: 1842
Joined: May 4th, 2018, 6:51 pm

#26

Post by DeSexGuide » April 17th, 2020, 8:25 am

My servers are both managed and my host asked me end of last year of I wanted to upgrade the PHP and I checked the scripts I run and said go for it.It wet smoothly. I guess they asked because they knew some people may have scripts that will not work on the latest iteration of PHP.




Cumslut
Verified Member
Verified Member
Posts: 462
Joined: October 24th, 2018, 5:59 am

#27

Post by Cumslut » April 19th, 2020, 8:08 am

Not worried because I mainly use WP and my server is fully managed by the host, and so when the time comes for a PHP update my host does this for me, and my WP does auto-updates.




ispdn
Verified Member
Verified Member
Posts: 1450
Joined: March 25th, 2018, 8:23 pm

#28

Post by ispdn » April 21st, 2020, 8:35 am

plumpprincessxxx wrote: ↑
April 15th, 2020, 8:40 am
When did the first version of php come about and who started it.
Back in 1994 by some guy Rasmus Lerdorf




monsta
Verified Member
Verified Member
Posts: 1459
Joined: March 21st, 2018, 3:37 pm

#29

Post by monsta » April 23rd, 2020, 7:15 am

surely you can not link the WP blogs on the same domain to the new version of php and the older scripts on the same domain running the older version.




when you upgrade PHP

Post Reply