problem
composer require google/cloud-firestore
PHP Warning: PHP Startup: Unable to load dynamic library 'php_grpc.dll' (tried: ext\php_grpc.dll (Não foi possível encontrar o módulo especificado), ext\php_php_grpc.dll.dll (Não foi possível encontrar o módulo especificado)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_grpc.dll' (tried: ext\php_grpc.dll (Não foi possível encontrar o módulo especificado), ext\php_php_grpc.dll.dll (Não foi possível encontrar o módulo especificado)) in Unknown on line 0
Using version ^0.1.0 for google/cloud-firestore
./composer.json has been updated
Running composer update google/cloud-firestore
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires google/cloud-firestore ^0.1.0, found google/cloud-firestore[v0.1.0, v0.1.1] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require google/cloud-firestore:*" to figure out if any version is installable, or "composer require google/cloud-firestore:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
You need to install and enable the gRPC extension for PHP, which you will need to use the client library.
Installing the gRPC extension
sudo pecl install grpc
This compiles and installs the gRPC PHP extension into the standard PHP extension directory.
Note : Windows users can download the pre-compiled gRPC directly from the PECL website.
Enable the gRPC extension in php.ini
extension=grpc.so
WIndows? extension=php_grpc.dll.
Related
I cannot give the composer install command in VSCode. When I try this message appears.
"PHP Warning: PHP Startup: Unable to load dynamic library 'oci8_12c' (tried: C:\xampp\php\ext\oci8_12c (Não foi possível encontrar o módulo especificado.), C:\xampp\php\ext\php_oci8_12c.dll (Não foi possível encontrar o módulo especificado.)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'oci8_12c' (tried: C:\xampp\php\ext\oci8_12c (Não foi possível encontrar o módulo especificado.), C:\xampp\php\ext\php_oci8_12c.dll (Não foi possível encontrar o módulo especificado.)) in Unknown on line 0
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for yajra/laravel-oci8 v6.0.0 -> satisfiable by yajra/laravel-oci8[v6.0.0].
- yajra/laravel-oci8 v6.0.0 requires ext-oci8 >=2.0.0 -> the requested PHP extension oci8 is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.".
I am using XAMPP version 7.4.29, COMPOSER 1.10.5 and ORACLE INSTANT CLIENT 12.2
I tried to download the oci8_12c file and put it in the php folder, even so it's giving the same error.
I need help
I have a problem with mongodb extension in xampp.
I installed with command:
sudo pecl install mongodb
and enabled in php.ini:
extension="mongodb.so"
but it's has a problem when command writinig
php -v
or install jenssegers/mongodb in laravel
composer require jenssegers/mongodb
and etc...
Help me🙏
PHP 8.2
MacOs 13.2
problem:
PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so, 0x0009): symbol not found in flat namespace '_u_strFromUTF8_72'), /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so.so, 0x0009): tried: '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so.so' (no such file), '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829/mongodb.so.so' (no such file))) in Unknown on line 0
I installed different versions from mongodb extension but it's have problem.
Please help me
I am having an issue while the Laravel MongoDB connection.
when running this command :"composer require jenssegers/mongodb".
I got this warning message:
LENOVO#DESKTOP-7MHNLPS MINGW64 /c/xampp8/htdocs/mongotest
$ composer require jenssegers/mongodb
PHP Warning: PHP Startup: Can't load module 'C:\xampp\php\ext\php_mongodb.dll' as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0
Warning: PHP Startup: Can't load module 'C:\xampp\php\ext\php_mongodb.dll' as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^3.9 for jenssegers/mongodb
./composer.json has been updated
Running composer update jenssegers/mongodb
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires jenssegers/mongodb ^3.9 -> satisfiable by jenssegers/mongodb[v3.9.0].
- jenssegers/mongodb v3.9.0 requires illuminate/support ^9.0 -> found illuminate/support[v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require jenssegers/mongodb:" to figure out if any version is installable, or "composer require jenssegers/mongodb:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.*
I am using XAMPP on windows 10 and my PHP version is 8.1.6 and MongoDB version is 5.0.8.
I have tried three different php_mongodb.dll.
php_mongodb-1.13.0-8.1-ts-vs16-x64
php_mongodb-1.12.1-8.1-ts-vs16-x64
php_mongodb-1.12.0-8.1-ts-vs16-x64
and also added extension=php_mongodb.dll in the php.ini file.
I don't understand this warning and I have no clue how to resolve it.
PHP Warning: PHP Startup: Can't load module 'C:\xampp\php\ext\php_mongodb.dll' as it's linked with 14.29, but the core is linked with 14.16 in Unknown on line 0
Please help me and Thanks in Advance.
Maybe try this composer require jenssegers/mongodb --ignore-platform-reqs
This question already has answers here:
How do I install GD on my windows server version of PHP
(8 answers)
Extension gd is missing from your system - laravel composer Update
(23 answers)
Closed 2 years ago.
Good afternoon
Sorry I don't speak english, but I will try to communicate using google translator
To start, it should be important to inform that I use windowns 10, and php 7.2
I'm trying to put some form of payment on my system!
However when typing the command
php composer.phar require "mercadopago/dx-php"
or
composer require "mercadopago/dx-php"
give the following error
You are running Composer with SSL/TLS protection disabled.
Using version ^2.2 for mercadopago/dx-php
./composer.json has been updated
Running composer update mercadopago/dx-php
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-gd * but it is missing from your system. Install or enable PHP's gd extension.
Problem 2
- mpdf/mpdf is locked to version v7.1.9 and an update of this package was not requested.
- mpdf/mpdf v7.1.9 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
Problem 3
- spatie/array-to-xml is locked to version 2.16.0 and an update of this package was not requested.
- spatie/array-to-xml 2.16.0 requires php ^7.4|^8.0 -> your php version (7.2.23) does not satisfy that requirement.
Problem 4
- league/flysystem 1.1.3 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- laravel/framework v5.6.40 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.1.3].
- laravel/framework is locked to version v5.6.40 and an update of this package was not requested.
To enable extensions, verify that they are enabled in your .ini files:
- C:\php\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I gave the following command composer require "ext-gd:" --ignore-platform-reqs* and it happens
You are running Composer with SSL/TLS protection disabled.
./composer.json has been updated
Running composer update ext-gd
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package jpgraph/jpgraph is abandoned, you should avoid using it. No replacement was suggested.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Class App\agentes located in C:/xampp/htdocs/analiselol - Copia/app\Agentes.php does not comply with psr-4 autoloading standard. Skipping.
Class App\Aportes located in C:/xampp/htdocs/analiselol - Copia/app\aportes.php does not comply with psr-4 autoloading standard. Skipping.
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run ".\vendor\bin\upgrade-carbon" to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> #php artisan package:discover
Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll[PHP]' (tried: C:\php\ext\php_curl.dll[PHP] (No foi possvel encontrar o mdulo especificado.), C:\php\ext\php_php_curl.dll[PHP].dll (No foi possvel encontrar o mdulo especificado.)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll[PHP]' (tried: C:\php\ext\php_curl.dll[PHP] (No foi possvel encontrar o mdulo especificado.), C:\php\ext\php_php_curl.dll[PHP].dll (No foi possvel encontrar o mdulo especificado.)) in Unknown on line 0
Package manifest generated successfully.
56 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
In php.ini i took it out; of the following line
extension = php_gd2.dll
and as I didn't have the line extension=php_gd2.dll I added it there in an attempt to resolve
I'm new to this part of the programming, if you missed something important, I'm sorry, I really need to make it work!
a and follow my composer.json, if it matters
I face below issue when trying to run composer install:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll' - dlopen(/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll' - dlopen(/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll, 9): image not found in Unknown on line 0
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for magento/magento2-base 2.1.1 -> satisfiable by magento/magento2-base[2.1.1].
magento/magento2-base 2.1.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Problem 2
Installation request for magento/product-community-edition 2.1.1 -> satisfiable by magento/product-community-edition[2.1.1].
magento/product-community-edition 2.1.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
To enable extensions, verify that they are enabled in those .ini files:
- /usr/local/etc/php/7.0/php.ini
- /usr/local/etc/php/7.0/conf.d/ext-mcrypt.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
How can I fix this?
Issue
I don't have the slightest clue, how you managed to end up with a Windows DLL on Mac, but...
/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/
indicates that you are using Mac/Homebrew.
no-debug-non-zts-20151012/php_intl.dll indicates that you are trying to load a Windows DLL
The extension you are trying to use is build/compiled for another operating system. PHP can't load that file.
That's the reason for the Warning: PHP Startup: Unable to load dynamic library.
Solution
Install via Homebrew
brew update
brew install icu4c
or Install via PECL
sudo pecl update-channels
sudo pecl install intl
Then add extension=php_intl.so to your php.ini,
Or that full path mess: extension=/usr/local/Cellar/php70/7.0.14_7/lib/php/extensions/no-debug-non-zts-20151012/php_intl.so