Skip to content

Unable to install #228

Open
Open
@thoughtassassin

Description

@thoughtassassin

Running bash init_project.sh fails. I see this message in the log:

[2019-06-10 20:05:18] STATUS: > ./bin/magento setup:install --db-host=localhost --db-name=magento --db-user=root --backend-frontname=admin --base-url=http://magento2.vagrant148/ --language=en_US --timezone=America/Chicago --currency=USD --admin-lastname=Admin --admin-firstname=Admin [email protected] --admin-user=admin --admin-password=123123q --cleanup-database --use-rewrites=1 --amqp-host=localhost --amqp-port=5672 --amqp-user=guest --amqp-virtualhost=/ --amqp-password=guest �[/vagrant/scripts/guest/m-reinstall]]

Magento supports PHP 7.1.3 or later. Please read https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

[2019-06-10 20:05:18] ERROR: > Magento installation failed. �[/vagrant/scripts/guest/m-reinstall]]

When I vagrant ssh and then php --version, I see this version:

PHP 7.0.7-4+deb.sury.org~trusty+1

When I tried to update my config.yaml to php_version: "7.2" and vagrant reload I see two messages regarding PHP:

update-alternatives: error: alternative /usr/bin/php7.2 for php not registered; not setting ERROR: Module php7.1 does not exist! [Unknown source file] ERROR: Module php7.2 does not exist! [Unknown source file]

And when I ssh into the box and look at the contents of /usr/bin/:

Screen Shot 2019-06-10 at 3 29 53 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions