My PHP version: 7.4.29

I am run this command on window 10

php bin/magento setup:install --base-url="http://mat.magento.com/" --db-host="localhost" --db-name="magento2" --db-user="root" --db-password="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="[email protected]" --admin-user="admin" --admin-password="Admin@123456" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200

and facing error

Class “Magento\Backend\App\Request\PathInfoProcessor\Proxy” does not exist


4 Answers 4


try this:

sudo chmod 777 -R .
sudo chown www-data: -R .
rm -rf var/cache/* var/page_cache/* var/generation/*
composer install
  • Not working On window sys
    – DK Thakur
    Commented Jul 25, 2022 at 10:52

I think this may help you :


You can also check the permissions.

The data in the above command is correct.


To resolve this issue, you can try this. 1.Open the bootstrap.php file present in the app folder of magento directory. 2.Remove # from the beginning of the line 3.#ini_set(‘display_errors’, 1); 4.Save the file and refresh your browser to see the exact issue.

  • same error:: prnt.sc/D6A5crMQUfQB
    – DK Thakur
    Commented Jul 25, 2022 at 12:17
  • which Magento version are you trying to install? Commented Jul 26, 2022 at 5:53
  • latest version 2.4
    – DK Thakur
    Commented Jul 26, 2022 at 7:51
  • 2.4.3 or 2.4.4? because when you are trying to install latest magento which is 2.4.4 you must have php 8.1. Commented Jul 26, 2022 at 9:49
  • i have 2.4.4 and PHP Version 8.1.6 now let me know its working or not?
    – DK Thakur
    Commented Jul 26, 2022 at 10:34

In some cases this can be fixed be reinstalling composer modules by running command from the command line in project root:

rm -rf vendor && composer install

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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