mikeshiyan / php-ini
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP script to update php.ini configuration options.
1.1.0
2018-03-15 00:30 UTC
Requires
- symfony/console: ^3.4.6
- symfony/filesystem: ^3.4.6
- symfony/lock: ^3.4.6
This package is not auto-updated.
Last update: 2019-02-20 19:06:17 UTC
README
PHP script to update php.ini configuration options.
Requirements
Installation
Preferred way (prevents potential Composer dependencies conflict):
mkdir php-ini && cd php-ini
composer require -o mikeshiyan/php-ini:@stable
sudo ln -s $PWD/vendor/mikeshiyan/php-ini/bin/php_ini /usr/local/bin/
Of course you can search for and use any other known way to install this Composer package. Just make sure to make bin/php_ini an executable file and to create its symlink in any directory from the PATH environment variable.
Examples
Set memory_limit and session.name options:
sudo php_ini memory_limit=512M session.name=PHPSESSID
Do the same with another php.ini (not currently loaded):
sudo php_ini -f/etc/php/5.6/apache2/php.ini memory_limit=512M session.name=PHPSESSID