© CCFOUND sp. z o.o. sp.k.
ccFOUND Archive
1 year

What does it mean that the portal script is in PHP 5.4?

Will such a website written in php 5.4 not work on browsers? Can such a script be transferred to the latest php?
Will such a website written in php 5.4 not work on browsers? Can such a script be transferred to the latest php?
Show original content

3 users upvote it!

2 answers


MateuszPalichleb
Differences between PHP 5.4 and the latest PHP (8.3.8). PHP from version 5.4 to the latest version 8.3.8 has gone through a long way of changes (it's not 100% backwards compatible) and there is a good chance that it will not work correctly. It depends on what functions this script uses. Some functions may work differently, have changed names, be removed, or replaced by completely different functions. These changes occurred over time in different PHP versions (usually when the first version number changes e.g. from 7.X to 8.X).   If you want to be sure that it will work the same as it did in version 5.4, run this script on a server using PHP 5.4. Of course, you can play around by checking if everything works without looking at the code, e.g. changing the PHP server version to higher versions like PHP 5.6, PHP 7, etc. and checking if everything works as before. However, this may be a difficult and time-consuming task (depending on the size of the script and what it does), and some errors may still go unnoticed. I wouldn't rely on such an experiment for financial operations. You can migrate it to the latest PHP, but it would require changes to the script code to accommodate all the changes from 5.4 to 8.3. There have been many changes between these versions, so this could also be a significant cost depending on the size of the script. When it comes to proper operation on internet browsers, there is again no definitive answer. It depends on many factors. One of many examples: If a website was created at a time when PHP 5.4 was the latest version (around 2012), then there is a high probability that on browsers from 2024 (12 years later) everything will fall apart on the screen. Unless the script is very simple, uses functions that have survived until now and work consistently (e.g. plain text, URL links). In summary: It depends on so many factors that instead of predicting and guessing, it would be best to simply run this website on a server with PHP version 5.4 and check for yourself if it works on browsers from 2024, not to mention whether it works as intended.
Differences between PHP 5.4 and the latest PHP (8.3.8). PHP from version 5.4 to the latest version 8.3.8 has gone through a long way of changes (it's not 100% backwards compatible) and there is a good chance that it will not work correctly. It depends on what functions this script uses. Some functions may work differently, have changed names, be removed, or replaced by completely different functions. These changes occurred over time in different PHP versions (usually when the first version number changes e.g. from 7.X to 8.X).   If you want to be sure that it will work the same as it did in version 5.4, run this script on a server using PHP 5.4. Of course, you can play around by checking if everything works without looking at the code, e.g. changing the PHP server version to higher versions like PHP 5.6, PHP 7, etc. and checking if everything works as before. However, this may be a difficult and time-consuming task (depending on the size of the script and what it does), and some errors may still go unnoticed. I wouldn't rely on such an experiment for financial operations. You can migrate it to the latest PHP, but it would require changes to the script code to accommodate all the changes from 5.4 to 8.3. There have been many changes between these versions, so this could also be a significant cost depending on the size of the script. When it comes to proper operation on internet browsers, there is again no definitive answer. It depends on many factors. One of many examples: If a website was created at a time when PHP 5.4 was the latest version (around 2012), then there is a high probability that on browsers from 2024 (12 years later) everything will fall apart on the screen. Unless the script is very simple, uses functions that have survived until now and work consistently (e.g. plain text, URL links). In summary: It depends on so many factors that instead of predicting and guessing, it would be best to simply run this website on a server with PHP version 5.4 and check for yourself if it works on browsers from 2024, not to mention whether it works as intended.

Machine translated


6 likes

Postkar36
Information that the portal script is in PHP 5.4 means that this portal uses version 5.4 of the PHP programming language. This version of PHP was released in 2012 and is no longer supported or updated, which can pose security risks and lack compatibility with modern technologies (Coindoo). It is advisable to update the script to a newer, supported version of PHP to ensure better performance and security.
Information that the portal script is in PHP 5.4 means that this portal uses version 5.4 of the PHP programming language. This version of PHP was released in 2012 and is no longer supported or updated, which can pose security risks and lack compatibility with modern technologies (Coindoo). It is advisable to update the script to a newer, supported version of PHP to ensure better performance and security.

Machine translated

https://coindoo.com/how-to-f...

1 like