<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 12 Feb 2012 17:22:00 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPClasses.org: Another Serious Security Bug on PHP 5.3.9]]></title>
      <guid>http://www.phpdeveloper.org/news/17504</guid>
      <link>http://www.phpdeveloper.org/news/17504</link>
      <description><![CDATA[On the PHPClasses.org blog there's <a href="http://www.phpclasses.org/blog/post/175-Another-Serious-Security-Bug-on-PHP-539.html">a new post</a> detailing an issue that came up in the PHP 5.3.9 release that caused a large security issue (PHP 5.3.10 has, however, <a href="http://php.net/downloads">already been released</a> to correct the issue).
</p>
<blockquote>
PHP 5.3.9 release was mostly meant to fix a security bug, but it introduced a new more serious bug. PHP 5.3.10 was just released to fix this issue. [...] This time it is a bug that allows arbitrary remote code execution. This means that it allows to run arbitrary code on the server, injected by an eventual attacker, so it can be used to cause many types of damage inside a server.
</blockquote>
<p>
The upgrade to <a href="http://php.net/downloads">PHP 5.3.10</a> is highly recommended to prevent this issue from effecting your applications. The <a href="http://www.phpclasses.org/blog/post/175-Another-Serious-Security-Bug-on-PHP-539.html">post</a> also mentions the dropping of Suhosin support (a security plugin for PHP) on the Debian linux distribution's default installation and how the PHP community has reacted to the decision.
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 14:16:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: PHPUnit Aborted Fix]]></title>
      <guid>http://www.phpdeveloper.org/news/17419</guid>
      <link>http://www.phpdeveloper.org/news/17419</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> ran into an issue with hit unit tests where <a href="http://phpunit.de">PHPUnit</a> was throwing an "aborted" error no matter what tests were run. Thankfully, in <a href="http://www.littlehart.net/atthekeyboard/2012/01/17/phpunit-aborted-fix/">this new post</a>, he shares a solution.
</p>
<blockquote>
That was a pretty annoying bug. I never did find out what the problem was as I moved onto other problems and chalked that error up to some undiagnosed weirdness on that particular server. From time to time I would get asked on Twitter if I had ever solved the problem. My answer was always "no, and if you do solve it please let met know how you fixed it." Today, my friends, was the day.
</blockquote>
<p>
Based on a response from <a href="https://twitter.com/demiankatz">Demian Katz</a>, he was able to get around the issue with flag set on the PHPUnit command line - "-dzend.enable_gc=0". Apparently the issue has to do with <a href="https://bugs.php.net/bug.php?id=53976">garbage collection</a> and has been a known issue since the beginning of 2011.
</p>]]></description>
      <pubDate>Thu, 19 Jan 2012 11:16:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: Easily Test PHP 5.4 Beta on OS X with PHP-OSX]]></title>
      <guid>http://www.phpdeveloper.org/news/16881</guid>
      <link>http://www.phpdeveloper.org/news/16881</link>
      <description><![CDATA[<p>
<i>Christian Stocker</i> has a quick new post on the Liip blog today about an <a href="http://blog.liip.ch/archive/2011/09/19/easily-test-php-5-4-beta-on-os-x-with-php-osx.html">easy way to test the PHP 5.4 beta</a> on your OS X-based platform with a simple package install and symlink.
</p>
<blockquote>
Since the first beta of the next major release of PHP was released a few days ago, I thought we could provide packages for people who'd like to test it and see if there software is still running. And make adjustments or report bugs, if it doesn't. Complaining after the official stable release was made is usually too late, so testing your software against beta releases is very important. For your project and for PHP.
</blockquote>
<p>
The install involves grabbing their package from the Liip server and calling the "packager.py" executable to make the version swap. You can go back to the pre-installed PHP5 version anytime by updating the symlink back. If you want more information on the package (or to report bugs) you can find the project <a href="https://github.com/liip/php-osx/issue">over in github</a>.
</p>]]></description>
      <pubDate>Tue, 20 Sep 2011 10:43:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[rooJSolutions Blog: Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.]]></title>
      <guid>http://www.phpdeveloper.org/news/16810</guid>
      <link>http://www.phpdeveloper.org/news/16810</link>
      <description><![CDATA[<p>
New from the rooJSolutions blog there's a post pointing out an issue that PHP 5.3.7 has broken the <a href="http://php.net/is_a">is_a</a> functionality in a lot of cases. <a href="http://roojs.com/index.php/View/242/.html">The post</a> talks some about what's broken and how you can work around it if you're effected.
</p>
<blockquote>
The key issue was that 5.3.7 accidentally broke is_a() for a reasonably large number of users. Unfortunately the fixup release 5.3.8 did not address this 'mistake', and after a rather fruitless exchange I gave up trying to persuade the group (most people on mailing list), that reverting the change was rather critical (at least pierre supported reverting it in the 5.3.* series).
</blockquote>
<p>
This new issue was causing some strange errors to pop up in his code because of a parameter type change in the <a href="http://php.net/is_a">is_a</a> call, updating the first parameter to be an object instead of a class name. The is_a() call sends its requests to __autoload in some cases and the string->object mismatch of those parameters causes errors to be thrown. His workaround is, in your checking, just be sure to call an <a href="http://php.net/is_object">is_object</a> first before passing things off to be is_a() checked and autoloaded.
</p>]]></description>
      <pubDate>Fri, 02 Sep 2011 10:43:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP Episode 15 - PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16803</guid>
      <link>http://www.phpdeveloper.org/news/16803</link>
      <description><![CDATA[<p>
PHPClasses.org has posted their latest "Lately in PHP" podcast today with mentions of <a href="http://www.phpclasses.org/blog/post/157-PHP-538-Upgrade-PHP-54-beta-Wrong-Ideas-About-PHP--Lately-in-PHP-Episode-15.html">PHP 5.3.8 and some of the wrong ideas that are common when referring to PHP</a> (from <a href="http://phpdeveloper.org/news/16742">their previous post</a>).
</p>
<blockquote>
Another PHP 5.3 version was released. Manuel Lemos and Ernani Joppert discuss whether you should upgrade to this new version of PHP, as well if you should try the new PHP 5.4 beta version. They also talk about the repercussion of the article about the Wrong PHP Ideas You Should Get Right and why it is important to clarify PHP haters and lovers about these PHP misconceptions.
</blockquote>
<p>
You can either listen to this latest episode through the <a href="http://www.phpclasses.org/blog/post/157-PHP-538-Upgrade-PHP-54-beta-Wrong-Ideas-About-PHP--Lately-in-PHP-Episode-15.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/157/file/70/name/Lately-In-PHP-15.mp3">downloading the mp3</a> (25MB) or by <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a> and getting the latest right in your reader of choice (even <a href="http://itunes.apple.com/podcast/lately-in-php-podcast/id373016482">iTunes</a>).
</p>]]></description>
      <pubDate>Thu, 01 Sep 2011 10:43:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Announcing the August 2011 Zend Framework Bug-Hunt]]></title>
      <guid>http://www.phpdeveloper.org/news/16767</guid>
      <link>http://www.phpdeveloper.org/news/16767</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today they've announced <a href="http://devzone.zend.com/article/16888-Announcing-the-August-2011-Zend-Framework-Bug-Hunt">this month's Zend Framework Bug Hunt</a> starting tomorrow (the 25th) and running through Saturday (the 27th):
</p>
<blockquote>
For those who haven't put the recurring event in their calendar, the Zend Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday (the 25th, 26th and 27th of August), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework
</blockquote>
<p>
<i>Ralph</i> reminds everyone of the change in tracking methods in their Jira setup and how to find some issues to tackle when you start your debugging. You can also just <a href="http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=11385&sorter/field=issuekey&sorter/order=ASC">visit this page</a> to get the full list of unresolved issues. Additional instructions are <a href="http://devzone.zend.com/article/16888-Announcing-the-August-2011-Zend-Framework-Bug-Hunt">included in the post</a> on "getting started" resources, how your fixes help the framework and <a href="http://framework.zend.com/wiki/display/ZFDEV/Monthly+Bug+Hunt+Days">a guide</a> you can follow to get the ball rolling.
</p>]]></description>
      <pubDate>Wed, 24 Aug 2011 12:55:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.8 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/16761</guid>
      <link>http://www.phpdeveloper.org/news/16761</link>
      <description><![CDATA[<p>
On PHP.net they've posted <a href="http://www.php.net/archive/2011.php#id2011-08-23-1">the official announcement</a> about the release of PHP 5.3.8, an release following 5.3.7 to fix some issues with the <a href="http://php.net/crypt">crypt</a> functionality.
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release: Fixed bug #55439 (crypt() returns only the salt for MD5), reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283). All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.
</blockquote>
<p>
As always you can download this latest release from <a href="http://us3.php.net/downloads.php">the downloads page</a> (Windows binaries <a href="http://windows.php.net">here</a>). This upgrade is <b>highly</b> recommended if you were running 5.3.7.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 11:04:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Martin Psinas' Blog: Switching to PDO]]></title>
      <guid>http://www.phpdeveloper.org/news/16674</guid>
      <link>http://www.phpdeveloper.org/news/16674</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Martin Psinas</i> talks about some of his pains experienced with <a href="http://psinas.com/index.php?blogid=8">upgrading his code to use PDO</a> instead of the mysql extension for database interaction.
</p>
<blockquote>
I read not too long ago that the mysql library in PHP is <a href="http://news.php.net/php.internals/53799">being deprecated</a> as of v6.0 in favor of mysqli or PDO, so of course I had to update all of my database code keep on top of things. I spent about 5 or 6 hours over the course of 2 days familiarizing myself with the new syntax and updating my code offline. Without any testing, I decided I could go ahead and push the code "live" because I'm just that over-confident sometimes, although I did make a backup in case anything went wrong (or so I thought).
</blockquote>
<p>
Two problems jumped out immediately - a SQL error caused by <a href="https://bugs.php.net/bug.php?id=40740">this bug</a> and the other being a problem with preparing his statement inside of a session handling method.
</p>]]></description>
      <pubDate>Thu, 04 Aug 2011 10:17:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Announcing July's Zend Framework Bug Hunt Days]]></title>
      <guid>http://www.phpdeveloper.org/news/16641</guid>
      <link>http://www.phpdeveloper.org/news/16641</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>Matthew Weier O'Phinney</i> has posted a notice about this month's <a href=http://devzone.zend.com/article/16578-Announcing-Julys-Zend-Framework-Bug-Hunt-Days">Bug Hunt Days</a> for the Zend Framework. This month they'll be held July 28th through the 30th.
</p>
<blockquote>
For those who haven't put the recurring event in their calendar, the Zend Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday (the 28th, 29th and 30th of July), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework.
</blockquote>
<p>
He reminds those wanting to participate of a few pieces of information - that they'll <a href="http://framework.zend.com/cla">need a CLA on file</a>, where to find <a href="http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=11385&sorter/field=issuekey&sorter/order=ASC">unresolved issues</a>, getting help on the <a href="http://zftalk.com/">zftalk.dev IRC channel</a> and a <a href="http://framework.zend.com/wiki/display/ZFDEV/Monthly+Bug+Hunt+Days">getting started guide</a> for those first-timers.
</p>]]></description>
      <pubDate>Wed, 27 Jul 2011 11:13:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: File Path Injection in PHP <= 5.3.6 File Update (CVE 2011-2202)]]></title>
      <guid>http://www.phpdeveloper.org/news/16495</guid>
      <link>http://www.phpdeveloper.org/news/16495</link>
      <description><![CDATA[<p>
On DZone.com's PHP on Windows section today <i>Krzysztof Kotowicz</i> has a new post talking about <a href="http://css.dzone.com/articles/file-path-injection-php-536">a file path injection exploit</a> in PHP versions lower than 5.3.6.
</p>
<blockquote>
Since the thing <a href="http://www.devquotes.com/2011/06/15/php-cve-2011-2202/">went public</a> before new PHP version has been released, I present full details of the <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2202">latest PHP vulnerability</a> I reported - together with some sweet demo exploit. The issue was found with fuzzing being part of my recent <a href="http://blog.kotowicz.net/2011/04/how-to-upload-arbitrary-file-contents.html">file upload research</a>. And I still have some more to show in the future :)
</blockquote>
<p>
The issue, described in more detail <a href="http://bugs.php.net/bug.php?id=54939">here on bugs.php.net</a> (as of the time of this post, unfortunately unavailable) and his code to reproduce the issue is <a href="http://pastebin.com/1edSuSVN">here</a>. Due to a bug in the code that should strip down the upload to just the filename, certain kinds of file paths can make it through. The real problem comes in when an application blindly uses this filename to write to, possibly overwriting important files. You can see a screenshot of it in action <a href="http://www.youtube.com/watch?feature=player_embedded&v=hpsNOJq7tHM">here</a>.
</p>]]></description>
      <pubDate>Tue, 21 Jun 2011 08:44:02 -0500</pubDate>
    </item>
  </channel>
</rss>

