Good day!
Thank you in advance for any help in solving, for me, an important problem!
I'll be brief.
Configuration:
- x64
- apache 2.4
- php 7.1 TS
You must use js code in php. Under the implementation, it was decided to use the v8js extension. Link to PECL A compiled php with all extensions was downloaded and connected to apache.
- When you start the web server in the logs everything is fine.
- echo phpinfo (); shows that the extension is connected.

Problem:
- PHP notifies that a class is not defined.
- List of downloaded extensions
At number 38 our v8js flaunts.
- Issuing a list of expansion features
Returns an empty array. But when passing names of other extensions to the argument, the function returns a complete list of all commands.
Questions:
- Why didn't the extension actually load? As if there is only a wrapper. (Expansion weighs ~ 200 kb)
- What ways you can still check the functionality of the extension? (logs, errors)
- Why is it so hard?)





