Web Hosting Help - Software Questions
You're currently browsing the answers and replies to a question asked related to software questions. If you wish to post a better answer or share greater insight into this question, feel free to post it.
Posted On: Sat 2 July, 2005
Asked By: Hazel F. |
I plan to upgrade my version of PHP 4 to PHP 5 on my FreeBSD box. Should I be concerned with my existing PHP scripts? |
Posted On: Wed 13 July, 2005
Answered By: Michael Williams |
| Well, I certainly wouldn’t be concerned too much as I have updated all my web hosting servers to PHP 5 with absolutely no complaints. If you go to the Zend website, they have a page which lists the differences between the two versions of PHP – which isn’t a lot to be honest.
If you have clients running on your web servers then you can run the two versions in parallel. You will have to set up your Apache (or whatever web server you’re using) to handle different file extensions with corresponding versions of PHP. For example, files with .PHP and .PHP4 will still be parsed and handled by PHP 4, while .PHP5 extensions can be parsed by PHP 5. It’s really simple to set up if you compiled your PHP as a module add-on.
Overall, I would suggest that you move entirely over to PHP 5 soon. If I remember correctly, from PHP 4.3.1 onwards, no major updates will be made only minor security updates. All major developments will be focused on the version 5 branch.
Michael Williams
i-Tech Solutions
Senior System Administrator
|
Do you have an answer or something to share as well regarding this question?
|