0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 15:25:19 +00:00

Linux guide - Move adding extension to php.ini to bottom

This commit is contained in:
Tieme van Veen 2016-03-10 10:58:53 +01:00
parent dd2ad91452
commit 2f5db5d9ef

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.