I am creating a php website using the symfony framework and composer.
When I try to do compose update
inside the projects folder or when I try to install a bundle using composer require symfony/swiftmailer-bundle
I get the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-http * is missing from your system.
Install or enable PHP's http extension.
(It says 'Problem 1', but it is the only problem listed.)
I already looked for the extension in my php.ini file, but I can't find it. Do I need to install an extension manually? If so, where can I find it?
Thanks in advance!
in my case i'm using ubuntu, hope this solve the problem.
sudo apt install php-http