<?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:01:41 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: PHP 5.4 Built In Webserver]]></title>
      <guid>http://www.phpdeveloper.org/news/17464</guid>
      <link>http://www.phpdeveloper.org/news/17464</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2012/php-5-4-built-in-webserver">posted a quick tutorial</a> about a feature of the upcoming PHP 5.4 release, the built-in web server, and some tips on doing things like routing requests and changing the hostname.
</p>
<blockquote>
One of the big features arriving with PHP 5.4 is the addition of a built-in basic webserver for use in development environments. Quite a few of the other scripting languages have something like this so I'm very pleased to see it in PHP. Using a server like this makes it easy to quickly try out some scripts without needing to configure apache or really do anything much! I had to look up a few things to get started, so I thought I'd write them down for posterity.
</blockquote>
<p>
She includes instructions on how to get the server up and running from the command line, updating the location of the document root with a command line option and using a simple "routing.php" script to act as a front controller. Changing the hostname is as simple as changing "localhost" to something else when starting the server. 
</p>]]></description>
      <pubDate>Mon, 30 Jan 2012 11:35:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: php 5.4 + htrouter: Your personal Apache 2.2 compatible server]]></title>
      <guid>http://www.phpdeveloper.org/news/17296</guid>
      <link>http://www.phpdeveloper.org/news/17296</link>
      <description><![CDATA[<p>
<i>Joshua Thijssen</i> has a new post to his blog today about a feature of the upcoming PHP 5.4 release, the built-in web server, and <a href="http://www.adayinthelifeof.nl/2011/12/22/php-5-4-htrouter-your-personal-apache-2-2-compatible-server/">a handy way to reproduce .htaccess functionality</a> with the help of a simple PHP script - <a href="https://github.com/jaytaph/htrouter">htrouter</a>.
</p>
<blockquote>
The problem with the new PHP 5.4 internal web-server is that it isn't Apache. Thus it does not know anything about .htaccess. Even when you have defined your .htaccess to do authentication, the internal PHP web-server will ignore it, while in production, the authentication will be needed (if you will be running Apache, of course). Also, you need to reroute everything manually through your app_dev.php, so your URL's don't really match the way they will be on your production.
</blockquote>
<p>
He introduces the PHP web server quickly, just showing a sample command line call to start it up and to point it at a certain PHP file as a "boostrap". With the help of his <a href="https://github.com/jaytaph/htrouter">htrouter</a> script, though, you can use "modules" similar to those in Apache. He already has the HTTP auth stuff working and more is to come.
</p>]]></description>
      <pubDate>Fri, 23 Dec 2011 08:27:10 -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[DZone.com: PHP 5.4 Will Have a Built-in Web Server]]></title>
      <guid>http://www.phpdeveloper.org/news/17030</guid>
      <link>http://www.phpdeveloper.org/news/17030</link>
      <description><![CDATA[<p>
As is mentioned in <a href="http://css.dzone.com/news/php-54-will-have-built-web">this new post</a> to DZone.com, one of the features of the upcoming PHP 5.4 release, including things like traits and array dereferencing support, will also have an interesting new feature - a built-in simple web server.
</p>
<blockquote>
Yet another new feature to look forward to in PHP 5.4.0 - the CLI SAPI will now provide a built-in web server which is geared toward developmental purposes.  It shouldn't be used in production right now. 
</blockquote>
<p>
The PHP manual <a href="http://php.net/manual/en/features.commandline.webserver.php">has been updated</a> with the latest on this upcoming feature:
</p>
<blockquote>
URI requests are served from the current working directory where PHP was started, unless the -t option is used to specify an explicit document root. [...] If a PHP file is given on the command line when the web server is started it is treated as a "router" script for the web server. The script is run at the start of each HTTP request. If this script returns FALSE, then the requested resource is returned as-is. Otherwise the script's output is returned to the browser.
</blockquote>
<p>
The PHP 5.4.x series is still in beta as of the time of this post - you can download the beta1 on the <a href="http://www.php.net/downloads.php">downloads section</a> of the PHP site (or the <a href="http://windows.php.net/download/">Windows binaries</a>).
</p>]]></description>
      <pubDate>Mon, 24 Oct 2011 09:24:01 -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[PHPClasses.org: Lately in PHP Podcast Episode 10 - the Built-in Web Server, PHP 5.3.6 & PHP.js]]></title>
      <guid>http://www.phpdeveloper.org/news/16120</guid>
      <link>http://www.phpdeveloper.org/news/16120</link>
      <description><![CDATA[<p>
PHPClasses.org have posted their latest episode of the "Lately in PHP" podcast today, a discussion between <i>Manuel Lemos</i> and <i>Ernani Joppert</i> about <a href="http://www.phpclasses.org/blog/post/144-PHP-builtin-Web-server-PHP-536-and-PHPJS--Lately-in-PHP-podcast-episode-10.html">the built-in web server</a> that's planned for inclusion in future releases of the PHP language.
</p>
<blockquote>
PHP is going to come with a built-in Web server, so you will no longer need Apache or any other Web server software to run PHP applications. This is the main topic discussed by Manuel Lemos and Ernani Joppert in the episode 10 of the Lately in PHP podcast.
</blockquote>
<p>
They also talk about some security fixes and the PHP.js project. As usual, you can listen to this latest episode either through the <a href="http://www.phpclasses.org/blog/post/144-PHP-builtin-Web-server-PHP-536-and-PHPJS--Lately-in-PHP-podcast-episode-10.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/144/file/56/name/Lately-In-PHP-10.mp3">downloading the mp3</a> or by <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Wed, 30 Mar 2011 08:20:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexey Zakhlestin's Blog: on PHP's webserver]]></title>
      <guid>http://www.phpdeveloper.org/news/15994</guid>
      <link>http://www.phpdeveloper.org/news/15994</link>
      <description><![CDATA[<p>
<i>Alexey Zakhlestin</i> has a new post today with some of <a href="http://blog.milkfarmsoft.com/2011/03/on-phps-webserver/">his own thoughts</a> on the <a href="http://wiki.php.net/rfc/builtinwebserver">suggestion for a built-in web server</a> (RFC) that's been floating around lately - a tool that would act as a simple server right out of the box without much in the way of configuration.
</p>
<blockquote>
There are a lot of talks today about <a href="http://wiki.php.net/rfc/builtinwebserver">"Built-in web server"</a> [for PHP] RFC by <a href="https://github.com/moriyoshi">Moriyoshi Koizumi</a>. There is a nice discussion on <a href="http://news.ycombinator.com/item?id=2281724">Hacker News</a> (and 2 threads on reddit: <a href="http://www.reddit.com/r/programming/comments/fw4dg/rfc_for_php_web_server_based_on_questionable/">here</a> and <a href="http://www.reddit.com/r/PHP/comments/fwf0p/built_in_web_server_for_php/">here</a>). So, here's couple of cents from me.
</blockquote>
<p>
<i>Alexey</i> agrees with the suggestion and notes it'd be a welcome addition to the PHP toolset. He also reminds developers that it wouldn't (and shouldn't) be used in production. 
</p>]]></description>
      <pubDate>Thu, 03 Mar 2011 13:19:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Leniel Macaferi's Blog: Installing PHP on Mac OS X Snow Leopard 10.6.5]]></title>
      <guid>http://www.phpdeveloper.org/news/15663</guid>
      <link>http://www.phpdeveloper.org/news/15663</link>
      <description><![CDATA[<p>
On his blog today <i>Leniel Macaferi</i> has a new post showing how to <a href="http://www.leniel.net/2010/12/installing-php-mac-os-x-snow-leopard.html">install PHP on OSX 10.6.5</a>, really enabling the PHP that's already installed.
</p>
<blockquote>
I hit a pretty good tutorial to enable PHP on Mac at About.com written by <a href="http://php.about.com/bio/Angela-Bradley-18472.htm">Angela Bradley</a> that gets to the point: <A href="http://php.about.com/od/phpbasics/ss/installMac.htm">How to Install PHP on a Mac</a>. Along the way I had to solve only one minor thing described in the caveat section at the end of this post. You see that the title of this post has the word installing (well I thought I had to install it '" that was my first reaction), but in fact it could be the word enabling because PHP is an integral part of Mac OS X Snow Leopard and we just need to enable it as you'll see soon.
</blockquote>
<p>
He talks about enabling the web server, enabling PHP and testing the installation with a <a href="http://php.net/phpinfo">phpinfo</a>. There's screenshots included so you can be sure you're in the right places. 
</p>]]></description>
      <pubDate>Fri, 31 Dec 2010 10:57:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Holmes' Blog: ASP.NET and PHP On IIS Together]]></title>
      <guid>http://www.phpdeveloper.org/news/15424</guid>
      <link>http://www.phpdeveloper.org/news/15424</link>
      <description><![CDATA[<p>
Happen to need both ASP.NET and PHP running on the same IIS server? <i>Josh Holmes</i> (and <i>Mark Brown</i>) have you covered with <a href="http://www.joshholmes.com/blog/2010/11/11/asp-net-and-php-on-iis-together/">this new presentation</a> posted to <i>Josh</i>'s blog.
</p>
<blockquote>
I got a question the other day about running both ASP.NET and PHP on the same server and whether or not it works. The short answer I gave is "Yes". The longer answer, I'm going to give here. In point of fact, both ASP.NET and PHP work really well on the instance of IIS. They can't share  session state but otherwise it's a very peaceful existence. 
</blockquote>
<p>
The <a href="http://www.slideshare.net/joshholmes/rev-it-up-with-php-on-windows">slides</a> from the presentation are included in the post. There's also a full tutorial on how to get things set up correctly so that PHP and ASP.NET can play nicely on the same machine. 
</p>]]></description>
      <pubDate>Fri, 12 Nov 2010 11:34:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[TechTatva.com:  [How To] Setup Cherokee with PHP5 FPM]]></title>
      <guid>http://www.phpdeveloper.org/news/15067</guid>
      <link>http://www.phpdeveloper.org/news/15067</link>
      <description><![CDATA[<p>
On the TechTatva.com site today there's <a href="http://www.techtatva.com/2010/08/how-to-setup-cherokee-with-php5-fpm/">a new tutorial</a> posted about getting the <a href="http://www.cherokee-project.com/">Cherokee</a> web server set up and running PHP5 FPM. It's a few simple steps to install and a few clicks around the GUI to get things configured.
</p>
<blockquote>
In this "how to" we will see how to setup <a href="http://www.cherokee-project.com/">cherokee</a> on Ubuntu with <a href="http://php-fpm.org/">PHP5-FPM</a> (FastCGI Process Manager). Although the cherokee <a href="http://www.cherokee-project.com/doc/cookbook_php.html">CookBook</a> claims that "If PHP-fpm binaries are found, those will be prioritized over the regular binaries."  it turns out that the latest stable version of cherokee in Launchpad gives errors while enabling
</blockquote>
<p>
A few calls to "apt-get" install some packages (Cherokee and php5-fpm) and changes to the Cherokee configuration - handled through its web-based interface - are all that's needed to add a new behavior rule to the default vServer to link to the PHP5-FPM install (as FastCGI).
</p>]]></description>
      <pubDate>Thu, 02 Sep 2010 12:35:26 -0500</pubDate>
    </item>
  </channel>
</rss>

