<?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>Thu, 28 Aug 2008 22:46:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPImpact Blog: Run PHP scripts with different users on the same server]]></title>
      <guid>http://www.phpdeveloper.org/news/10811</guid>
      <link>http://www.phpdeveloper.org/news/10811</link>
      <description><![CDATA[<p>
On the PHP::Impact blog <i>Federico</i> has <a href="http://phpimpact.wordpress.com/2008/08/10/run-php-scripts-with-different-users-on-the-same-server/">posted a sort of reminder</a> about a method you can use to run PHP scripts as different users on the same system - <a href="http://www.suphp.org/">suPHP</a>.
</p>
<blockquote>
<a href="http://www.suphp.org/">suPHP</a> is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.
</blockquote>
<p>
suPHP runs as an Apache module and works with the local server's permission system to restrict script access to whatever the user's allowances are. He links to <a href="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/">this tutorial</a> for more information on setting it up.
</p>]]></description>
      <pubDate>Tue, 12 Aug 2008 09:31:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dhiraj Patra's Blog: Running PHP Scripts with Cron]]></title>
      <guid>http://www.phpdeveloper.org/news/10761</guid>
      <link>http://www.phpdeveloper.org/news/10761</link>
      <description><![CDATA[<p>
<i>Dhiraj Patra</i> has <a href="http://dhirajpatra.blogspot.com/2008/08/running-php-scripts-with-cron.html">posted a tutorial</a> to his "LAM-PHP" blog today looking at a different-than-usual way for running PHP scripts - in the cron.
</p>
<blockquote>
Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, "How to run PHP Scripts with crontab?"
</blockquote>
<p>
He explains how cron can be used effectively to replace including a backend script into another file (bad practice) and how to get started with PHP and cron. He includes how to find if you're using a CGI or Apache version of PHP and how to locate the binary. He takes this knowledge and shows how to apply it and put a sample script into the cron file. You can check out sites like <a href="http://www.adminschoice.com/docs/crontab.htm">this</a> or <a href="http://www.unixgeeks.org/security/newbie/unix/cron-1.html">this</a> for more information on cron itself.
</p>]]></description>
      <pubDate>Tue, 05 Aug 2008 08:45:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPedia Blog: Top 5 PHP replacements for Apache default directory listing]]></title>
      <guid>http://www.phpdeveloper.org/news/10674</guid>
      <link>http://www.phpdeveloper.org/news/10674</link>
      <description><![CDATA[<p>
The PHPedia blog has posted their <a href="http://php.bubble.ro/top-5-php-replacements-for-apache-default-directory-listing/">top five list</a> if scripts to replace the default listing Apache does for a directory without an index file.
</p>
<p>Here's their list:</p>
<ul>
<li><a href="http://phpfe.vigge.net/">phpFe</a> - PHP file explorer
<li><a href="http://filenice.com/">fileNice</a>
<li><a href="http://autoindex.sourceforge.net/">Autoindex</a>
<li><a href="http://sourceforge.net/projects/quixplorer/">QuiXplorer</a>
<li><a href="http://lesterchan.net/site/downloads/">GaMerZ File Explorer</a>
</ul>
<p>
Check out the <a href="http://php.bubble.ro/top-5-php-replacements-for-apache-default-directory-listing/">PHPedia post</a> for example screenshots of each.
</p>]]></description>
      <pubDate>Thu, 24 Jul 2008 10:21:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hiveminds Magazine: How to bridge PHP and Java on Windows with Apache Tomcat]]></title>
      <guid>http://www.phpdeveloper.org/news/10531</guid>
      <link>http://www.phpdeveloper.org/news/10531</link>
      <description><![CDATA[<p>
Hiveminds Magazine has a <a href="http://www.hiveminds.co.uk/node/3814">recent post</a> about bridging the gap between PHP and Java with the help of the <a href="http://www.apachefriends.org/download.php?xampp-win32-tomcat-addon-6.0.14-2.2.8-installer.exe">Tomcat add-on</a> for Apache.
</p>
<blockquote>
Want to run PHP and access Java? Here's how to do it on Windows XP using Apace and Apache Tomcat. Apache Tomcat is a Servlet container developed at the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.
</blockquote>
<p>
They <a href="http://www.hiveminds.co.uk/node/3814">go with</a> the XAMPP distribution for the web server setup (for simplicity rather than on a unix-based system) and include the configuration and installation procedures to get everything up and running (screenshots included).
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 12:06:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Lessons learned from a reddit overload]]></title>
      <guid>http://www.phpdeveloper.org/news/10511</guid>
      <link>http://www.phpdeveloper.org/news/10511</link>
      <description><![CDATA[<p>
Thanks to it being posted on <a href="http://www.reddit.com/">reddit</a>, the traffic to a <a href="http://michaelkimsal.com/blog/why-do-browsers-still-not-have-file-upload-progress-meters/">certain post</a> on <i>Michael Kimsal</i>'s blog gave him a crash (literally?) course in high load management on a WordPress blog.
</p>
<blockquote>
The blog post was voted up on reddit, and the server got slammed.  So slammed, in fact, that it was unusable for a few hours while I investigated the problem.  I didn't know the post was on reddit, but I knew I was getting some traffic. 
</blockquote>
<p>
He spent some time trying to get the Apache server to finally die off and give him back his machine, at least enough to get a feel for what was going on. Part of his problem was not having APC installed like he thought and the other part - <a href="http://www.wordpress.org">WordPress</a>. While friendly on the outside, it's apparently somewhat lacking on the inside. 
</p>]]></description>
      <pubDate>Mon, 30 Jun 2008 12:04:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Security.net: X.509 PKI login with PHP and Apache]]></title>
      <guid>http://www.phpdeveloper.org/news/10312</guid>
      <link>http://www.phpdeveloper.org/news/10312</link>
      <description><![CDATA[<p>
<i>Christopher Kunz</i> has relaunched his php-security.net domain with a brand new blog and a <a href="http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html">new article</a> posted today - "X.509 PKI login with PHP and Apache".
</p>
<blockquote>
Since grid computing (that's what I'm currently doing) also is very much about Single-sign on and delegation of rights, username/password authentication schemes don't quite do it for us. Thus, a PKI (public key infrastructure) based on X.509 is employed. 
</blockquote>
<p>
He <a href="http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html">explains</a> the acronym soup by defining the process as advanced means of "showing the web who you are". He explains some of the basics about the certificates and who good candidates for this type of authentication are. Then the tech starts - how to get Apache configured to use them and how to use them in PHP to authenticate the external user (requiring OpenSSL compiled in to access the needed functions). 
</p>]]></description>
      <pubDate>Fri, 30 May 2008 17:05:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ApacheLounge.com: Memory usage Apache + PHP as module versus FastCGI]]></title>
      <guid>http://www.phpdeveloper.org/news/10264</guid>
      <link>http://www.phpdeveloper.org/news/10264</link>
      <description><![CDATA[<p>
In <a href="http://www.apachelounge.com/forum/viewtopic.php?p=10991">this quick post</a> to the ApacheLounge forum, <i>Steffen</i> shares some stats running PHP in two different methods of running PHP on Apache - mod_php and fastcgi.
</p>
<blockquote>
With PHP as module after some time the memory usage of Apache is growing and growing up to ~800M.<br/>
With mod_fcgid is stays on a steady ~100M <br/>
PHP configuration: only with the extension php_mysql.dll and eaccelerator.dll 
</blockquote>
<p>
<a href="http://www.apachelounge.com/images/httpd-ram-week.png">A graph</a> of the statistics is also provided.
</p>]]></description>
      <pubDate>Mon, 26 May 2008 08:42:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating a VAMP (Vista, Apache, MySQL, PHP) Setup ]]></title>
      <guid>http://www.phpdeveloper.org/news/10226</guid>
      <link>http://www.phpdeveloper.org/news/10226</link>
      <description><![CDATA[<p>
DevShed has <a href="http://www.devshed.com/c/a/Apache/Creating-a-VAMP-Vista-Apache-MySQL-PHP-Setup/">a new tutorial</a> on creating your very own VAMP setup - Vista, Apache, MySQL and PHP - running on your local machine.
</p>
<blockquote>
With the abundance of communication between the browser and a server in these days of AJAX and JSON data interchange, there has never been a better time to get your own development web server set up so that you can test all those dynamic scripts you're writing. This article will show you how to do it using some of the most popular software.
</blockquote>
<p>
They start by <a href="http://www.devshed.com/c/a/Apache/Creating-a-VAMP-Vista-Apache-MySQL-PHP-Setup/1/">setting up</a> an Apache web server and follow it with PHP first then MySQL second to round out the install. Most of the installers are pretty simple for the Windows-based systems (the developers of them have done a great job) so the install should go pretty smoothly.
</p>]]></description>
      <pubDate>Tue, 20 May 2008 13:47:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andreas Gohr's Blog: Compiling a Portable Apache for Linux]]></title>
      <guid>http://www.phpdeveloper.org/news/9887</guid>
      <link>http://www.phpdeveloper.org/news/9887</link>
      <description><![CDATA[<p>
<i>Andreas Gohr</i> has <a href="http://www.splitbrain.org/blog/2008-03/28-compiling_a_portable_apache_for_linux">posted a guide</a> for creating a mobile Apache installation that could run on something like a USB stick.
</p>
<blockquote>
Today I spent some time to figure out how to compile a relocatable Apache with PHP support. Yes, this might result in a Linux version of the DokuWiki on a Stick project. Read on for detailed instructions.
</blockquote>
<p>
<a href="http://www.splitbrain.org/blog/2008-03/28-compiling_a_portable_apache_for_linux">The installation</a> is pretty similar to the normal compile with a few small differences. Check out the post for the complete process, commands and all.
</p>]]></description>
      <pubDate>Tue, 01 Apr 2008 11:32:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Watch Your Include Path]]></title>
      <guid>http://www.phpdeveloper.org/news/9867</guid>
      <link>http://www.phpdeveloper.org/news/9867</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> is looking to "save you some grief" by <a href="http://ishouldbecoding.com/2008/03/26/watch-your-include-path">pointing out</a> an issue he recently had trouble with and eventually found out was <a href="http://bugs.php.net/bug.php?id=43677">a bug in PHP</a>.
</p>
<blockquote>
It's pretty rare that I encounter a bug in the software I run that hampers my ability to work or my server environment's ability to function normally. However, I encountered one last week that has taken me and several Rackspace support technicians nearly a week to figure out, namely <a href="http://bugs.php.net/bug.php?id=43677">PHP bug #43677</a>.
</blockquote>
<p>
The issue was that PHP seemed to be "forgetting" the include_path in the current script (not Apache). The bug has been found in PHP 5.2.5 (and possible in all of the 5.2.x releases as well). The problem has been fixed in the latest CVS version and <a href="http://bugs.php.net/bug.php?id=43677">a patch</a> has been created for those that want to correct the problem right away.
</p>]]></description>
      <pubDate>Thu, 27 Mar 2008 10:24:38 -0500</pubDate>
    </item>
  </channel>
</rss>
