<?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, 19 May 2013 11:12:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Phil Sturgeon: Pick PHP Requirements for Packages Responsibly]]></title>
      <guid>http://www.phpdeveloper.org/news/19359</guid>
      <link>http://www.phpdeveloper.org/news/19359</link>
      <description><![CDATA[<p>
In <a href="http://philsturgeon.co.uk/blog/2013/03/pick-php-requirements-for-packages-responsibly">this recent post</a> to his site <i>Phil Sturgeon</i> has a reminder that you should select the dependencies for your packages wisely, and not just because they're "cool."
</p>
<blockquote>
When I say "make sure it is worth it" I mean, don't just switch your arrays from array() to [] just because it looks cool. That was the extent of my original tweet, because I've seen a few packages doing that and it annoyed me immensely. [...] Suffice it to say, if you require a user to upgrade their version of PHP simply so you can use some syntactical sugar inside a package that nobody else is even going to be looking at, then you're an idiot. Beyond that, you're actually hurting the community.
</blockquote>
<p>
He notes that, by requiring users that are currently only at <a href="http://w3techs.com/technologies/details/pl-php/5/all">3.1% of PHP installs</a> to upgrade to 5.4 just to use your library is a quick way to not have your library used. He points out that PHP 5.4 is "more than just []" for arrays and includes a reminder that several projects are still in PHP 5.3-compatibility mode just because that's the widest audience. He also briefly touches on the "push it forward" comments that people have used to justify 5.4-only packages, but notes that it's still not as much up to the developer as it is the web host.
</p>]]></description>
      <pubDate>Mon, 25 Mar 2013 11:22:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Freeman: Steps to Take When you Know your PHP Site has been Hacked]]></title>
      <guid>http://www.phpdeveloper.org/news/19283</guid>
      <link>http://www.phpdeveloper.org/news/19283</link>
      <description><![CDATA[<p>
<i>Greg Freeman</i> has posted the <a href="http://www.gregfreeman.org/2013/steps-to-take-when-you-know-your-php-site-has-been-hacked/">second part</a> of his "hacked PHP application" series (part <a href="http://phpdeveloper.org/news/19273">one is here</a>). In this new post he looks at the aftermath - what to do and check to do cleanup and fixes so it doesn't happen again.
</p>
<blockquote>
This is a follow up post from my previous post "<a href="http://www.gregfreeman.org/2013/how-to-tell-if-your-php-site-has-been-compromised/">How to Tell if Your PHP Site has been Hacked or Compromised</a>". This post will discuss some the first steps you should take when you have identified that your site has been compromised. The first sections discuss a few points that are not relevant to everyone, the later sections will discuss how to fix the exploits.
</blockquote>
<p>He includes a list of things to think about including:</p>
<ul>
<li>What kind of hosting you use (and if that contributed)
<li>The option to redirect all requests for your site to one page
<li>Get a list of all PHP files to locate something malicious
<li>Locating "non-PHP PHP files"
<li>Finding files with possible malicious content
</ul>
<p>
He also includes a few suggestions to help prevent issues in the future - update to the latest versions, patch your code, rethinking your permissions and monitoring for potential repeat attacks.
</p>]]></description>
      <pubDate>Thu, 07 Mar 2013 09:53:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4.11 and PHP 5.3.21 released!]]></title>
      <guid>http://www.phpdeveloper.org/news/19060</guid>
      <link>http://www.phpdeveloper.org/news/19060</link>
      <description><![CDATA[<p>
On PHP.net the project has <a href="http://php.net/index.php#id2013-01-17-1">posted about the release</a> of the latest versions in the PHP 5.4.x and 5.3.x series - PHP 5.4.11 and 5.3.21:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.4.11 and PHP 5.3.21. These releases fix about 10 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.
</blockquote>
<p>
You can check out <a href="http://php.net/ChangeLog-5.php">the Changelog</a> if you're interested in what bugs were corrected by this release. The downloads are available via the main <a href="http://php.net/downloads.php">downloads</a> page (or <a href="http://windows.php.net/download/">here</a> for the Windows users out there).
</p>]]></description>
      <pubDate>Fri, 18 Jan 2013 06:27:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4.10 and PHP 5.3.20 released!]]></title>
      <guid>http://www.phpdeveloper.org/news/18936</guid>
      <link>http://www.phpdeveloper.org/news/18936</link>
      <description><![CDATA[<p>
The PHP project has <a href="http://php.net/index.php#id2012-12-20-1">officially released</a> versions 5.4.10 and 5.3.20 if the language:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.4.10 and PHP 5.3.20. These releases fix about 15 bugs. Please note that the PHP 5.3 series will enter an end of life cycle and receive only critical fixes as of March 2013. All users of PHP are encouraged to upgrade to PHP 5.4.
</blockquote>
<p>
Downloads are <a href="http://php.net/downloads.php">available here</a> (source) or <a href="http://windows.php.net/download/">here</a> for Windows installations. The <a href="http://php.net/ChangeLog-5.php">Changelog</a> has the full list of bugs fixed these two releases. If you're interested in the migration from PHP 5.3 to 5.4 and are wondering what changes you can expect, check out <a href="http://php.net/manual/en/migration54.new-features.php">this migration guide</a> with a list of the new features and changes.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2012 06:57:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Orchestra Now Offers PHP 5.4 Instances]]></title>
      <guid>http://www.phpdeveloper.org/news/18555</guid>
      <link>http://www.phpdeveloper.org/news/18555</link>
      <description><![CDATA[<p>
Engine Yard/Orchestra, a PHP platform-as-a-service (PaaS) provider has <a href="http://www.engineyard.com/blog/2012/orchestra-adds-php-5-4-support/">announced the release of PHP 5.4</a> as a part of their cloud offerings:
</p>
<blockquote>
We're pleased to announce the general availability of PHP 5.4 for Orchestra PHP Cloud. We are committed to keeping your apps running on the latest and greatest version of PHP. After careful lab testing, we'll upgrade your apps as newer versions of PHP become available. What if you're still using PHP 5.3? Don't worry, Orchestra PHP Cloud will continue to maintain its PHP 5.3 stack. You will be able to choose which version of PHP you would like to use when you launch a new app.
</blockquote>
<p>
The default when you set up a new application will now be PHP 5.4, so be sure you're paying attention on setup if you need something else. You can find out more about the Orchestra PaaS <a href="http://www.engineyard.com/products/orchestra">on the Engine Yard</a> site and try it out <a href="https://login.engineyard.com/signup/from/https://my.orchestra.io/login?s=o">for free</a> to see how your app performs.
</p>]]></description>
      <pubDate>Thu, 04 Oct 2012 09:48:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Two PHP 5 Security Flaws Found]]></title>
      <guid>http://www.phpdeveloper.org/news/18180</guid>
      <link>http://www.phpdeveloper.org/news/18180</link>
      <description><![CDATA[<p>
As reported in <a href="http://www.phpbuilder.com/articles/application-architecture/security/php-5-security-flaws-CVE-2012-2386-and-CVE-2012-2143.html">this new post</a> on PHPBuilder.com, there are two new security issues that could allow an attacker to execute their own code (note: these are fixed by the latest releases, PHP 5.4.4 and PHP 5.3.14).
</p>
<blockquote>
The flaws are related to each other, with the primary issue being an insecure implementation of the DES within the crypt() function. In his eSecurityPlanet article about <a href="http://www.esecurityplanet.com/patches/open-source-php-and-ruby-on-rails-updated-for-security.html">recent PHP security updates</a>, Sean Michael Kerner provides the details of these two security flaws.
</blockquote>
<p>
The issue stems from a flaw in the DES implementation where certain keys are truncated before the DES digestion and a problem in the <a href="http://php.net/phar">phar</a> extension that could allow for arbitrary code execution. You can find more on these security issues <a href="http://www.esecurityplanet.com/patches/open-source-php-and-ruby-on-rails-updated-for-security.html">here</a>.
</p>]]></description>
      <pubDate>Wed, 04 Jul 2012 21:04:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.11 And PHP 5.4.1 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/17873</guid>
      <link>http://www.phpdeveloper.org/news/17873</link>
      <description><![CDATA[<p>
The PHP project has officially <a href="http://www.php.net/archive/2012.php#id2012-04-26-1">released the latest versions</a> of the language - PHP 5.3.11 and PHP 5.4.1:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.3.11 and PHP 5.4.1. These releases focuses on improving the stability of the current PHP branches with over 60 bug fixes, some of which are security related. [...] For a full list of changes in PHP 5.3.11 and PHP 5.4.1, see the <a href="http://www.php.net/ChangeLog-5.php">ChangeLog</a>. For source downloads please visit our <a href="http://www.php.net/downloads.php">downloads page</a>, Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>. All users of PHP are strongly encouraged to upgrade to PHP 5.3.11 or PHP 5.4.1.
</blockquote>
<p>
Several bugs were fixed in both releases including issues with validation of the name of the uploaded file, adding open_basedir checks to readline_write_history/readline_read_history, 
and the addition of debug info handler to DOM objects.
</p>]]></description>
      <pubDate>Thu, 26 Apr 2012 07:43:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Marek's Blog: PHP 5.4 Compatibility Coding Standard for PHP_CodeSniffer]]></title>
      <guid>http://www.phpdeveloper.org/news/17618</guid>
      <link>http://www.phpdeveloper.org/news/17618</link>
      <description><![CDATA[<p>
In the wake of the <a href="http://phpdeveloper.org/news/17614">official release of PHP 5.4</a> <i>Sebastian Marek</i> has made a <a href="http://criticallog.thornet.net/2012/03/02/php-5-4-compatibility-coding-standard-for-php_codesniffer/">quick post</a> to his blog about bringing PHP_CodeSniffer rules help bring his code up to date with this latest version.
</p>
<blockquote>
So with PHP 5.3 upgrade underway (and <a href="http://php.net/releases/5_4_0.php">PHP 5.4 out of the door now</a>!) I thought it's time to prepare for PHP 5.4 and make sure we're compatible. So by looking at Wim Godden's <a href="https://github.com/wimg/PHP53Compat_CodeSniffer">PHP53Compatibility code sniffs</a> I have created a base for PHP 5.4 sniffs that we want to use to make sure we're compatible.
</blockquote>
<p>Sniffs included in set are:</p>
<ul>
<li>PHP54Compatibility_Sniffs_PHP_BreakContinueVarSyntaxSniff
<li>PHP54Compatibility_Sniffs_PHP_DeprecatedFunctionsSniff
</ul>
<p>
You can grab this custom set of sniffs either from <a href="https://github.com/proofek/PHP54Compatibility">his github repository</a> or from <a href="http://proofek.github.com/pear">his personal PEAR channel</a> if you'd rather install it that way (alpha channel). 
</p>]]></description>
      <pubDate>Fri, 02 Mar 2012 10:52:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: The Blowfish Debacle]]></title>
      <guid>http://www.phpdeveloper.org/news/17532</guid>
      <link>http://www.phpdeveloper.org/news/17532</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has a recent post to his blog about what he calls "<a href="http://daveyshafik.com/archives/35354-the-blowfish-debacle.html">The Blowfish Debacle</a>" - the issues that came up with the PHP 5.3.7 release to upgrade the crypt_blowfish version that resulted in a larger error being introduced.
</p>
<blockquote>
This was a great security fix, solving an issue with insecure passwords due to incorrect behavior. HOWEVER, what wasn't made clear, is that this change was actually a backwards compatibility break. If you upgraded to 5.3.7+ data hashed pre-5.3.7 would no longer match data hashed post-5.3.7; this means if you use it for passwords, it will no longer match. So what's the deal here?
</blockquote>
<p>
He talks about the differences in the two methods of encryption, the newer being the "more correct" way of doing things. If you need the backwards compatibility because of previously hashed values, you can use the "$2x$" prefix instead of the usual "$2a$". He includes a snippet of code that can be used to upgrade all of your previously hashed blowfish passwords up to the new format.
</p>]]></description>
      <pubDate>Mon, 13 Feb 2012 10:02:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: PHP Vulnerability May Halt Millions of Servers]]></title>
      <guid>http://www.phpdeveloper.org/news/17382</guid>
      <link>http://www.phpdeveloper.org/news/17382</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's a new post looking at <a href="http://www.phpclasses.org/blog/post/171-PHP-Vulnerability-May-Halt-Millions-of-Servers.html">the security vulnerability</a> that effected not only PHP but lots of other languages making them susceptible to attack from the outside.
</p>
<blockquote>
In PHP and several other languages used to implement Web applications, arrays are used to store the values of request variables such as $_GET, $_POST, $COOKIE, etc.. IF you receive a request with a large number of request values, until recent versions PHP may run into trouble.
</blockquote>
<p>
He goes on to explain why there's an issue with the array overloading and what PHP has done in recent releases to help correct the issue - the max_input_vars setting in the php.ini. He also points out that this is not a new issue - it was originally identified back in 2003 (with a video of the original presentation). He points out that the most recent releases of the PHP language have this fix in them and, if at all possible, you should upgrade to protect your applications.
</p>]]></description>
      <pubDate>Thu, 12 Jan 2012 08:21:55 -0600</pubDate>
    </item>
  </channel>
</rss>
