Tech-Evangelist

Technical Articles, Musings and Opinions from Tech-Evangelist

  • Home
  • About
  • Guidelines
Previous article: Are You Ready for Laser-Powered 3D Television?
Next article: What Is An Autoblog?

Lots of Deprecated Features in PHP 5.3 Will Break Web Sites

November 11, 2009 By Doogie - Copyright - All Rights Reserved

Many older sites written in PHP as well as many newer sites that evolved from older legacy code will find their sites broken when their servers are upgraded to PHP 5.3. That’s because many older PHP functions and INI directives are now formally deprecated (made obsolete) in version 5.3.

This will not just affect ancient web sites written with very old versions of PHP. Many fairly current PHP sites, including several popular shopping carts, will crash when their hosting company upgrades the server to PHP 5.3. As a code system evolves, it is not unusual for some older code to remain.

We learned about the PHP 5.3 through the Zen Cart forum. The Zen Cart team has already produced a patch consisting of several scripts that need to be replaced to upgrade the code. Kudos to these guys and gals, because they are on the ball, which will be greatly appreciated by many loyal Zen Cart users.

Most of the time deprecated functions continue to work when a PHP version is upgraded, because older functions are typicaly grandfathered in when a new version is released. Apparently this is not the case with with PHP 5.3 because a Deprecated Error (not a warning) is generated. This can cause a site to fail.

The PHP site does display a list of depreciated functions along with the newer equivalent replacements. If you have sites written in PHP, it may be wise to scan through this list as well as your PHP code.

Filed Under: PHP Tutorials, Tech News, Web Site Development

Comments

  1. Glenn Friesen says

    May 24, 2010 at 2:30 pm

    Wow. Thanks for the warning. I’ll have to dive in to some custom PHP and see if anything’s depricated. Good to do before, rather than after right! Thanks guys for the word —

Categories

  • Affiliate Marketing
  • CSS Tutorials
  • FileZilla Tutorials
  • Home Theater
  • Internet Marketing
  • Internet Technology
  • Kindle Tips
  • MySQL Tutorials
  • Online Auction Tips
  • Paint Shop Pro Tutorials
  • PHP Tutorials
  • Tech News
  • Thunderbird Tutorials
  • Video Production
  • Web Site Development
  • WordPress Tutorials
Content and images are copyrighted by Tech-Evangelist.com and others

Copyright © 2023 Tech-Evangelist.com - All Rights Reserved
Posted code samples are free to use. Do not reproduce or republish articles or content on another web site.

Privacy Policy : Terms of Use