Skip to content

Commit ca6e0e2

Browse files
committed
Merge pull request #174 from aphofstede/patch-1
Update README.Linux.md to include PHP extension instruction.
2 parents 33d2de5 + 1642ce4 commit ca6e0e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.Linux.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ sudo cp -R include/* /usr/include
3838
echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M
3939
```
4040

41+
Then add `extension=v8js.so` to your php.ini file. If you have a separate configuration for CLI, add it there also.
42+
4143
* If the V8 library is newer than 4.4.9.1 you need to pass `snapshot=off` to
4244
`make`, otherwise the V8 library will not be usable
4345
(see V8 [Issue 4192](https://code.google.com/p/v8/issues/detail?id=4192))

0 commit comments

Comments
 (0)