<?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>Fri, 24 May 2013 11:12:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Snipe.net: Sending Mail Using PHP and Amazon SES on Centos/AWS Linux]]></title>
      <guid>http://www.phpdeveloper.org/news/19371</guid>
      <link>http://www.phpdeveloper.org/news/19371</link>
      <description><![CDATA[<p>
In <a href="http://www.snipe.net/2013/03/sending-mail-using-php-and-amazon-ses-on-centosaws-linux/">this new post</a> to her site <i>Alison</i> shows how to send emails through the Amazon <a href="http://aws.amazon.com/ses/">Simple Email Service</a> (SES) from a CentOS instance (an <a href="https://aws.amazon.com/amis">AMI</a> in this case).
</p>
<blockquote>
If you find yourself using Amazon SES for sending outgoing emails in a PHP web app, getting everything set up is much simpler than it may seem. In my case, this was on an AWS Linux image, but it will work on any Fedora/CentOS AMI. You can, of course, set up sendmail and use a proper MTA to send email from your web app, but in this case, I had inherited the requirement to set up an environment for code that was already written to use SES for outgoing email and Google Apps for incoming emails, so the actual mechanics weren't up for debate.
</blockquote>
<p>
She includes screenshots showing how to configure the SES system with your site's domains and DNS as well as the email addresses you're planning on using. She links over to the <a href="http://sourceforge.net/projects/msmtp/">MSMTP</a> software you'll need to install on your instance to make the connection and what you'll need to do to get it configured for PHP's use. A sample email script is also included to test the connection (and where to look to make sure everything worked correctly).
</p>]]></description>
      <pubDate>Wed, 27 Mar 2013 10:56:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Purcell's Blog: CentOS - PHP - Install Memcached (with a d) Stack]]></title>
      <guid>http://www.phpdeveloper.org/news/18116</guid>
      <link>http://www.phpdeveloper.org/news/18116</link>
      <description><![CDATA[<p>
In <a href="http://melikedev.com/2012/06/19/centos-php-install-memcached-with-a-d-stack/">this new post</a> to his blog <i>Mike Purcell</i> gives you the full instructions to getting a CentoOS 6 system up and running with Memcached and PHP.
</p>
<blockquote>
Recently I started retro-fitting the <a href="http://melikedrinks.com/">MeLikeDrinks.com</a> drink website to cache frequently used data to improve performance, as such I wrote a light, custom cache API which sits on top of PHP's Memcached API. [...] If you opt to use PHP Memcache, and because this article assumes you are using CentOS,  you can simply have YUM install the entire stack for your via `yum install php-memcache`.
</blockquote>
<p>
He describes some of the differences between the two memcache APIs available to PHP developers (memcache and memcached) and includes the instructions to get both versions installed. "Memecache" is as easy as installing the package, while "Memcached" takes a bit more work - installing dependencies, configuring and compiling a few things specific to your system.
</p>]]></description>
      <pubDate>Wed, 20 Jun 2012 09:13:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Build PHP 5.4 on CentOS With Vagrant]]></title>
      <guid>http://www.phpdeveloper.org/news/17820</guid>
      <link>http://www.phpdeveloper.org/news/17820</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Chris Hartjes</i> shows you how to get <a href="http://www.littlehart.net/atthekeyboard/2012/04/15/build-php-54-on-centos-with-vagrant/">PHP 5.4 installed on a CentOS machine (virtual machine) with the help of Vagrant.
</p>
<blockquote>
I like the idea of using <a href="http://vagrantup.com/">Vagrant</a> to create virtual machines for my development work. Doing things this way I think keeps the host machine cleaner and allows you the ability to distribute those VM's to other people as well. My old boss Ben Ramsey did a very informative post on <a href="http://benramsey.com/blog/2012/03/build-php-54-on-centos-62/">getting PHP 5.4 configured on CentOS</a> so I decided to one-up him by taking his instructions and creating a <a href="http://puppetlabs.com/">Puppet</a> manifest so you could do this using Vagrant or on any server that you can provision using Puppet.
</blockquote>
<p>
He example is based off of <a href="http://www.vagrantbox.es/37/">the publiclly available Vagrant setup</a> and provides the contents of the Vagrantfile that he uses to set up the machine. From there, Puppet takes over and uses his configuration (also included) to set up things like the Apache server, some configurations for it, a list of PHP extensions and, of course, PHP itself.
</p>]]></description>
      <pubDate>Mon, 16 Apr 2012 10:02:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Build PHP 5.4 on CentOS 6.2]]></title>
      <guid>http://www.phpdeveloper.org/news/17630</guid>
      <link>http://www.phpdeveloper.org/news/17630</link>
      <description><![CDATA[<p>
In <a href="http://benramsey.com/blog/2012/03/build-php-54-on-centos-62/">this latest post</a> to his blog <i>Ben Ramsey</i> shows you how to, inside of a virtual machine, set up a server with PHP 5.4 installed (using CentOS 6.2).
</p>
<blockquote>
In case you haven't heard the news, the PHP project <a herf="http://www.php.net/archive/2012.php#id2012-03-01-1">released version 5.4.0 last Thursday</a>. Naturally, I decided it was time to install and give it a try. I chose to install to a clean and bare-bones <a href="http://www.centos.org/">CentOS 6.2</a> virtual machine using <a href="https://www.virtualbox.org/">VirtualBox</a>. I did this for two reasons: 1) I wanted a clean environment for the build, and 2) I wanted to play with CentOS. At the time of this writing, there are not yet any official CentOS RPMs for PHP 5.4, so I had to build PHP from source. What follows are the notes I took during the installation and build process. I hope you find them helpful.
</blockquote>
<p>His instructions cover the full process:</p>
<ul>
<li>Installing the CentOS operating system
<li>Creating a non-root user
<li>Setting up the network for local access
<li>Installing the packages for PHP (via yum)
<li>Grab <a href="http://php.net/downloads">PHP 5.4</a> and compile it
<li>Testing out the web server with a sample <a href="http://php.net/phpinfo">phpinfo</a> file
</ul>
<p>
He includes a lot of extensions in his installation, some you may not need like pspell, tidy, calendar, ftp or xsl.
</p>]]></description>
      <pubDate>Tue, 06 Mar 2012 09:58:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: Setting up a development environment]]></title>
      <guid>http://www.phpdeveloper.org/news/17499</guid>
      <link>http://www.phpdeveloper.org/news/17499</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Joshua Thijssen</i> <a href="http://www.adayinthelifeof.nl/2012/02/04/setting-up-a-development-environment/">gives a guide</a> to how he usually sets up his development environments when working in PHP. It includes working with virtual machines, configuring DNS and setting up his tools to work with it all.
</p>
<blockquote>
Doing development on multiple projects can be a burden from time to time. One project would be running on PHP 5.3, while another still needs 5.1. Sometimes you need a MySQL server, while on other occasions, you need a NoSQL solution like couchDB or MongoDB together with all kind of gearman functionality. This article shows you how I've setup such a development platform that allows you to quickly create new projects, and still maintain flexibility when you need it.
</blockquote>
<p>
He uses <a href="https://www.virtualbox.org/">VirtualBox</a> with either a Debian or CentOS installation as a base platform. He uses Vagrant to set up and configure the machines to make setup almost automatic. He still has to go in and configure a few things like the VirtualHost and DNS settings for the site/application he's working on. 
 Next up is setting up the tools he uses, specifically <a href="http://xdebug.org">XDebug</a> and setting up his editor of choice (PHPStorm) for remote debugging.
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 09:27:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Bollysite Blog: Upgrading php 5.1 to php 5.3 with xcache rebuild on Centos 5]]></title>
      <guid>http://www.phpdeveloper.org/news/14928</guid>
      <link>http://www.phpdeveloper.org/news/14928</link>
      <description><![CDATA[<p>
In <a href="http://blog.bollysite.com/2010/08/04/upgreading-php-5-3-on-centos-5/">this quick tutorial</a> on the Bollysite blog showing how to upgrade your CentOS install of PHP from 5.1 to 5.3 along with xcache.
</p>
<blockquote>
CentOS 5 comes with php 5.1 version. There is no official PHP 5.2+ release for  upgrade since last 3 years. [...] As a result, Developer had to implement alternative functions to integrate twitter, myspace OAuth API. Today wordpress has officially said <a href="http://wordpress.org/news/2010/07/eol-for-php4-and-mysql4/">bye bye to php 4 and mysql 4</a>. So finally, I gathered some courage to mess with my current php installation. I followed the following steps to upgrade php 5.3 on centos 5.
</blockquote>
<p>
The update requires adding the webtatic repository to your yum setup and using the "enablerepo" to pull directly from that. Once that's installed, you'll need to rebuild xcache to match the version (commands included).
</p>]]></description>
      <pubDate>Mon, 09 Aug 2010 13:09:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: PHP and Centos, a step towards automating your server builds]]></title>
      <guid>http://www.phpdeveloper.org/news/14407</guid>
      <link>http://www.phpdeveloper.org/news/14407</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has posted a script that could be used to set up a complete PHP-enabled instance of CentOS from a basic install. He's posted about it <a href="http://www.phpjack.com/content/php-and-centos-step-towards-automating-your-server-builds">on his blog</a>.
</p>
<blockquote>
I compile php all the time, I am constantly installing the latest versions on my own servers for various reasons. After doing this the first dozen or so times I started creating little batch files. [...] The other day someone asked something about my setup and I had to pull open the script to remember what I had going on and he asked for a copy and hence I figure others might be interested as well.
</blockquote>
<p>
He's shared out the file <A href="http://mtrack.phpjack.com/lab/browse.php/lab/server_setup/trunk">here</a> and it installs all the usual tools you might need including MySQL support with PHP being the only thing compiled from scratch.
</p>]]></description>
      <pubDate>Mon, 26 Apr 2010 08:33:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Girouard's Blog: Pro Tip: Installing PHP 5.2.9 on CentOS]]></title>
      <guid>http://www.phpdeveloper.org/news/13577</guid>
      <link>http://www.phpdeveloper.org/news/13577</link>
      <description><![CDATA[<p>
<i>Michael Girouard</i> has <a href="http://www.lovemikeg.com/blog/2009/11/21/pro-tip-installing-php-529-on-centos">posted a new guide</a> today about getting PHP 5.2.9 up and running on a CentOS distribution:
</p>
<blockquote>
CentOS in my opinion is the best way to go in terms of server distros. Some people, including myself, are frustrated at the fact that some software is slow to be updated out of a fresh install: specifically PHP. At the time of this writing, PHP 5.1.6 is the version shipped with CentOS 5.4. While I'm sure they have their reasons for this, I still am required to write somewhat modern apps - 5.1 just doesn't cut it anymore.
</blockquote>
<p>
He suggests moving away from the compile from source option and "go with the flow" and work with the packages that've already been created. You have to get the testing repository set up first (creating a configuration file to add the name, baseurl and other keys) to be able to use the yum installer tool to grab the latest packages.
</p>]]></description>
      <pubDate>Mon, 23 Nov 2009 10:46:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: The creation of the new site]]></title>
      <guid>http://www.phpdeveloper.org/news/10294</guid>
      <link>http://www.phpdeveloper.org/news/10294</link>
      <description><![CDATA[<p>
With the successful relaunch of the <a href="http://www.phpfreaks.com">PHPFreaks.com</a> website recently, <i>Daniel Egeberg</i> wanted to share a little glimpse behind the work that it took to get to that place. In <a href="http://www.phpfreaks.com/blog/the-creation-of-the-new-site">this new blog entry</a>, he talks about the technology, code and design aspects they worked through.
</p>
<blockquote>
I thought that, seeing as this is a programmer community, the people who have not had the privilege to have access to the forums where these things were discussed or access to the code itself might be interested in knowing a bit about the underlying technology and code that powers this website
</blockquote>
<p>
Some of the technologies they use include the <a href="http://framework.zend.com/">Zend Framework</a> running on a <a href="http://www.centos.org/">CentOS</a> with PHP5.2. Some of the highlights in the coding process included updates to Zend_Auth, using Zend_Acl for access management, content management and other various packages (like Zend_Feed, Zend_Form, Zend_Db, etc).
</p>]]></description>
      <pubDate>Thu, 29 May 2008 09:31:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: Hardening PHP with Suhosin]]></title>
      <guid>http://www.phpdeveloper.org/news/10283</guid>
      <link>http://www.phpdeveloper.org/news/10283</link>
      <description><![CDATA[<p>
PHPFreaks.com has a <a href="http://www.phpfreaks.com/tutorial/hardening-php-with-suhosin">new tutorial</a> posted that looks to help you protect you and your application with an even greater level of security by using the <a href="http://www.hardened-php.net/suhosin/">Suhosin patch</a>.
</p>
<blockquote>
Suhosin is a great and simple way of increasing your security without having a large impact on overall performance. In this tutorial I will cover the installation and configuration of Suhosin on both debian etch and centos 5. I may cover mod_security in a later tutorial.
</blockquote>
<p>
They apt-get the packages needed for the patch in examples for two different distributions - Debian (etch) and CentOS. They also show how to set up some <a href="http://www.phpfreaks.com/tutorial/hardening-php-with-suhosin/page4">basic configuration</a> to get the patch installed and working with your PHP installation.
</p>]]></description>
      <pubDate>Wed, 28 May 2008 08:47:22 -0500</pubDate>
    </item>
  </channel>
</rss>
