Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Indicating settings to PHP in SSH (PHP CLI) command line usage
In order to configure PHP command line usage (php-cli), use the PHP setting -d.
For example:
php -d param=value
In this case, PHP will be executed with the value "value" for the setting "param".
For example: in order to modify several PHP variables at the same time:
php -d max_execution_time=90 -d memory_limit=256M -d safe_mode=Off -f test.php
Link to this FAQ: