cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4 install failed

SOLVED

Magento 2.4 install failed

When i install simple:

bin/magento setup:install --base-url=http://192.0.2.5/magento2/ \
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento \
--admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago --use-rewrites=1 \
--search-engine=elasticsearch7 --elasticsearch-host=localhost \
--elasticsearch-port=9200

I have this : -bash: --admin-firstname=Magento : command not found.

What's append?

 

Thinks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2.4 install failed

Hello @francksub 

 

Try below command :

bin/magento setup:install --base-url=http://192.0.2.5/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --search-engine=elasticsearch7 --elasticsearch-host=localhost --elasticsearch-port=9200

Let us know the results !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

View solution in original post

3 REPLIES 3

Re: Magento 2.4 install failed

Hello @francksub 

 

Try below command :

bin/magento setup:install --base-url=http://192.0.2.5/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --search-engine=elasticsearch7 --elasticsearch-host=localhost --elasticsearch-port=9200

Let us know the results !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Magento 2.4 install failed

Now i have this message:

PHP Fatal error: Uncaught Error: Call to undefined function xdebug_disable()in vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/_bootstrap.php:81

Re: Magento 2.4 install failed

@francksub 

 

you can fix temporarily by command :

composer remove magento/magento2-functional-testing-framework

it may resolve your issue but please check with your system configuration and match it with :

https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy