kesto.de Cheatsheets

PHP

Set memory limit when executing CLI scripts

php -d memory_limit=1024M example.php

Run integrated web server:

php -S localhost:8000 --docroot .