Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How could I install V8 extension in laradock #2753

Open
murilolivorato opened this issue Oct 23, 2020 · 2 comments
Open

How could I install V8 extension in laradock #2753

murilolivorato opened this issue Oct 23, 2020 · 2 comments

Comments

@murilolivorato
Copy link

Hello , I am trying to make this tutorial ,
https://www.youtube.com/watch?v=cTwQtmFjYkw&t=196s

To make server side rendering with VUE + Laravel , for that I need V8 extension .
in this tutorial , he install on local machina the v8 . how could I install it ?
Thnaks

@murilolivorato
Copy link
Author

murilolivorato commented Oct 23, 2020

I type in my local machine

 apt-get install v8 

and It says

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package v8

@pjotrsavitski
Copy link

The video clearly shows a PHP extension package being installed with command pecl install v8js, then that extension is being added to the PHP in the corresponding .ini file. The last step was to restart the php-fpm and have the extension loaded.

This has nothing to do with your local packages themselves and is handled by the PHP. Please see this for the packages.

This part of the Dockerfile shows how phpredis is being installed and configured if enabled within the .env file.

You are trying to use OS package managed to install a package it does not have instead of following along with the logic from the linked video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants