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.
- Host: GitHub
- URL: https://github.com/frickelbruder/php-ini-setter
- Owner: frickelbruder
- Created: 2016-04-02T23:29:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T00:57:33.000Z (over 5 years ago)
- Last Synced: 2025-05-23T11:16:03.706Z (about 1 year ago)
- Topics: cd, ci, composer, configuration, phar, php, php-ini-setter
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Php-Ini-Setter 
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.