1

I am using ubuntu 14.04 with PHP 5.6 and successfully installed v8js-0.1.3 using sudo pecl install v8js-0.1.3.

I followed this installation process Installing PHPv8js on Ubuntu.

Which is display when I am using php -m.

But when I call new object of v8js like $v8 = V8Js(). I get the following error :- Fatal error: Class 'V8Js' not found

Community
  • 1
  • 1
user3668857
  • 11
  • 1
  • 4

1 Answers1

1

V8Js is a PHP7 extension for Google's V8 Javascript engine V8 Js.

Aravinth
  • 97
  • 2
  • 18
  • I have already installed latest node > 7.0 so don't think installation of v8. Means i have to make and sudo make install of V8 JS am i right ? – user3668857 Mar 12 '17 at 13:11
  • The minimum requirement mentioned in the link is php7. May be because of that it is not working. – Aravinth Mar 12 '17 at 14:22