V8Js is a PHP extension for Google's V8 JavaScript engine.
Questions tagged [v8js]
26 questions
1
vote
1 answer
Installing v8js on ubuntu 18.04
I have installed laravel homestead on my local machine with ubuntu 18.04. I want to install v8js on it I' ve checked a few tutorials but I still don't know exactly how to do this. I install v8js js via
$ sudo pecl install v8js
I don't know what…
user9630785
1
vote
1 answer
0
votes
0 answers
How to install v8js extension in Mac?
Hello currently i am doing vue project in visual studio code and i want to install v8.js extension.
i 've done brew install v8 and clone the v8.js git but i don't know what to do next...
php version(7.4.33 )
brew install v8
sudo git clone…
0
votes
1 answer
Version mismatch between V8 binary and snapshot
I have an issue related to v8, now it is unrelated to your docker image but since I have seen you being active in the space I thought you may be able to help
My setup is the following:
Debian 11
php7.2-fpm
v8 version 10.0.1
v8js checkout…

Datenkralle
- 35
- 5
0
votes
1 answer
Unable to install v8js & v8 on Centos
We've been trying to install v8js on our server:
SERVER DETAILS:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-042stab141.3
Architecture: x86-64
We use php 7.4
We have tried numerous methods found…

Starstruc8
- 1
- 1
0
votes
0 answers
Install v8js on windows laravel/yii2
I installed v8js by click but it does not work, the project on laravel does not see v8js, please tell me how to properly connect it to the project

NEATweb
- 1
0
votes
1 answer
How to create HTTP requests with axios from within V8Js
When running Axios in V8Js all requests fail as XMLHttpRequest is not available.
How can we make axios request work server side?

Felix Eve
- 3,811
- 3
- 40
- 50
0
votes
1 answer
How to do final state injection with Vue SRR with V8Js
The Vue SSR guide is mainly written for running a nodejs server and just touches on using V8Js in the final chapter.
It does have a section on final state injection but this doesn't work in the context of V8Js.
How can we pass the Vuex state from…

Felix Eve
- 3,811
- 3
- 40
- 50
0
votes
0 answers
"python: not found" error when trying to install V8JS
I'm trying to install V8JS on my local machine (Windows OS) in c:xampp\v directory. I've used below commands in Git:
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=`pwd`/depot_tools:"$PATH"
$ gclient
The…

ata
- 3,398
- 5
- 20
- 31
0
votes
1 answer
V8js installed but not working
Good morning,
I tried to install V8js from this link
https://github.com/linux-on-ibm-z/docs/wiki/Building-V8-libraries-5.xi
I have add the path in php.ini
extension = /root/v8test/v8/out/s390x.release/lib.target/libv8.so
I have also try with…

bormat
- 1,309
- 12
- 16
-1
votes
1 answer
Difference result for RegExp in the V8Js on PHP and Console Chrome
I have this JS code:
var str = "foo bar";
var res1 = str.replace(new RegExp('foo\\b', 'g'), "BAZ");
var res2 = str.replace(new RegExp('foo', 'g'), "BAZ");
console.log("Result1: " + res1 + " Result2: " + res2);
The result on Console of Chrome…

Nabi K.A.Z.
- 9,887
- 6
- 59
- 81