1

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Installation request for symfony/finder v3.4.4 -> satisfiable by symfony/finder[v3.4.4].
  • symfony/finder v3.4.4 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.4) does not satisfy that requirement.

Problem 2

  • Installation request for symfony/stopwatch v3.4.4 -> satisfiable by symfony/stopwatch[v3.4.4].
  • symfony/stopwatch v3.4.4 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.4) does not satisfy that requirement.

Problem 3

  • fabpot/php-cs-fixer v1.13.3 requires symfony/finder ^2.1 || ^3.0 -> satisfiable by symfony/finder[v3.4.4].
  • Installation request for fabpot/php-cs-fixer v1.13.3 -> satisfiable by fabpot/php-cs-fixer[v1.13.3].

I am trying to install Magento2 in ubuntu. My installation directory under the /var/www/public.

Can anyone help me to solve this error!

Thanks

1

There are mainly 3 ways to install Magento 2.

  1. Install from the archive file:
  • First and easiest way is to download it from Magento download page https://www.magentocommerce.com/download
  • You can choose from Full Release (ZIP with no sample data) and Full Release (ZIP with sample data) options and from zip, tar.gz and tar.bz2 options.
  • Next, create the database.
  • Install the setup wizard using <yourhost>/<projectpath>, i.e. http: //localhost/magento2 (in my case).
  • Provide the correct detail while running the wizard.

That's all.

  1. Install via Composer

A composer is a tool for dependency management in PHP.

  • First, you need authentication keys which can be obtained here, and you will need Magento account to login.

    Once logged in, go to "My Access Keys", enter some descriptive "Name" and generate the new set of keys.

  • Next, enter this command in terminal:

.

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition

When prompted, your public key is the username, and the private key is password.

  • Next, create the database.
  • Install the setup wizard using /, i.e. http: //localhost/magento2 (in my case).
  • Provide the correct detail while running the wizard.
  1. Install via GitHub
  • Create an empty directory and run:

 

git clone git@github.com:magento/magento2.git .

then:

composer install
  • Next, create the database.
  • Install the setup wizard using /, i.e. http: //localhost/magento2 (in my case).
  • Provide the correct detail while running the wizard.

Note: You must have the proper folder and file permissions to install Magento successfully.

  • Thanks Mohit ! information vary useful but its doesn't solve the my problem . i am facing this error when i am run "Composer Install " command. – shail May 23 '18 at 11:50
  • Is composer installed in your server? – Mohit Kumar Arora May 23 '18 at 11:56
  • i am trying to install on my local machine. – shail May 23 '18 at 11:58
  • Still you need to install composer if you want to install Magento using composer method. – Mohit Kumar Arora May 23 '18 at 12:09
  • If you don't want to use composer, then opt for th first method (Install from the archive file) for your installation process. – Mohit Kumar Arora May 23 '18 at 12:10
0

If you don't have much knowledge about it then it's better to install it using composer. This website contains better documentation for it: https://r4pt3r.github.io/2019/02/Installing-Magento-2.html

  • Clone it from GitHub: git clone https://github.com/magento/magento2.git
  • Try composer install
  • May you get some errors most of them will be because of not installing PHP extensions. The error will mention those.
  • Install all those extensions and try composer install once more.
  • If all are okay you can see the setup of magento 2 in your localhost.

All these information are taken from https://r4pt3r.github.io/2019/02/Installing-Magento-2.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.