v8js Installation
From DreamFactory
- Drivers
- Bitnami Installs on Windows, Mac, and Linux
- Drivers
The Bitnami packages come with v8js already install and running. No further action is necessary.
- Linux -- Debian/Ubuntu
If you wish to install an older version of v8js, you can follow these instructions
- Ensure that you have the php-pear and php5-dev packages installed on your system. You will also need to install the v8 dev library and g++ and cpp from the package manager
$ sudo apt-get install php-pear php5-dev libv8-dev g++ cpp
- Use PECL to make the v8js.so file
$ sudo pecl install v8js-0.1.3
- If the the install generates any errors it has failed. You will need to troubleshoot based on the error reported.
- Create a module file for your v8js installation.
$ sudo touch /etc/php5/mods-available/v8js.ini
- Edit the file you just created in your preferred text editor.
- There is a single line in the file it looks like this:
extension=v8js.so
- Enable the php extension
$ sudo php5enmod v8js
- Restart your web service service
- or
$ sudo service apache2 restart
$ sudo service php5-fpm restart \&\& sudo service nginx restart