cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error when installing magento in ubuntu using apache2

Getting error when installing magento in ubuntu using apache2

Php version - 7.2

magento - 2

server - apache (localhost)

Os - Ubuntu(18.04)

I am getting error when installing Magento in my system. I have attached the screenshot. Please do help.

 

Screenshot from 2019-07-16 16-46-17.png

ERROR -

Fatal error: Uncaught Exception: Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/ArrayObject.php on line 426 in /var/www/html/magento2/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/magento2/vendor/composer/ClassLoader.php(444): Magento\Framework\App\ErrorHandler->handler(2, '"continue" targ...', '/var/www/html/m...', 426, Array) #1 /var/www/html/magento2/vendor/composer/ClassLoader.php(444): include() #2 /var/www/html/magento2/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/html/m...') #3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Zend\\Stdlib\\Arr...') #4 /var/www/html/magento2/vendor/zendframework/zend-stdlib/src/Parameters.php(29): spl_autoload_call('Zend\\Stdlib\\Arr...') #5 /var/www/html/magento2/vendor/zendframework/zend-http/src/PhpEnvironment/Request.php(67): Zend\Stdlib\Parameters->__construct(Array) #6 /var/www/html/mage in /var/www/html/magento2/vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 941

1 REPLY 1

Re: Getting error when installing magento in ubuntu using apache2

Hello @rahul_kallil 

 

Install Magento 2 using composer

follow this 

https://www.simicart.com/blog/magento-2-composer/

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now