<?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, 29 Aug 2008 19:29:35 -0500</pubDate>
    <ttl>30</ttl>
    <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[Ibuildings Blog: Off-The-Shelf Server Setup]]></title>
      <guid>http://www.phpdeveloper.org/news/10306</guid>
      <link>http://www.phpdeveloper.org/news/10306</link>
      <description><![CDATA[<p>
On the Ibuildings blog, <i>Ian Barber</i> has <a href="http://www.ibuildings.com/blog/archives/1021-Off-The-Shelf-Server-Setup.html">a reminder</a> to PHP developers out there used to their servers "just working" because of the popularity of LAMP. He recommends digging a little deeper to the "behind the scenes" of how the server is configured.
</p>
<blockquote>
PHP programmers generally know what a good systems architecture should look like, but it is often a reality of development that they will have little input on the system itself until the last minute. In fact, it's far from uncommon for a developer to be faced with an off-the-shelf dedicated LAMP server, and left up to their own devices.
</blockquote>
<p>
He recommends getting to know things like the package manager for your distribution (apt, yum, yast, etc), stripping down the modules your installation is using, check that all of the packages in use need to be enabled and ensure that the network connection is set up correctly and is what you need for the site.
</p>]]></description>
      <pubDate>Fri, 30 May 2008 08:43:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: PHP's MySQL connection timeout]]></title>
      <guid>http://www.phpdeveloper.org/news/9419</guid>
      <link>http://www.phpdeveloper.org/news/9419</link>
      <description><![CDATA[<p>
In the process of debugging one of his scripts, <i>Brian Moon</i> came across a default setting (and problem) in the MySQL extension that didn't seem to <a href="http://doughboy.wordpress.com/2008/01/13/phps-mysql-connection-timeout/">make much sense to him</a>:
</p>
<blockquote>
There are several reasons that PHP could not be able to connect to MySQL. [...] Or, perhaps the entire server is offline.
</blockquote>
<p>
The mysql.connect_timeout setting in the php.ini is supposed to handle this sort of instance, but the default is set tpo 60 seconds. It's only apparently used when the server is completely offline and, in his opinion, is set way too high. He's proposing a patch to the MySQL extension to change this setting's default to shorten it to something a bit more reasonable.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 12:59:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ian Selby's Blog: Weird PHP Seg Faults & Custom Session Handlers]]></title>
      <guid>http://www.phpdeveloper.org/news/8674</guid>
      <link>http://www.phpdeveloper.org/news/8674</link>
      <description><![CDATA[<p>
In recent work, <i>Ian Selby</i> came across something odd - a setup where PHP was segfaulting without any real indication of where the error might be:
</p>
<blockquote>
Starting to get a little frustrated, I took a peek at my error logs (/var/log/httpd/error_log for the unitiated), and discovered a wonderful message [about the segfault]. As any person scratching their head would do, I hit up google.. to no real avail. Just a bunch of php bug reports. So, what happened, and how did I fix it?
</blockquote>
<p>
After <a href="http://www.gen-x-design.com/archives/quickie-weird-php-seg-faults-custom-session-handlers">searching through the code</a> and narrowing down where it could be, the culprit looked like a custom session handler he was using. It uses MySQL to store the sesion information and, unfortunately, when <i>Ian</i> had compiled the server he didn't let PHP know about his unique setup.
</p>
<p>
His default installation was trying to use the default MySQL information (including the socket) to reach the database. Obviously failing, the server simply gave up and segfaulted. Thankfully, all it takes it a recompile with a few extra parameters and you're back in business.
</p>]]></description>
      <pubDate>Tue, 18 Sep 2007 10:27:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nexen.net: Base configuration for PHP 5.2.3]]></title>
      <guid>http://www.phpdeveloper.org/news/8461</guid>
      <link>http://www.phpdeveloper.org/news/8461</link>
      <description><![CDATA[<p>
Nexen.net has a <a href="http://www.nexen.net/articles/dossier/17400-base_configuration_for_php_5.2.3.php">new look</a> today at something most people take for granted - some of the default extensions loaded (and how often they are) in a PHP installation.
</p>
<blockquote>
Since PHP 5.2.3 has been published, over 9700 tests were sent to the Quality Assurance Team. In those tests reports, we can find the list of failed tests, and an anonymous PHPinfo(), that helps the PHP team to understand the origin of the errors. With such a number of phpinfo(), it is tempting to get some stats about compilation choices.
</blockquote>
<p>
<i>Damien</i> has <a href="http://www.nexen.net/articles/dossier/17400-base_configuration_for_php_5.2.3.php">graphed out</a> a few different data sets - the extensions included in most default installations, other popular extensions that may or may not be compiled in, the list of rare extensions (a long list) and how often they show up and, finally, the graphing of all extensions included in any PHP install anywhere. Links to more information about these extensions can be found immediately following the graph.
</p>]]></description>
      <pubDate>Wed, 15 Aug 2007 13:48:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: About Eclipse PHP IDE php.ini location]]></title>
      <guid>http://www.phpdeveloper.org/news/6966</guid>
      <link>http://www.phpdeveloper.org/news/6966</link>
      <description><![CDATA[<p>
In <a href="http://www.alexatnet.com/Blog/Index/2006-12-23/about-eclipse-php-ide-php-ini-location">this new entry</a> on his blog, <i>Alexander Netkachev</i> shares a hint for those PHP IDE Eclipse users out there frustrated with php.ini issues.
</p>
<blockquote>
 You may notice that the IDE does not load options specified in the php.ini and this makes customizing extensions impossible. I run into this problem today and looked over the source code of PHP plugin for it.
</blockquote>
<p>
The solution he found was in <a href="http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.php.core/src/org/eclipse/php/core/phpIni/IniModifier.java">an update he found</a> to one of the Java files, pointing it to the correct location. Changing this changes the default setting for the editor.
</p>]]></description>
      <pubDate>Tue, 26 Dec 2006 10:46:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[APress' Inside Open Source Blog: Namespaces in PHP 6]]></title>
      <guid>http://www.phpdeveloper.org/news/6726</guid>
      <link>http://www.phpdeveloper.org/news/6726</link>
      <description><![CDATA[<p>
As <a href="http://opensource.apress.com/article/193/namespaces-in-php-6">this post</a> over on APress' Inside Open Source blog today, there's a discussion that's been going on over on the php-dev mailing list <a href="http://groups.google.com/group/mailing.www.php-dev/browse_thread/thread/eeb773e2acbd72e5/c7c51fdbc6d892e6?q=namespaces&lnk=ol&hl=en&">about namespaces in PHP6</a>.
</p>
<blockquote>
I find both sides of the argument quite compelling, and while FWIW I'm in favor of including them in the next release, I'm somewhat indifferent to the matter. According to one of the very latest messages in the thread, Zeev Suraski confirms they simplistic support will likely be enabled.
</blockquote>
<p>
That's <i>Jason Gilmore</i> talking there, and he goes on to reinforce something <i>Rasmus Lerdorf</i> has said about namespaces in the past - they'll implement them when they find the right way (in the PHP spirit) to do it.
</p>]]></description>
      <pubDate>Fri, 17 Nov 2006 07:30:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: PHP Functions]]></title>
      <guid>http://www.phpdeveloper.org/news/5925</guid>
      <link>http://www.phpdeveloper.org/news/5925</link>
      <description><![CDATA[<p>
DevShed shares some basic PHP knowledge today with <a href="http://www.devshed.com/c/a/PHP/PHP-Functions/">this new tutorial</a>, an introduction to functions in PHP. This time, they're specifically focusing on custom function creation.
</p>
<blockquote>
<p>
If you're looking for a way to save time when you program, look no further. Creating functions lets you reuse code that you've used before without having to rewrite the whole thing. 
</p>
<p>
This will save you time and make programming easier, especially as websites become more complex. Another advantage of a function is that it executes wherever and whenever you call it, in the same way that print() displays text.
</p>
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/PHP-Functions/">start off basic</a>, defining what a "user defined function" is before moving on to arguments in their use. They include the method to define default values and how to return values once the function is through.
</p>]]></description>
      <pubDate>Tue, 01 Aug 2006 09:52:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: CakePHP: Setting Default Values]]></title>
      <guid>http://www.phpdeveloper.org/news/5708</guid>
      <link>http://www.phpdeveloper.org/news/5708</link>
      <description><![CDATA[<p>
<i>Jonathan Snook</i> is back today with <a href="http://www.snook.ca/archives/php/cakephp_setting/">more information</a> gleaned from his voyages into the world of the CakePHP framework, this time focusing on setting up default values in your script.
</p>
<blockquote>
If you've got a user seeing a form for the first time, normally the fields are blank. But there are times where you want to prefill fields with data or preselect a certain option. Setting a default value turned out to be really straightforward.
</blockquote>
<p>
He <a href="http://www.snook.ca/archives/php/cakephp_setting/">includes the code</a> to make this "really straightforward" functionality happen. It's a simple seven line affair to make the value for the Project's name set to "Default Project Name". It uses the special "data" variable to push the value into, which, as he mentions later, is best set with a "$this->data" format as is in his example.
</p>]]></description>
      <pubDate>Wed, 28 Jun 2006 05:42:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[B&aring;rd Farstad's Blog: Compiling Apache and PHP on Mac OS X]]></title>
      <guid>http://www.phpdeveloper.org/news/5177</guid>
      <link>http://www.phpdeveloper.org/news/5177</link>
      <description><![CDATA[<p>
In <a href="http://papelipe.no/tags/php/compiling_apache_and_php_on_mac_os_x">this new blog entry</a>, <i>B&aring;rd Farstad</i> shares what he, a recent "switcher" to the OS X operating system, had to do to get Apache and PHP completely installed on his system.
</p>
<quote>
<i>
Since my recent move to the Mac running OS X I have learnt some new stuff about PHP and Apache the hard way. OS X is shipped with Apache and PHP by default and if you compile Apache and PHP like you normally do under Linux you quickly get surprised.
</i>
</quote>
<p>
HE <a href="http://papelipe.no/tags/php/compiling_apache_and_php_on_mac_os_x">notes</a> that the default install of Aapche/PHP on an OS X system is a bit different than on others - the entire isntallation isn't in the directory defined by the "prefix" parameter. He worked around this kind of setup, and includes the configure lines in the post as an example.
</p>]]></description>
      <pubDate>Fri, 14 Apr 2006 18:15:32 -0500</pubDate>
    </item>
  </channel>
</rss>
