tekrat

PHP INI Includes

This patch provides the ability to have PHP INI includes so that you can include different configuration files similar to Apache. Please read the simple overview at the top of the patch and let me know of any problems.

  (c)2007-2008 Brian Shire <shire@tekrat.com> & Facebook Inc, Licensed under MIT License 

  To use:

    Apply the patch with the following commands:
      cd php-5.2.4
      patch -p1 -i php_ini_includes.5*.patch

    Rebuild/install php and you'll have the ability to add the following to your PHP ini files:
      include "common.ini"
    or
      include "/path/*"

Patch Downloads:

PHP-5.3.0-cvs patch (2009.02.28)

PHP-5.2.x-cvs patch (2008.06.09) (Facebook Mirror)

PHP-5.2.6 patch (Facebook Mirror)

PHP-5.2.5 patch (Facebook Mirror)

PHP-5.2.4 patch (Facebook Mirror)

2 Responses for "PHP INI Includes"

  1. boris64 January 4th, 2010 at 7:17 am

    This feature sounds really nice. Is there any
    chance to get this included in an official php release?

  2. Jason King June 8th, 2010 at 12:52 pm

    +1 for this one.


Leave a reply