PHP Classes

Notable PHP package: PHP.ini Settings

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 107

Last month viewers: 1

Categories: Notable Packages

PHP uses a php.ini file to read values that configures many aspects of the way PHP code works.

If you change one configuration value but set it to an incorrect type, PHP may not work as you expect and you may take a long time to figure what you did wrong.

The class provides a solution that can not only read and change php.ini settings, but it also can verify if you are setting those values to the correct types that PHP is expecting.

It uses a knowledge base file that contains the types of values that PHP expects for most of the configuration settings, so it can validate all the values and tell you if you set any values incorrectly.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP.ini Settings is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Manage the PHP configuration values of php.ini

Here follows in more detail what it does:

This package can manage the PHP configuration values of php.ini.

It can read the values of a php.ini file, get option values, change option values and save the modified settings to the current or a new php.ini file.

The package attempts to validate the types of values passed to each setting using a configuration CSV file that has the type information for each value.

The original formatting and comments are preserved when writing back the modified contents. Quoted values will remain quoted, and unquoted values will remain unquoted. So if you use a diff utility you can easily note what was changed.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)