Skip to main content
Inspiring
November 8, 2010
Answered

Does PHP 5.29 run PHP 4 with no problems

  • November 8, 2010
  • 1 reply
  • 479 views

I have a web site (http://www.tyneships.co.uk) that I wrote some years ago using PHP4 and MySQL.

The hosting service now tells me that PHP4 is out of date, and asks if I would like to switch the

site to one running PHP5.

Currently I do not have a system at home running PHP5, so I would dearly like to know what, if any, problems I would have to cope with in conversion.

I will be using Dreamweaver CS4 on a Windows 7 machine instead of  the CS3 on XP machine that I used to create the site.

Besides querying the database for surfers the site is updated by its owner with no knowledge of any programing language, using some code that I wrote for him. However, that was 4 or five years ago, and I have not written any PHP since then.

The only added extension is a picture file uploader, which I can update if need be.

All help appreciated.

This topic has been closed for replies.
Correct answer David_Powers

whatalotofrubbish wrote:

The hosting service now tells me that PHP4 is out of date, and asks if I would like to switch the

site to one running PHP5.

Welcome to the future. PHP 5 was released in 2004, and all support for PHP 4 ended on 8 August 2008.

The good news is that PHP 5 was designed to be backwards compatible with PHP 4 with only a few minor exceptions. You can find details here: http://docs.php.net/manual/en/faq.migration5.php.

All code created by Dreamweaver CS4 is compatible with PHP 5.

1 reply

David_Powers
David_PowersCorrect answer
Inspiring
November 8, 2010

whatalotofrubbish wrote:

The hosting service now tells me that PHP4 is out of date, and asks if I would like to switch the

site to one running PHP5.

Welcome to the future. PHP 5 was released in 2004, and all support for PHP 4 ended on 8 August 2008.

The good news is that PHP 5 was designed to be backwards compatible with PHP 4 with only a few minor exceptions. You can find details here: http://docs.php.net/manual/en/faq.migration5.php.

All code created by Dreamweaver CS4 is compatible with PHP 5.

Inspiring
November 9, 2010

Many thanks. As the code still worked fine, I saw no reason to change things. However, now its really out of date, I will follow your advice.

Howard