PHP Classes

php.ini Settings Manager: Get and set the values of PHP settings dynamically

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 118 All time: 9,529 This week: 660Up
Version License PHP version Categories
php-ini-settings 1.0Custom (specified...5PHP 5, Language, Configuration
Description 

Author

This class can be used to get and set the values of PHP settings dynamically.

It provides means to change the values of given PHP configuration settings from a running PHP script.

The class can also retrieve the current values of any PHP configuration settings.

Picture of jawira
  Performance   Level  
Name: jawira <contact>
Classes: 11 packages by
Country: Belgium Belgium
Age: ???
All time rank: 302216 in Belgium Belgium
Week rank: 47 Up1 in Belgium Belgium Up
Innovation award
Innovation award
Nominee: 9x

Winner: 2x

Documentation

PHP ini settings

Change PHP's settings on the fly.

<!-- BADGES: https://github.com/php-pds/badges https://poser.pugx.org/ https://php-eye.com/about#badges https://phppackages.org/p/jawira/case-converter -->

Usage

Usually you configure PHP through php.ini file, however it's also possible to change these settings at runtime:

Set values:

$ini = new Settings();
$oldValue = $ini->set('option-name','value');

Get values:

$ini = new Settings();
$oldValue = $ini->get('option-name');

How to install

@todo

Requirements

@todo

Contributing

To contribute to this project please read CONTRIBUTING.md

License

This library is licensed under the MIT license.


  Files folder image Files (10)  
File Role Description
Files folder imagebin (1 file)
Files folder imagesrc (2 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file build.xml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phive.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (10)  /  bin  
File Role Description
  Accessible without login Plain text file generate-constants.php Aux. Auxiliary script

  Files folder image Files (10)  /  src  
File Role Description
  Plain text file Key.php Class Class source
  Plain text file Settings.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:118
This week:0
All time:9,529
This week:660Up