0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 17:31:53 +00:00

Merge pull request #214 from tiemevanveen/patch-2

Linux guide - Move adding extension to php.ini to bottom
This commit is contained in:
Stefan Siegl 2016-03-12 14:19:16 +01:00
commit 2a80b0b866

View File

@ -58,8 +58,6 @@ 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 you don't want to overwrite the system copy of v8, replace `/usr` in
the above commands with some other path like `/opt/v8` and then add
`--with-v8js=/opt/v8` to the php-v8js `./configure` command below.
@ -83,3 +81,5 @@ make
make test
sudo make install
```
Then add `extension=v8js.so` to your php.ini file. If you have a separate configuration for CLI, add it there also.