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

Help install or enable php-curl extension #2376

Closed
vanthao03596 opened this issue Nov 17, 2019 · 1 comment
Closed

Help install or enable php-curl extension #2376

vanthao03596 opened this issue Nov 17, 2019 · 1 comment

Comments

@vanthao03596
Copy link

This is first time i try laradock. My project need php-curl extension but i don't know how to install or enable it.

@devblaze
Copy link

devblaze commented Dec 10, 2022

@vanthao03596 I am sorry that I comment on the closed Issue.
I have the same issue and I want to enable have you figured it out?
I also get this error when I run composer install inside my workspace container.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - algolia/algoliasearch-client-php[3.0.0, ..., 3.3.2] require ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.
    - algolia/scout-extended[v1.18.0, ..., v1.20.2] require algolia/algoliasearch-client-php ^3.0.0 -> satisfiable by algolia/algoliasearch-client-php[3.0.0, ..., 3.3.2].
    - Root composer.json requires algolia/scout-extended ^1.18 -> satisfiable by algolia/scout-extended[v1.18.0, ..., v1.20.2].

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/8.2/cli/php.ini
    - /etc/php/8.2/cli/conf.d/10-opcache.ini
    - /etc/php/8.2/cli/conf.d/10-pdo.ini
    - /etc/php/8.2/cli/conf.d/20-ast.ini
    - /etc/php/8.2/cli/conf.d/20-calendar.ini
    - /etc/php/8.2/cli/conf.d/20-ctype.ini
    - /etc/php/8.2/cli/conf.d/20-exif.ini
    - /etc/php/8.2/cli/conf.d/20-ffi.ini
    - /etc/php/8.2/cli/conf.d/20-fileinfo.ini
    - /etc/php/8.2/cli/conf.d/20-ftp.ini
    - /etc/php/8.2/cli/conf.d/20-gettext.ini
    - /etc/php/8.2/cli/conf.d/20-iconv.ini
    - /etc/php/8.2/cli/conf.d/20-phar.ini
    - /etc/php/8.2/cli/conf.d/20-posix.ini
    - /etc/php/8.2/cli/conf.d/20-readline.ini
    - /etc/php/8.2/cli/conf.d/20-shmop.ini
    - /etc/php/8.2/cli/conf.d/20-sockets.ini
    - /etc/php/8.2/cli/conf.d/20-sysvmsg.ini
    - /etc/php/8.2/cli/conf.d/20-sysvsem.ini
    - /etc/php/8.2/cli/conf.d/20-sysvshm.ini
    - /etc/php/8.2/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-curl` to temporarily ignore these required extensions.

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

No branches or pull requests

2 participants