laravel-pdo-odbc icon indicating copy to clipboard operation
laravel-pdo-odbc copied to clipboard

Failed to install the package

Open basselhossam95 opened this issue 2 years ago • 6 comments

when I try to install the package in my project I get this error

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

  Problem 1
    - yoramdelangen/laravel-pdo-odbc[1.1.0, ..., 1.1.5] require ext-odbc * -> it is missing from your system. Install or enable PHP's odbc extension.
    - Root composer.json requires yoramdelangen/laravel-pdo-odbc ^1.1 -> satisfiable by yoramdelangen/laravel-pdo-odbc[1.1.0, ..., 1.1.5].

To enable extensions, verify that they are enabled in your .ini files:
    - /Applications/MAMP/bin/php/php7.4.21/conf/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

even though I have added snowflake_pdo.so to my php image and when I installed it with --ignore-platform-reqs it worked so I suggest to revert this change https://github.com/yoramdelangen/laravel-pdo-odbc/commit/304c6a67a131d013c54a9d6b830877a2b5214a68 since someone can use the package with the native snowflake pdo driver

basselhossam95 avatar Jun 02 '22 10:06 basselhossam95