I am trying to install Magento 2.2.4 on windows localhost using XAMPP.
My XAMPP is installed I C:\xampp7.1
To use command line I using Command prompt in C:\xampp7.1\php>
And the following command:
php C:\xampp7.1\htdocs\Magento2_2_4\bin\magento setup:install --db-host=localhost --db-name=magento224 --db-user=root --db-password=root --base-url=http://127.0.0.1/Magento2_2_4/ --backend-frontname=admin --admin-firstname=admin --admin-lastname=admin [email protected] --admin-user=admin --admin-password=admin@123
But it always giving error: Can't create directory
C:/xampp7.1/htdocs/Magento2_2_4/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/. in [Magento\Framework\App\Config\ConfigSourceAggregated\Proxy]
I have given Magentonto root directory permission 777 using Cygwin
Please guide me in setting proper permissions to Magento's root directory and its ownership on windows localhost