Closed Stasuart closed 5 years ago
Please show the contents of one of the tests/*.out
files, which result from running make test
Thank you for feedback Here are the output of 3 files. The same error with all of them..
array_access_001.out
---- EXPECTED OUTPUT
string(13) "one,two,three"
string(17) "one,two,three,new"
===EOF===
---- ACTUAL OUTPUT
/opt/bitnami/php/bin/php.bin: symbol lookup error: /tmp/v8js/modules/v8js.so: u$
---- FAILED
array_access_001.out
/opt/bitnami/php/bin/php.bin: symbol lookup error: /tmp/v8js/modules/v8js.so: u$
serialize_001.out
---- EXPECTED OUTPUT
object(V8Object)#2 (1) {
["foo"]=>
int(23)
}
string(13) "V8JsException"
string(54) "You cannot serialize or unserialize V8Object instances"
string(13) "V8JsException"
string(54) "You cannot serialize or unserialize V8Object instances"
bool(false)
string(13) "V8JsException"
string(54) "You cannot serialize or unserialize V8Object instances"
bool(false)
===EOF===
---- ACTUAL OUTPUT
/opt/bitnami/php/bin/php.bin: symbol lookup error: /tmp/v8js/modules/v8js.so: u$
---- FAILED
Is Bitnami some vanilla PHP or do they patch stuff? I've never seen some u$
symbol.
You'll likely want to use nm
or so to look where the reference is coming from
Bitnami is a LAMP stack, as I know they pack vanilla PHP, mysql etc. all together~ I am using it just to speed up development environment. Weird, because on the forum I've never seen such issue as mine so thanks to your reference, possible that this stack causes an issue. Now I am trying v8 & v8js installation over plain PHP~
@Stasuart have you found out what the problem is? Problem with Bitnami?
Hello there, I got stuck during installation of the extension and will really appreciate for any of your help. The problem is library seems to be installed but completely not working, mean when I do execute a new class V8Js() inside php file browser it shows 503 error
By the way, I strictly followed README.Linux.md guide in order to go through all installation processes.
1. compiled V8 manually (path: /opt/v8) 2. compiled php-v8js itself :
./configure --with-php-config=/opt/bitnami/php/bin/php-config --with-v8js=/opt/v8 LDFLAGS="-lstdc++"
Output:
3. After running 'make test' almost all tests are failed:
Thank you