Answer the question
In order to leave comments, you need to log in
How to enable modules from under PHP CLI as from under Apache?
1. The paths for parsing extension ini files are the same, they use the same php.ini file.
2. From under root php in CLI mode gives all modules (connects all extensions).
3. Only a part of the modules works in the CLI mode as a user in the system. Those. PHP-CLI does not pick up the module file.
How to make PHP CLI load all extensions from under user?
Answer the question
In order to leave comments, you need to log in
Problem source options:
Usually when you run "php -m" - you can see Warning - and that he could not do something.
It's called startup_errors - look at the main php.ini and enable the option to show them: display_startup_errors
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question