Files
tricu/notes/php-cli-run-flags.md

19 lines
395 B
Markdown

# PHP Recommended Run Flags
```php
php -d opcache.enable_cli=1 \
-d opcache.jit_buffer_size=256M \
-d opcache.jit=tracing \
ext/php/run.php run $PATH_TO_ARBORIX_BUNDLE $ARGS
```
For bundle execution test server:
```php
nix build .#tricu-php
ARBORICX_LIB=../../../lib/libarboricx.so php \
-S localhost:8081 \
-t ./result/share/tricu-php/public \
-d ffi.enable=true
```