<?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 20:37:47 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Anson Cheung's Blog: Top 10 PHP Best Security Practices for Sys Admins]]></title>
      <guid>http://www.phpdeveloper.org/news/17467</guid>
      <link>http://www.phpdeveloper.org/news/17467</link>
      <description><![CDATA[<p>
In <a href="http://www.ansoncheung.tk/articles/top-10-php-best-security-practices-sys-admins">this recent post</a> to his blog <i>Anson Cheung</i> provides a set of helpful hints for sysadmins to follow when installing (or just securing) the PHP installations on their systems.
</p>
<blockquote>
PHP is widely used for various of web development. However, misconfigured server-side scripting would create all sorts of problem. And here are php security best practices that you should aware when configuring PHP securely. Nowadays most of the web servers are operated under Linux environment (like: Ubuntu, Debian...etc). Hence, in the following article, I am going to use list top 10 ways to enhance PHP Security Best Practices under Linux environment.
</blockquote>
<p>His tips include:</p>
<ul>
<li>Reducing the built-in PHP modules
<li>Logging all PHP errors
<li>Disabling remote code execution
<li>Disabling dangerous PHP functions 
<li>Write protection on Apache, PHP & MySQL configuration files
</ul>]]></description>
      <pubDate>Mon, 30 Jan 2012 14:52:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: PHPUnit_Selenium]]></title>
      <guid>http://www.phpdeveloper.org/news/17424</guid>
      <link>http://www.phpdeveloper.org/news/17424</link>
      <description><![CDATA[<p>
On DZone.com today <i>Giorgio Sironi</i> has a quick tutorial showing you how to set up and use the <a href="http://css.dzone.com/articles/phpunitselenium">PHPUnit_Selenium</a> component in the latest releases of the <a href="http://phpunit.de">popular testing software</a>.
</p>
<blockquote>
With the 1.2 release, PHPUnit_Selenium supports (basically) for the first time the Selenium 2 WebDriver API. While PHPUnit_Selenium already worked with Selenium 2, it did so only by using the Selenium 1 emulation included in the jar; now it provides an object-oriented API right natively supported in a base PHPUnit test case, shipped in PHPUnit's PEAR channel.
</blockquote>
<p>
He includes the steps you'll need to pull it from the PEAR channel and how to set up a test case based on the PHPUnit_Extensions_Selenium2TestCase object. He gives a few examples of how to select various components on the page (via CSS selectors and XPath), assert that the right information is there and interact with forms.
</p>]]></description>
      <pubDate>Fri, 20 Jan 2012 09:12:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Koopmanshcap's Blog: Installing the Geoip PECL package for Zend Server on OSX]]></title>
      <guid>http://www.phpdeveloper.org/news/17385</guid>
      <link>http://www.phpdeveloper.org/news/17385</link>
      <description><![CDATA[<p>
In <a href="http://www.leftontheweb.com/message/Installing_the_Geoip_PECL_package_for_Zend_Server_on_OSX">this recent post</a> to his blog <i>Stefan Koopmanschap</i> shares some of the troubles (and a solution) when he was dealing with getting the Geoip PECL extension installed on his Zend Server setup in OSX.
</p>
<blockquote>
Today I needed to get a client application up and running on my local system. This application uses the Geoip PECL package, so I needed to get this up and running. This turned out to be slightly more difficult than just a PECL install, as you're missing some libraries by default, so here is my log of things to do to get it up and running.
</blockquote>
<p>
He gives the complete list of steps his followed including <a href="http://re2c.org/">downloading the source</a> and his way around this "System could not load this extension" issue. The trick was to recompile the source with the correct architecture. By default his extension was built with i386 instead of 64-bit but updating some of the CFLAGS settings (and a few other environment variables) got things compiling correctly. 
</p>]]></description>
      <pubDate>Thu, 12 Jan 2012 11:09:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: Facter: Zend Server]]></title>
      <guid>http://www.phpdeveloper.org/news/17316</guid>
      <link>http://www.phpdeveloper.org/news/17316</link>
      <description><![CDATA[<p>
<i>Joshua Thijssen</i> has <a href="http://www.adayinthelifeof.nl/2011/12/28/facter-zendserver/">shared a handy tip</a> for those using Zend Server on a pupptet-ed server - using a Facter plugin to check for the ZS install and only install what's needed (rather than end up with multiple PHP installs).
</p>
<blockquote>
This means you should not install the default PHP package for your distribution when the distribution also runs on Zend Server. This Facter plugin will allow you to use the $zendserver fact inside your own manifests to check if Zend server is installed, so you can take measures against installing stuff that is taken care of by ZendServer itself.
</blockquote>
<p>
You can download the plugin from his github account, <a href="https://github.com/jaytaph/puppet-facter-zendserver">https://github.com/jaytaph/puppet-facter-zendserver</a>, and easily install it into your puppet setup.
</p>]]></description>
      <pubDate>Wed, 28 Dec 2011 11:35:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Using CLANG/scan-build for Static Analysis of the PHP Interpreter]]></title>
      <guid>http://www.phpdeveloper.org/news/17269</guid>
      <link>http://www.phpdeveloper.org/news/17269</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Sebastian Bergmann</i> takes a quick look at <a href="http://sebastian-bergmann.de/archives/916-Using-CLANGscan-build-for-Static-Analysis-of-the-PHP-Interpreter.html">using a static analyzer</a>, <a href="http://clang.llvm.org/">clang</a> and scan-build, to analyze the PHP interpreter (specifically during the compile process).
</p>
<blockquote>
I have been tinkering with <a href="http://clang.llvm.org/">CLANG</a>'s <a href="http://clang-analyzer.llvm.org/">static analyzer</a> lately. This post summarizes how I installed LLVM and CLANG and performed the analysis of a build of the PHP interpreter.
</blockquote>
<p>
He includes all the commands (unix-based) to get the clang tools/libraries installed in the correct places as well as what to add to your $PATH to get the "scan-build" command to work with the make and make install parts of the PHP compile process.
</p>]]></description>
      <pubDate>Fri, 16 Dec 2011 09:48:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Till Klampaeckel's Blog: Cooking PHPUnit (and a chef-solo example on top)]]></title>
      <guid>http://www.phpdeveloper.org/news/17212</guid>
      <link>http://www.phpdeveloper.org/news/17212</link>
      <description><![CDATA[<p>
<i>Till Klampaeckel</i> has a new post to his blog combining two powerful technologies into <a href="http://till.klampaeckel.de/blog/archives/175-Cooking-PHPUnit-and-a-chef-solo-example-on-top.html">one automated package</a> that uses a Chef recipe to install PHPUnit as a part of the setup.
</p>
<blockquote>
If you follow my blog for a while, you might have noticed that I'm a huge fan of automation. I just moved one of our development servers the other day and had one of these moments where something just paid off. Taking for granted that I can spin up fully operational EC2 instances in minutes, I also had our development stack installed and configured in an instant. My recipe basically follows <a href="http://tech.vg.no/2011/11/29/running-multiple-versions-of-phpunit/">Christer's instructions</a> and because I distribute phpunit's command along with it, editing of the file is no longer required: when the chef run completes, phpunit34 is installed and ready to be used.
</blockquote>
<p>
He includes the configuration needed to create a recipe for PHPUnit installation including how to use chef-solo to automate the install. It uses a "cookbook" from <a href="https://github.com/till/easybib-cookbooks/tree/master/phpunit">Till's collection on github</a> to do some of the work for you. You can find out more about Chef <a href="http://www.opscode.com/chef/">on the OpsCode</a> site.
</p>]]></description>
      <pubDate>Mon, 05 Dec 2011 11:48:48 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Creating a virtual server with Vagrant: a practical walkthrough]]></title>
      <guid>http://www.phpdeveloper.org/news/17145</guid>
      <link>http://www.phpdeveloper.org/news/17145</link>
      <description><![CDATA[<p>
On DZone.com there's a new post from <i>Giorgio Sironi</i> looking at how to <a href="http://css.dzone.com/articles/creating-virtual-server">automate a build of a virtual server with Vagrant</a>, setting up a LAMP-based development instance.
</p>
<blockquote>
Vagrant ia a tool for building virtual machines (in VirtualBox's format) that conforms to a specification. It's written in Ruby, but it makes really no assumptions over the environments that you're gonna build; in this article, we will setup a virtual server for PHP applications running inside Apache.
</blockquote>
<p>
The end result is a virtual machine based on <a href="http://css.dzone.com/articles/using-virtual-machine-play">VirtualBox</a> images and can be built in a few easy steps:
</p>
<ul>
<li>install the vagrant gems on the build system
<li>add a new virtual box instance pointed to a .box file
<li>create the Vagrant config (including the commands to run post-create)
<li>set up a little port forawrding
<li>creating a <a href="http://php.net/phpinfo">phpinfo</a> file and starting up Apache
</ul>
<p>
One suggested place for grabbing images (some with pre-defined software) is <a href="http://bitnami.org/stacks">Bitnami</a>'s "Stacks" repository.
</p>]]></description>
      <pubDate>Fri, 18 Nov 2011 08:18:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)]]></title>
      <guid>http://www.phpdeveloper.org/news/17107</guid>
      <link>http://www.phpdeveloper.org/news/17107</link>
      <description><![CDATA[<p>
<i>Chance Garcia</i> has a recent post to his blog showing how he <a href="http://phpprotip.com/2011/11/mamp-pro-pecl-ssh2-and-osx-cli-aka-acronym-madness/">fixed an issue with his MAMP install</a> involving development of a <a href="https://github.com/chancegarcia/CG/blob/github/Ssh.php">SSH wrapper</a> he developed and some testing out of PHPStorm and PHPUnit.
</p>
<blockquote>
One thing I can say is that, even though I use a convenient app like MAMP PRO to set up my local development environment, I'm glad my sysadmin-fu is up to snuff enough to fly without the conveniences because after this ordeal, I feel like I might as well have made my MAMP stack from scratch with all the hoops I jumped tonight.
</blockquote>
<p>
He shares a few of the things he discovered along the way like: the location of MAMP's "pecl" command, an error caused by a bad pear.conf file, doing custom compiles of PHP and libssh as a fallback and getting the extension to work in the CLI PHP version too.
</p>]]></description>
      <pubDate>Wed, 09 Nov 2011 11:37:34 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Carmony's Blog: Setting Up Nginx & PHP-FPM on Ubuntu 10.04]]></title>
      <guid>http://www.phpdeveloper.org/news/17040</guid>
      <link>http://www.phpdeveloper.org/news/17040</link>
      <description><![CDATA[<p>
<i>Justin Carmony</i> has a new tutorial posted to his blog today about <a href="http://www.justincarmony.com/blog/2011/10/24/setting-up-nginx-php-fpm-on-ubuntu-10-04/">setting up Nginx and PHP-FPM on Ubuntu</a> in a few easy steps (thanks to some package management).
</p>
<blockquote>
This is another wonderful setup that I've found myself using rather than the traditional Apache & mod_php setup. [...] Ngnix, unlike Apache, doesn't actually load PHP. Instead, it hands it off as a proxy to a "php handler" which acts like an Application Server. So nginx by itself won't serve PHP files, but just static files.
</blockquote>
<p>
He briefly introduces <a href="http://nginx.org/">Nginx</a> and <a href="http://php-fpm.org/">PHP-FPM</a> for those not familiar and points out that this combination is very fast, even without much configuration. The packages are installed with the aptitude installer and minimal changes are made to the php-fm and nginx configuration files (mostly to set up whatever your domain/virtual host is).
</p>]]></description>
      <pubDate>Tue, 25 Oct 2011 13:39:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stuart Herbert's Blog: Installing Phix on Various OSes (OSX, Debian, Ubuntu, Fedora)]]></title>
      <guid>http://www.phpdeveloper.org/news/16939</guid>
      <link>http://www.phpdeveloper.org/news/16939</link>
      <description><![CDATA[<p>
<i>Stuart Herbert</i> has put together a series of posts detailing how to get the <a href="http://phix-project.org/">Phix</a> component creation and management tool installed on various operating systems.
</p>
<blockquote>
Phix makes it extremely easy to create and maintain your own PEAR-installer compatible components for reuse in your PHP applications. Installation takes just seconds, and it's both open-source and framework-agnostic!
</blockquote>
<p>The OS guides help you get it installed for:</p>
<ul>
<li><a href="http://blog.stuartherbert.com/php/2011/10/02/php-components-installing-phix-on-osx/">OSX</a>
<li><a href="http://blog.stuartherbert.com/php/2011/10/01/php-components-installing-phix-on-fedora/">Fedora</a>
<li><a href="http://blog.stuartherbert.com/php/2011/10/01/php-components-installing-phix-on-ubuntu/">Ubuntu</a>
<li><a href="http://blog.stuartherbert.com/php/2011/10/03/php-components-installing-phix-on-debian/">Debian</a>
<li><a href="http://blog.stuartherbert.com/php/2011/10/03/php-components-installing-phix-on-centos/">CentOS</a>
</ul>
<p>
For more information about Phix (including helpful "getting started" details) check out <a href="http://phix-project.org/">the project's website</a>.
</p>]]></description>
      <pubDate>Mon, 03 Oct 2011 10:02:58 -0500</pubDate>
    </item>
  </channel>
</rss>

