Installing PECL Yaml Parser For Speed

Is this possible on a Raspberri pi running nginx? Is there a guide on what to install?

Presumably you could do as described here and expand upon it by adding PECL Yaml Parser.

Raspbian is built on top of an optimized Debian base, so this will probably work: https://syntaxsugar.github.io/posts/2015/10/install-php-extension-yaml/