cancel
Showing results for 
Search instead for 
Did you mean: 

Install fails with segmentation fault

SOLVED

Install fails with segmentation fault

When I install using the following command

 

php -dmemory_limit=6G bin/magento setup:install --db-host="127.0.0.1" --db-name="***" --db-user="***" --db-password="****" --base-url="http://magento2.test/" --base-url-secure="https://magento2.test/" --admin-user="***" --admin-password="****" --admin-email="****" --admin-firstname="****" --admin-lastname="****" --language="en_US" --currency="USD" --timezone="America/New_York" --use-rewrites="1"

 

[Progress: 716 / 721]
Installing admin user...
zsh: segmentation fault

 

When I install from the browser it says that it installed correctly but when I go to the admin section I get from Magento Admin Address I get not found

 

shua@MacBook-Pro magento2-apache % php -v
PHP 7.2.24 (cli) (built: Oct 25 2019 11:13:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24, Copyright (c) 1999-2018, by Zend Technologie

 

Where should I go from here?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Install fails with segmentation fault

3 REPLIES 3

Re: Install fails with segmentation fault

Hello

Can you try this for admin 404?
https://magento.stackexchange.com/questions/133679/404-not-found-error-for-admin-page
Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer

Re: Install fails with segmentation fault

This does solve the issue. I will accept this answer but does not solve why the command line install is not working

Re: Install fails with segmentation fault

@shua_talansky the problem is with your apache configuration not on the steps which you have followed for installing from cli.

 

if your apache is configured correctly, then you will not get this error even if you have installed it from cli.

 

Thanks