PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-11-26 (14 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 89 This week: 6All time: 9,377 This week: 58Up
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.

  Performance   Level  
Name: jawira <contact>
Classes: 4 packages by
Country: Belgium Belgium
Age: ???
All time rank: 398823 in Belgium Belgium
Week rank: 12 Up1 in Belgium Belgium Up
Innovation award
Innovation award
Nominee: 2x

 

Details

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  
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  /  bin  
File Role Description
  Accessible without login Plain text file generate-constants.php Aux. Auxiliary script

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:89
This week:6
All time:9,377
This week:58Up