mardi 24 mars 2015

Issues with Composer dependencies, php.ini on Windows

I recently initiated a Composer project using Laravel, and have faced the following issue whenever I try to launch the server from cmd:


"Warning: require(C:\Users\Adam\learning-laravel-5\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\Users\Adam\learning-laravel-5\bootstrap\autoload.php on line 17"


To remedy this, I tried running php composer.phar update from within the project directory and got the following problem:


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


Problem 1 -laravel/framework v5.0.9 requires ext-openssl * -> the requested PHP extension openssl is missing from your system"


I opened up php from wamp and made sure that the php_openssl extension had a checkmark next to it, and made sure that the php.ini file in the same directory as the php.exe I was calling from had the "extension=php_openssl.dll" line was uncommented. What could possibly be causing this PHP extension to be missing?


Thanks!


Aucun commentaire:

Enregistrer un commentaire