got this error while i am installing magento on local server

hello,i am new to magento and i installing magento2 on local,but i got the following error while i am installing magento on local server,even i installed composer on my system too but still it gives error when i execute this by command prompt.

now after following your step i got this error

enter image description here


I think your magento installation has all the dependencies. That's why there is no dependency to install.

Try to install magento using setup wizard. Enter the following URL in the browser’s address or location bar:

http://<Magento host or IP>/<path to Magento root>/


I hope this will help.


To resolve this error, please open your php.ini file and set:

always_populate_raw_post_data = -1

For Windows, you can find the file in the xampp\php\php.ini-Folder (Windows) or in the etc-Folder (not /etc but etc, within the xampp-Folder).

Under Linux, most distributions put lampp under /opt/lampp, so the file can be found under /opt/lampp/etc/php.ini.


go to your php.ini file.

always_populate_raw_post_data = -1

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.