Support for V8 Javascript Engine for PHP
Simon Kendler
Will be in the future a support of the V8 Javascript Engine for PHP (https://github.com/phpv8/v8js)? It can be used for server side rendering of javascript code.
This problem can not be solved by simple adding an php extension (e.g. v8js.so) because there have to be some system extensions (libv8_libbase.so, etc.) installed on the system.
1
Comments
it might be a little more work, but you should be able to install just about anything using the hooks, see: https://docs.platform.sh/configuration/app/build.html#hooks
Check out the install instructions for v8
https://github.com/v8/v8
Alternatively, you could compile the binaries, upload them somewhere, and use the hooks to download and copy them in place. Might want to use LD_LIBRARY_PATH, to add a directory where you can place those files.
Please sign in to leave a comment.