<?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, 23 May 2013 05:34:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mattias Geniar's Blog: php_value vs php_admin_value and the use of php_flag explained]]></title>
      <guid>http://www.phpdeveloper.org/news/17573</guid>
      <link>http://www.phpdeveloper.org/news/17573</link>
      <description><![CDATA[<p>
In <a href="http://mattiasgeniar.be/2012/02/18/php-php_value-vs-php_admin_value-and-the-use-of-php_flag-explained/">this quick post</a> to his blog <i>Mattias Geniar</i> looks at three different Apache flags you can use in your configuration/.htaccess files to set various things in your PHP environment.
</p>
<blockquote>
Back <a href="http://mattiasgeniar.be/2009/03/07/overwrite-php-settings-through-apache-conf-or-htaccess-php_admin_value-bug/">in 2009 there was a bug in the php_admin_value</a> implementation before PHP 5.2.6. Since then, everything should run smoothly again. However, I find there's still a lot of confusion on when to use php_value, php_admin_value, php_flag and php_admin_flag. So I'll see if we can clear some of that.
</blockquote>
<p>
He compares the three php_* flags you can use to set different kinds of values - "php_flag" for boolean operations, "php_admin_flag" (similar, but only in the vhost config) and the "php_value" that can be used for everything else, including overriding some settings in your php.ini.
</p>]]></description>
      <pubDate>Wed, 22 Feb 2012 12:14:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: set_include_path() failing]]></title>
      <guid>http://www.phpdeveloper.org/news/9636</guid>
      <link>http://www.phpdeveloper.org/news/9636</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> came up against <a href="http://blog.calevans.com/2008/02/14/set_include_path-failing/">a problem</a> earlier in his development work - issues when he was trying to get his old include path.
</p>
<blockquote>
What you SHOULD get back is a string describing your old include path. If you get false, you have hit the problem I hit last night. I went so far as to recompile 2 difference versions of Apache thinking (almost correctly) that it was something that had changed in my Apache config files.
</blockquote>
<p>
If you're one of the "falsers" out there, check out <a href="http://blog.calevans.com/2008/02/14/set_include_path-failing/">the rest of his post</a> of his solution around the problem. His problem stemmed from his trying to reassign a php_admin_value (instead of php_value where the script could override it) setting, specifically the one for the include_path. 
</p>
<p>
He also points out that Zend Framework users might keep an eye out for this problem too as the Zend_Loader package changes the include path at times.
</p>]]></description>
      <pubDate>Thu, 14 Feb 2008 15:09:38 -0600</pubDate>
    </item>
  </channel>
</rss>
