piniset - php.ini options

Navigation:  PHP Selector > Command Line Tools >

piniset - php.ini options

Previous pageReturn to chapter overviewNext page

Note. The command is obsolete, please use selectorctl instead.

 

/usr/bin/piniset                Allows to adjust individual php.ini settings

 

Customer's can adjust individual php.ini settings using user interface.

 

Admin can manage the settings by running:

 

/usr/bin/piniset --replace="session.save_path:/tmp/php,upload_max_size:1G" --version=5.3 --user=USERNAME

 

/usr/bin/piniset -- is used to manage PHP ini settings.

 

Usage: /usr/bin/piniset [OPTIONS] --version=PHPVERSION --user=USERNAME

Options:

 

-r | --replace   : replaces user php.ini options with supplied comma-separated

                   list of colon-separated key:value pairs

     --append    : appends options to user's php.ini with supplied comma-separated

                   list of colon-separated key:value pairs [lvemanager 0.7-1.29]

     --delete    : deletes options from user php.ini file, accepts comma separated

                   list of options. [lvemanager 0.7-1.29]

-j | --json      : return data as JSON

-p | --perl      : return data as perl "hash"

-u | --user      : specify the user

-v | --version   : specify php version

-h | --help      : print this message

 

/usr/bin/piniset --json --version=5.3 --user=USERNAME

 

Will display custom php.ini options for end customer.