Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Error in composer require nesk/puphpeteer #157

Open
kaique-ryan-santos-chagas opened this issue Nov 13, 2021 · 2 comments
Open

Error in composer require nesk/puphpeteer #157

kaique-ryan-santos-chagas opened this issue Nov 13, 2021 · 2 comments

Comments

@kaique-ryan-santos-chagas

When i try to install the library into my Laravel project the terminal returns me this error

image

Someone can help me?

@zendre4
Copy link

zendre4 commented Nov 22, 2021

Hi, first your composer tell you to add the PHP extension named "sockets".

I'm on Linux i can't help you with your environment but I found this two articles (for me it's simple it's integrate on a package named php-common):

If you find how to enable it try to reinstall it (maybe clear cache it's needed).

https://medium.com/ariel-mejia-dev/laragon-setup-series-part-4-add-php-extensions-on-laragon-be0defb6b913
https://stackoverflow.com/questions/1361925/how-to-enable-socket-in-php

I expect this can help you

@egyleader
Copy link

in your php.ini uncomment that line
extension=sockets

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

No branches or pull requests

3 participants