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
Related
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.
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.
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'm facing problem on installing Contao on my Mac.
I run the command that I get from here
composer create-project contao/managed-edition
but I am getting this error
hasnainshafqat#Hasnains-MBP project % composer create-project contao/managed-edition
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl), /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so)) in Unknown on line 0
Creating a "contao/managed-edition" project at "./managed-edition"
Installing contao/managed-edition (4.9)
- Installing contao/managed-edition (4.9): Loading from cache
Created project in /Users/hasnainshafqat/contao/project/managed-edition
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- contao/newsletter-bundle 4.9.2 requires contao/core-bundle 4.9.2 -> satisfiable by contao/core-bundle[4.9.2].
- contao/newsletter-bundle 4.9.1 requires contao/core-bundle 4.9.1 -> satisfiable by contao/core-bundle[4.9.1].
- contao/newsletter-bundle 4.9.0 requires contao/core-bundle 4.9.0 -> satisfiable by contao/core-bundle[4.9.0].
- contao/core-bundle 4.9.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- contao/core-bundle 4.9.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- contao/core-bundle 4.9.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- Installation request for contao/newsletter-bundle ^4.9 -> satisfiable by contao/newsletter-bundle[4.9.0, 4.9.1, 4.9.2].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
I've enable the extension from php.ini file but still I don't know what I am doing wrong.
Here is the video of my installation . please let me know what I've to fix
php version is
hasnainshafqat#Hasnains-MBP project % php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl), /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so)) in Unknown on line 0
PHP 7.3.11 (cli) (built: Feb 29 2020 02:50:36) ( NTS )
This question already has an answer here:
PHP Startup: Unable to load dynamic library 'php_mongodb.dll'
(1 answer)
Closed 2 years ago.
Hello guys I'm trying to integrate mongodb with my laravel project. Since I'm new to this so I'm facing some errors when trying to intergrate the monogdb.
I'm following this tutorial Laravel MongoDB. When ever I try to run this command composer require jenssegers/mongodb I get this error.
Warning: Module 'mongo' already loaded in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library
'D:/Ampps/php/ext\php_mongodb.dll' - The specified module could not be
found. in Unknown on line 0 Using version ^3.0 for jenssegers/mongodb
./composer.json has been updated
php artisan clear-compiled
Warning: Module 'mongo' already loaded in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library
'D:/Ampps/php/ext\php_mongodb.dll' - The specified module could not be
found. in Unknown on line 0 Loading composer repositories with
package information Updating dependencies (including require-dev) Your
requirements could not be resolved to an installable set of packages.
Problem 1
- jenssegers/mongodb v3.0.0 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.0.0, 1.0.1].
- jenssegers/mongodb v3.0.1 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.0.0, 1.0.1].
- jenssegers/mongodb v3.0.2 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.0.0, 1.0.1].
- mongodb/mongodb 1.0.1 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.0 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- Installation request for jenssegers/mongodb ^3.0 -> satisfiable by jenssegers/mongodb[v3.0.0, v3.0.1, v3.0.2].
To enable extensions, verify that they are enabled in those .ini
files:
- D:\Ampps\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 to its original
content.
Can't figure out why. Please tell me what is it that I'm doing wrong.
one thing more that the mongodb dll that I downloaded is the correct one which matches to my php version and it is the thread safe version
If you guys have any question feel free to ask
I don't know why but I downloaded the file again and replaced the already present file and everything started to work. Wired but this helped me