php-ini Manage php.ini directives on a temporary basis

Getting Started

Usage

Getting Started

View the API Documentation for this class

The set method allows you to update directives:

$ini->set("include_path", "/tmp/php");

You can restore it to what is was (before you set it) like so:

$ini->restore("include_path");

Or you can restore all directives that you’ve updated:

$ini->cleanup();