News Feed
Sections

News Archive


Community Events






Don't see your event here?
Let us know!


feed this:

Developer Tutorials Blog:
Migrating legacy PHP 4 applications to PHP 5
0 comments :: posted Thursday July 10, 2008 @ 07:56:41
voice your opinion now!

In a new post to the Developer Tutorials blog Akash Mehta takes a look at migrating PHP4 applications up to the more recent versions of PHP5.

PHP 5 supports most of the legacy syntax features of PHP 4. Most code written for PHP 4 should function fine under PHP 5, and a comprehensive test suite could check this. However, many of the backwards-incompatible changes in PHP 5 were in regard to language quirks, and quite a few hacks rely on these in order to function.

He points out some of these hacks including changes to the object model and updates to the way variables are handled (breaking many "bad use" cases). He also points out the changes made in the latest Windows binaries as well as some of the new reserved keywords that could conflict with pre-existing code in your application.

tagged with: migrate application php4 php5 legacy upgrade gotcha


Ibuildings Blog:
T minus one (the PHP4 8-8-08 Deadline)
0 comments :: posted Wednesday July 09, 2008 @ 08:46:13
voice your opinion now!

As Ivo Jansch pointed out yesterday it's a month until the fateful day that PHP4 will officially die:

It's July the 8th. Today I realized that we're exactly one month away from 8-8-8, the final blow to PHP4.

August 8th marks the point when nothing (at all) will be done to any version of PHP4 again. Full support ended back in December of 2007 with no new versions being released. 8-8-08 marks the end of that as well and PHP4 developers that discover bugs may not be able to get them fixed.

Ivo sums it it perfectly:

I'm not trying to scare you. No wait, I am. Don't let 8-8-8 become the PHP community's 6-6-6 and abandon PHP4 while you still can.
tagged with: deadline php4 final php5 upgrade security fix

Stefan Priebsch's Blog:
php|architect's Guide to PHP 5 Migration is out
0 comments :: posted Friday June 13, 2008 @ 09:33:24
voice your opinion now!

Stefan Priebsch has posted about the official release of his book, one of the latest from php|architect press - "php|architect's Guide to PHP 5 Migration".

Thanks to the hard work of Elizabeth, Marco, and all the others at php|architect, my new book, php|architect's Guide to PHP 5 Migration has been released.

The book aims to be the only one you'll need when it comes to guiding you and your applications from the PHP4 dark ages up to the world of PHP5. You can order your copy directly from php|architect - the Print/PDF combo for about $33 CAD and the PDF only for around $30 CAD.

tagged with: book phparchitect guide migration php4 php5 stefanpriebsch

Shantanu Goel's Blog:
Migrating From PHP4 To PHP5 Solving WP-Cache (and maybe other) Issues
0 comments :: posted Thursday May 01, 2008 @ 14:23:33
voice your opinion now!

If you're a WordPress user and are in the process of an upgrade from PHP4 to PHP5, you might be having a few issues. One problem can be cause by the wp-cache component and this recent post from Shantanu Goel.

The issues range from weird page layouts, to some controls not working, to some errors popping up here and there, and probably your blog not even displaying. This occurs because even though WordPress is PHP5 compatible, some of the plugins you are using might not be.

In his case, it was the wp-cache plugin that was causing the problems. Permissions weren't right to allow it to do its job. This resulted in problems rendering content and with the site acting as it normally would. His solution involved disabling and reenabling the plugin after deleting the cache and lock file the plugin uses.

tagged with: wordpress php4 php5 issue wpcache plugin

Nexen.net:
PHP Statistics for February 2008
0 comments :: posted Thursday March 06, 2008 @ 09:32:00
voice your opinion now!

Damien Seguy has posted the PHP statistics for this month - the results from February 2008 - here's some of the highlights:

  • PHP 5 set record of growth : + 2,5%, up to 32%
  • PHP 5.2 is the second most popular version, ahead of 4.3.
  • PHP 4.4.8's popularity is falling

You can check out the numbers yourself for the month as well as the evolution stats showing how things are progressing. He's also added a new graph this month showing the adoption rate that PHP5 is having in the online world.

tagged with: statistics february php5 php4 evolution usage adoption rate

Philip Olson's Blog:
A brief history of PHP logos
0 comments :: posted Monday February 25, 2008 @ 08:44:00
voice your opinion now!

In a new blog entry Philip Olson takes a look back at the "brief history" of the PHP logo and how its evolved over the years the language has been around.

PHP 4.0.0 added main/logo.h which contains the logos themselves (as text (a bunch of numbers (magic))) so I checked out every version of this file from CVS, parsed them to create the images, sorted by version/size, then wrote this blog post.

When the language started out there wasn't much in the way of a logo until PHP3 came around. Philip shows some of these early prototypes (most of which look nothing like the familiar purple oval of today). Things evolved with PHP4 and jokes were even played with the area inside the shape - everything from developers and dogs to bunnies showed up at different times of year or with special URLs.

tagged with: logo php4 php3 purple oval evolution joke

Security News:
Slackware Linux Updated PHP4 Package
0 comments :: posted Friday February 15, 2008 @ 11:15:00
voice your opinion now!

The Slackware linux development group has released a new package for PHP4-using users of their distribution today:

New php-4.4.8 packages are available for Slackware 10.2 and 11.0 to fix security issues. More details about the issues may be found here: http://bugs.php.net/43010.

You can download it from their FTP sites, two versions for each of the most recent distributions: Slackware 10.2 and Slackware 11.0

tagged with: slackware linux update security php4 package download

Nexen.net:
PHP Statistics for January 2008
1 comment :: posted Wednesday February 13, 2008 @ 15:11:34
voice your opinion now!

Damien Seguy has posted this month's (well, January 2008's) PHP statistics to the Nexen.net website. Highlights from this edition include:

  • PHP 5 displays strong growth, almost at 30%
  • PHP 5.2 will be more popular than PHP 4.3 before April
  • PHP 5.2.5 is already the dominating version of PHP 5
  • PHP 4.4.8 not so popular

You can get the full details on this month's statistics from the full list of the statistics and the evolution posted on Nexen.

tagged with: statistics php4 php5 evolution detail

DevShed:
Executing Destructors Manually in PHP 5
0 comments :: posted Wednesday February 13, 2008 @ 11:27:00
voice your opinion now!

Finishing off their series on destructors in PHP5 applications today, DevShed has posted this new tutorial showing how to manually run the destructors of your class (in case there's ever a need).

In this final tutorial of the series I'm going to show you how to manually trigger a destructor, and in addition you'll learn how to emulate the behavior of this magic method when using PHP 4.

They not only talk about how to call the destructor manually but they also show how to call multiple destructors at the same time to destroy lots of objects at once. And, as promised, they include a method for being able to use a destructor-like bit of functionality in a PHP4 app as well.

tagged with: php5 destructor execute manual php4 emulate multiple

Developer Tutorials Blog:
PHP Web Hosts The Version Dilemma
0 comments :: posted Tuesday February 05, 2008 @ 09:31:00
voice your opinion now!

In this post to the Developer Tutorials blog, Akash Mehta talks about the "version dilemma" that developers face when looking for good hosting - with all of the push towards PHP5 these days, why is it that so many hosting environments are still running on PHP4?

If you purchase a cheap hosting account with many of the major web hosts around today, chances are they will be running PHP 4. The problem for web hosts is this: the PHP community may have moved on from version 4, but a lot of the code out there hasn't.

He recommends one solution that several hosting providers are starting to gravitate towards - offering both to their customers and allowing them to switch between them (via something like cPanel).

tagged with: version dilemma php4 php5 hosting application cpanel


mysql example ajax zend zendframework developer book application release job database package cakephp PHP5 conference security releases framework PEAR code

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework