0

I installed WordPress in my Linux Mint successfully. I used sudo chmod 777 -R /var/www/html/wordpress/corewordpress

enter image description here

I am trying to install Magento2 same way but I can't.

enter image description here

Why it is happening ?

abu abu
  • 744
  • 3
  • 15
  • 38
  • 1
    are you trying to install into local machine? might be happened due to permission issue try this https://magento.stackexchange.com/a/95033/55928 you can check server log if there is any error – Hitesh Oct 10 '18 at 04:39
  • can you enable error reporting by app/bootstrap.php file uncomment ini_set('display_errors', 1); then check what is error here ? – Ansar Husain Oct 10 '18 at 04:41
  • Thank you @Hit's. Yes, I am trying to install into local machine. WordPress is installed perfectly. Why magento is creating issue ? Thanks. – abu abu Oct 10 '18 at 04:50
  • @Hit's, I followed your link previously. But did not get any result. – abu abu Oct 10 '18 at 04:52
  • do you face any error in the server log? why don't you try by localhost/ma? – Hitesh Oct 10 '18 at 04:53

1 Answers1

1

Add below code on the top of your index.php(of Magento) file then you will get the exact error:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Saphal Jha
  • 1,873
  • 15
  • 26