<?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>Sat, 18 May 2013 23:21:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell: PHP and Gearman: Unable to connect after upgrade]]></title>
      <guid>http://www.phpdeveloper.org/news/19252</guid>
      <link>http://www.phpdeveloper.org/news/19252</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has shared some advice about <a href="http://www.lornajane.net/posts/2013/php-and-gearman-unable-to-connect-after-upgrade">correcting an issue with PHP and Gearman</a> after she did an upgrade via PECL.
</p>
<blockquote>
I upgraded PHP and related pecl modules on my development machine today, and ran into a problem with Gearman. Actually I ran into more than one! Firstly the challenge of getting the newest pecl version working with a gearman version. Then an error where my existing PHP application couldn't connect to gearman after upgrade.
</blockquote>
<p>
Running on Ubuntu, she found <a href="http://www.phamviet.net/2012/10/10/ubuntu-php-5-4-x-and-gearman-troubleshooting/">this tutorial</a> helpful in getting Gearman back into a working state and installed (version 1.1.1). The "unable to connect" error turned out to be a change in how the Gearman connection needed to be made - the addition of a port to the connection string made things work again. 
</p>]]></description>
      <pubDate>Thu, 28 Feb 2013 12:55:48 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: Managing PHP 5.4 Extensions on Ubuntu]]></title>
      <guid>http://www.phpdeveloper.org/news/18820</guid>
      <link>http://www.phpdeveloper.org/news/18820</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2012/managing-php-5-4-extensions-on-ubuntu">this new post</a> to her site <i>Lorna Mitchell</i> shares a handy tip for those using Ubuntu (or a Debian-based distribution) about how to manage your PHP 5.4 extensions and the "php5enmod" tool.
</p>
<blockquote>
My shiny new VPS* runs Ubuntu 12.10 (official subtitle: Quantal Queztal. Local nickname: Quirky Kestrel) and therefore has PHP 5.4 installed. It's very new so every command I type is missing, and today I realised that included a <a href="http://pecl.php.net/">PECL</a> module (pecl_http, of course). [...] What's happened here is that all debian-flavoured unixes have adopted this standard for their PHP 5.4 packages, so if you're using debian, ubuntu, or any of their relatives with PHP 5.4, you'll see a directory structure like this. When you add a module to PHP, you'll add a file to the mods-available directory enabling the module and adding any config specific to it. 
</blockquote>
<p>
She points out that the "phpenmod" command, accompanied by the PECL extension to install, is the newer way to correctly get these extensions downloaded and configured correctly. 
</p>]]></description>
      <pubDate>Thu, 29 Nov 2012 11:08:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Changeblog: How to install PHP 5.3 and 5.2 together on Ubuntu 12.04]]></title>
      <guid>http://www.phpdeveloper.org/news/18322</guid>
      <link>http://www.phpdeveloper.org/news/18322</link>
      <description><![CDATA[<p>
On the Changeblog there's a recent post showing you how to get <a href="http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204">both PHP 5.2 and PHP 5.3 installed</a> on the same machine for your development or testing needs (they target it at Durpal users, but it applies for any PHP app).
</p>
<blockquote>
Although Drupals 7+ run smoothly on PHP 5.3, Drupal 6 still feels much better with PHP 5.2. Even though D6 core is compatible with PHP 5.3 for quite some time now, a lot of contributes modules still get nasty hiccup when asked to run on the newer version. Therefore developing for both D7 and D6 at the same time becomes much less painful when running both versions of PHP in parallel.
</blockquote>
<p>
They help you get things compiled from source with the command line input you'll need to get it up and working. Also included is a handy section about possible errors you could get during the configure as well as the packages you might need to install to fix them. Also included are the updates you'll need to make to your configuration files to get things up and running.
</p>]]></description>
      <pubDate>Mon, 06 Aug 2012 11:18:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juan Treminio's Blog: Setting Up an Ubuntu VM, Step by Step]]></title>
      <guid>http://www.phpdeveloper.org/news/17860</guid>
      <link>http://www.phpdeveloper.org/news/17860</link>
      <description><![CDATA[<p>
<i>Juan Treminio</i> has a recent post to his blog showing the complete steps you'll need to <A href="http://jtreminio.com/2012/04/setting-up-an-ubuntu-vm-step-by-step/">get a virtual machine up and running</a> (using VirtualBox and a Ubuntu Seerver install), complete with PHP, MySQL, Samba and Apache.
</p>
<blockquote>
<a href="http://www.reddit.com/r/PHP/comments/s8bwt/what_is_your_php_development_environment_like/">Recently on r/php</a> there was a thread asking users about their development environments. The usual answers came tumbling out - mostly about IDEs and methods for uploading their code (side note: FTP is a horrible way to do this!). Out of 144 responses, I noticed that very few mentioned virtual machines. Most that said anything about operating systems or platforms made it clear they were developing on their local machine, with no separation between their everyday driver and their development environment. This has got to stop, especially amongst PHP developers where we have tools like XAMPP that require nothing more than a simple zip extract to get up and running with your own "server".
</blockquote>
<p>
He walks you through the entire process, complete with screenshots and commands ready for copy & paste, to get your virtual machine server set up and working. The PHP install includes things like cURL, memcache, internationalization, GD and MySQL support. He also helps you get other tools like XDebug and PHPUnit installed.
</p>
<p>
This is definitely one of the more complete examples I've see of getting a VM set up and ready for development - if you've been wanting to try it out, I'd recommend this guide.
</p>]]></description>
      <pubDate>Tue, 24 Apr 2012 12:03:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[XPertDeveloper.com: Configure PHP, Apache, MySQL on Ubuntu 11.10]]></title>
      <guid>http://www.phpdeveloper.org/news/17787</guid>
      <link>http://www.phpdeveloper.org/news/17787</link>
      <description><![CDATA[<p>
In <a href="http://www.xpertdeveloper.com/2012/04/configure-php-apache-mysql-on-ubuntu-11-10/">this tutorial</a> on the XPertDeveloper site today they show you the "quick and not-so-dirty" way to get PHP + Apache + MySQL set up on a Ubuntu machine (from packages).
</p>
<blockquote>
I have started working with Ubuntu 11.10 and my first task was to install PHP, Apache and MySQL in that. This is because without these three things computer is useless for PHP Developer. So Here I am sharing this article which shows how to install PHP, MySQL and Apache and configure with each other. This would be very useful for newbies, who have just jumped into web developing.
</blockquote>
<p>
The process mostly consists of installing a few packages - mysql-server, mysql-client, apache2, php5 libapache2-mod-php5 (as well as several others for various PHP extension support) - and starting up the default Apache server.
</p>]]></description>
      <pubDate>Fri, 06 Apr 2012 11:32:17 -0500</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[Mark Hamlin's Blog: Debugging xdebug (tcp, dns, ubuntu, osx, vmware) ((all at once))]]></title>
      <guid>http://www.phpdeveloper.org/news/16799</guid>
      <link>http://www.phpdeveloper.org/news/16799</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Mark Hamlin</i> talks about <a href="http://uber-code.blogspot.com/2011/08/more-debugging-xdebug-tcp-dns-ubuntu.html">some of his difficulties</a> in getting <a href="http://xdebug.org">XDebug</a> and <a href="http://netbeans.org">Netbeans</a> working together from an OSX machine hitting a Ubuntu server.
</p>
<blockquote>
For the past 18 months working with PHP, i've primarily used alternatives, not out of preference, but because netbeans xdebug integration consistently failed me.  It would (might) work with a remote apache, but would not play with scripts executed remotely from the command line.  I could be fairly sure my xdebug config was sound as I no problems with MacGDB and PHPStorm whatsoever.
</blockquote>
<p>
With a little more investigation, he discovered that it was the OSX firewall causing issues. He found that, with a new incoming connection came a confirmation box to approve the connection. This, of course, wasn't passed along to Netbeans so he never saw it. In the end, he set up a reverse SSH tunnel to bypass the firewall completely (command included).
</p>]]></description>
      <pubDate>Wed, 31 Aug 2011 13:04:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[HowToForge.com: Installing Cherokee With PHP5 And MySQL Support On Ubuntu 11.04]]></title>
      <guid>http://www.phpdeveloper.org/news/16733</guid>
      <link>http://www.phpdeveloper.org/news/16733</link>
      <description><![CDATA[<p>
On the HowToForge.com site there's a new tutorial stepping you through the process of getting <a href="http://www.howtoforge.com/installing-cherokee-with-php5-and-mysql-support-on-ubuntu-11.04">Cherokee+PHP+MySQL working</a> on an Ubuntu linux installation.
</p>
<blockquote>
Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections, virtual hosts, authentication, on the fly encoding, load balancing, Apache compatible log files, and much more. This tutorial shows how you can install Cherokee on an Ubuntu 11.04 server with PHP5 support (through FastCGI) and MySQL support.
</blockquote>
<p>
The tutorial makes use of the package manager (apt-get) to install the needed software, so don't look for complete compiling information from this process. They include a bit of the configuration of the Cherokee installation and how you enable PHP support via its interface. Screenshots of the Cherokee interface are included to help make it easier to follow along.
</p>]]></description>
      <pubDate>Wed, 17 Aug 2011 13:46:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Johnstone's Blog: Memcached multigets - ubuntu vs debian]]></title>
      <guid>http://www.phpdeveloper.org/news/16467</guid>
      <link>http://www.phpdeveloper.org/news/16467</link>
      <description><![CDATA[<p>
<i>Andrew Johnstone</i> came across an interesting problem when he tried to use memcached multigets with a large number of keys - it was <a href="http://ajohnstone.com/achives/memcached-multigets-ubuntu-vs-debian/">throwing failures</a>, but only when he tried it on Ubuntu.
</p>
<blockquote>
I Spent a little while yesterday investigating why memcached causes problems with multigets returning results and ended up comparing debian vs ubuntu. [...] A larger number of keys than 200 causes memcached to fail to return valid responses, additionally the key length greatly varies the number items you can pull back within a single multiget on Ubuntu, Debian implementation of memcached is able to handle all requests regardless of key length size.
</blockquote>
<p>
He includes the code for his brief test and the output of the test runs on both Ubuntu and Debian systems. They clearly show the failures on the Ubunut side, with it throwing errors about "memcached_oi_read" and a zero length value returned to recv().
</p>]]></description>
      <pubDate>Tue, 14 Jun 2011 12:07:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Elvin Haci's Blog: Using Python and PHP together]]></title>
      <guid>http://www.phpdeveloper.org/news/16447</guid>
      <link>http://www.phpdeveloper.org/news/16447</link>
      <description><![CDATA[<p>
<i>Elvin Haci</i> has a recent post to his blog showing how he set up <a href="http://webania.net/using-python-php-together/">PHP and Python to work on the same machine</a>, just on different ports of the same Apache instance. His example is based on Ubuntu, but the principles can be used just about anywhere.
</p>
<blockquote>
Today i decided to install Python in Ubuntu OS and to use PHP and Python both together. If i hadn't installed php and wanted to have  python as only localhost in my OS, so it was easy, there are plenty of examples which show how to do it(for example). But if you have already installed php and you want to have python, then let's go on. Of course we need two different ports if we want to do so. And i could easily install and test it. So i am sharing how i did it.
</blockquote>
<p>
He includes all of the commands and configuration changes you'll need to get Python and Apache all set up (he assumes you already have PHP installed). He also includes a full listing of his Apache config file so you can get a feel of how it all fits together using the VirtualHosts.
</p>]]></description>
      <pubDate>Thu, 09 Jun 2011 10:58:15 -0500</pubDate>
    </item>
  </channel>
</rss>
