The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
PHP-General - About upgrading php
Discuss About upgrading php in the PHP Development forum on Dev Shed. About upgrading php PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 2nd, 2012, 06:27 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 22 m 39 sec
Reputation Power: 0
|
|
|
PHP-General - About upgrading php
Why must I upgrade or change php script when new version is released ? If I don't upgrade the script, what will happen ?
Thank you 
|

October 2nd, 2012, 08:26 PM
|
 |
Lost in code
|
|
|
|
|
I'm not sure whether you mean upgrading PHP itself or upgrading a PHP script.
If a new version of a PHP script that you're using is released, you generally should update. Software updates in generally often contain security fixes, so the result of not updating could mean your site gets hacked.
If a new version of PHP is released, upgrading is less important; but like all software PHP updates include security fixes too. Additionally, newer PHP scripts will not work with older versions of PHP, so upgrading is important because it allows you to continue upgrading your PHP scripts.
|

October 3rd, 2012, 05:36 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 22 m 39 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by E-Oreo I'm not sure whether you mean upgrading PHP itself or upgrading a PHP script.
If a new version of a PHP script that you're using is released, you generally should update. Software updates in generally often contain security fixes, so the result of not updating could mean your site gets hacked.
If a new version of PHP is released, upgrading is less important; but like all software PHP updates include security fixes too. Additionally, newer PHP scripts will not work with older versions of PHP, so upgrading is important because it allows you to continue upgrading your PHP scripts. |
@E-Oreo : I mean upgrading PHP Script. Not PHP itself. Because i always update php script runner (PHP itself) . thank u ^_^
|

October 3rd, 2012, 06:21 AM
|
|
|
|
it depends.. you need to see what has changed (functions usually which you will be using in your script), removed from your version to the new version. If nothing has changed, you dont need to do anything.
for example: for php 4 and 5, this will work: if (isset($_POST['varoiable'])) {
so no need to change the script.
you could always run your script in the new version and see if everything is running smoothly
|

October 3rd, 2012, 06:55 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 22 m 39 sec
Reputation Power: 0
|
|
hey all thanks for your answers.
i know upgrading php script is important for security
if i have enough money, i will use ssl also for my site

|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|