Browse Source

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.
Alexander Hofstede 10 năm trước cách đây
mục cha
commit
1642ce48ba
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      README.Linux.md

+ 2 - 0
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))