Closed profilernz closed 7 years ago
/usr/local/bin/composer update 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
PS: Setup.md lists PHP 5.5 as the minimum version...
After upgrading to PHP 7:
/usr/local/bin/composer update --no-dev Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1
Whoops, I forgot to update the upgrade docs. PHP 5.5 is still supported. Just run composer update --no-dev --optimize-autoloader
and you should be good to go. (phan is a dev dependency)
I did use --no-dev as per my 3rd post, and was still getting errors... so: composer install --no-dev --optimize-autoloader works fine when you are first installing but then: composer update --no-dev --optimize-autoloader doesn't: Your requirements could not be resolved to an installable set of packages. Problem 1
I think I misunderstood what install
and update
do. I think composer install
should be sufficient to get all dependencies?
Yeah, for my fresh PHP 7 setup, "install" worked fine. It's just that I noticed that "update" wouldn't work on PHP 5.6, and then that it wouldn't also work on 7.0 post-upgrade. I running 411 with no problems, just thought I'd highlight this issue.
Coolbeans. Thanks for the note and apologies for the trouble. Update the docs and will close this out!
bin/migration.php except [NONE] Errno 2: "require(/var/www/411/vendor/autoload.php): failed to open stream: No such file or directory" at [/var/www/411/phplib/411bootstrap.php:57] 0:[require() called at [/var/www/411/phplib/411bootstrap.php:57]] 1:[require_once() called at [/var/www/411/bin/migration.php:7]] PHP Fatal error: require(): Failed opening required '/var/www/411/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/411/phplib/411bootstrap.php on line 57