An open API service indexing awesome lists of open source software.

https://github.com/frickelbruder/php-ini-setter

Add or update php.ini settings from the command line.
https://github.com/frickelbruder/php-ini-setter

cd ci composer configuration phar php php-ini-setter

Last synced: 5 months ago
JSON representation

Add or update php.ini settings from the command line.

Awesome Lists containing this project

README

          

# Php-Ini-Setter ![As always: Travis is green](https://travis-ci.org/frickelbruder/php-ini-setter.svg)
Add or update php.ini settings from the command line.

This tool is useful in an CI/CD environment to adjust the ini-settings according to your needs

##Installation

###Phar
Simply donwload the latest release at https://github.com/frickelbruder/php-ini-setter/releases

###Composer
```
php composer.phar global require "frickelbruder/php-ini-setter":"dev-master"
```

##Usage
```
sudo php-ini-setter --name $settingToChange --value $valueToSetTheValueTo --file $pathToIniFile
```
or (with phar)
```
sudo php-ini-setter.phar --name $settingToChange --value $valueToSetTheValueTo --file $pathToIniFile
```
- sudo is required, if your current user is not allowed to write to the ini file.
- vendor/bin/ is the path to your composer bin directory.