From 1642ce48ba6e7c5e3b758c5ba32924db71ca2599 Mon Sep 17 00:00:00 2001 From: Alexander Hofstede Date: Fri, 20 Nov 2015 22:51:18 +0700 Subject: [PATCH] Update README.Linux.md Added a note about adding the extension to PHP config, especially for CLI, which needs to be configured separately in some PHP7 installs. --- README.Linux.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.Linux.md b/README.Linux.md index 2cd6b2c..e85c261 100644 --- a/README.Linux.md +++ b/README.Linux.md @@ -38,6 +38,8 @@ sudo cp -R include/* /usr/include echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M ``` +Then add `extension=v8js.so` to your php.ini file. If you have a separate configuration for CLI, add it there also. + * If the V8 library is newer than 4.4.9.1 you need to pass `snapshot=off` to `make`, otherwise the V8 library will not be usable (see V8 [Issue 4192](https://code.google.com/p/v8/issues/detail?id=4192))