Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do I have to move toward PHP5?

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR

Hi guys,

In the search of a webhost for one of my clients, I find a majority of hosts that want me to use PHP5 instead of PHP4.

The problem is that I use a couple of libraries that are coded OOP style but that aren't programmed for PHP5. And I don't know how to edit them to make them PHP5 compliant.

What should I do?
 
they should work in php5.

php4 has been end-of-lifed. security patches only will be released (and this only until August).

bear in mind that php6 is also on its way...
 
Hi Jpadie :)

How can you be so sure they will work on PHP5?
Anyway, I'll install PHP5 on my local machine and see what happens.

I'll come back and make fun of you in case something bad happens ahaha ;)
 
i can't be sure sure sure, but php5 is backwards compatible with php4 with only minor zoinks.

the biggest headache is that the defaults in php.ini are different and the mysql is not bundled with php5.

here is a list of backward incompatibilities (zoinks, in my book).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top