![]() This application is an example of how to deploy Node.js applications in high availability mode in the Azure cloud. I am getting the error `doctrine/mongodb dev-master requires ext-mongo ^1.5`. Nevertheless, the instllation of packages related to mongodb using composer is still not working. Mongodb worked in htdocs/index.php or in htdocs/symfony_project/controller/SomeController.php. As i wrote, to make mongodb to work, i have opied mongodb.dll and mongo.dll from Bitnami MeanStack to WampStack and restarted apache. How to choose thread-safe or non-thread-safe version with pecl? I have tried both: thread safe and tread non-safe mongodb installation, and many versions. System Windows NT AMBER 10.0 build 10586 (Windows 10) i586 g dot statkute at gmail dot com You are right: i have x86 architecture. You can also run `php -ini` inside terminal to see which files are used by PHP in CLI mode.Ĭ:\Bitnami\wampstack-5.6.20-0\apache2\htdocs\sym\patmonS1> To enable extensions, verify that they are enabled in those. Installation request for alcaeus/mongo-php-adapter ^1.0.0 -> satisfiable by alcaeus/mongo-php-adapter. 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.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. alcaeus/mongo-php-adapter 1.0.5 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. alcaeus/mongo-php-adapter 1.0.4 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. alcaeus/mongo-php-adapter 1.0.3 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. alcaeus/mongo-php-adapter 1.0.2 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. ![]() alcaeus/mongo-php-adapter 1.0.1 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. alcaeus/mongo-php-adapter 1.0.0 requires mongodb/mongodb ^1.0.1 -> satisfiable by mongodb/mongodb. doctrine/mongodb dev-master requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system. Installation request for doctrine/mongodb dev-master -> satisfiable by doctrine/mongodb. Your requirements could not be resolved to an installable set of packages. ![]() Updating dependencies (including require-dev) Loading composer repositories with package information Ĭ:\Bitnami\wampstack-5.6.20-0\apache2\htdocs\sym\patmonS1>composer update done: 806,900 bytesĬould not extract the package.xml file from "C:\Bitnami\wampstack-5.6.20-0\php\pear\download\mongodb-1.1.8.tgz"ĭownload of "pecl/mongodb" succeeded, but it is not a valid package archiveĢc) If i try to install mongoDB with composer, i am getting the error `doctrine/mongodb dev-master requires ext-mongo ^1.5`. Starting to download mongodb-1.1.8.tgz (806,900 bytes) :\Bitnami\wampstack-5.6.20-0\php\ext>pecl install mongodb PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Bitnami/wampstack-5.6.20-0/php/ext\php_mongodb.dll' - %1 is not a valid Win32 application.Ģb) If i try to install using pecl, i am getting the error `invalid package`: Nevertheless iam getting the error` Unable to load dynamic library`:Ĭ:\Bitnami\wampstack-5.6.20-0\apache2\htdocs\sym\patmonS1>php Both gave the same errors.Īnd copied file `php_mongodb.dll` to `C:\Bitnami\wampstack-5.6.20-0\php\ext`Īnd corrected `php.ini` by adding `extension=php_mongodb.dll`. I tried both thread safe and unsafe versions. G dot statkute at gmail dot com Description:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |