frickelbruder/php-ini-setter

A tool to adjust php.ini settings

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/frickelbruder/php-ini-setter

1.3.1 2018-06-16 23:11 UTC

This package is not auto-updated.

Last update: 2025-09-29 04:05:41 UTC


README

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.