-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Is there a reason to put settings like timeout, persistence, etc in php.ini
? Usually, such kind of settings are made to be configurable on an instance level, instead of globally. See some examples:
http://php.net/manual/en/mongodb-driver-manager.construct.php
https://github.com/phpredis/phpredis#example-1
http://php.net/manual/en/function.pg-connect.php
So, currently you can't have two Tarantool instances with different timeout settings, or one with a persistent connection while the other with a regular one. Also, putting those settings in php.ini decreases scripts portability, as the same script can behave differently depending on php.ini settings.
Metadata
Metadata
Assignees
Labels
featureA new functionalityA new functionality