Hello,
I'm trying to develop a new project into magento then I installed using composer in my Windows 10 the Magento 2.4.2, runned the setup command and accessed the folder pub and runned the PHP built-in server with the command php -S localhost:80 -t pub
When I access the URL http://localhost I got uma static page with no css:
CMS homepage content goes here.
I'm doining something wrong? Is not possible to run in develop windows magento with php built in server?
Same problem. Help!!! Vex 5
Have you deployed static content?
Yes, you can install Magento 2.4 on Windows using PHP built-in server.
Here is the link for reference of the LATEST MAGENTO VERSION ON Windows -
It's working 100%. Happy Learning !! Thank You !!
Indeed, it is feasible to introduce Magento 2.4 on Windows utilizing a PHP worked in worker.
For that, follow this reference interface:
https://meetanshi.com/blog/introduce magento-2-4-2-on-localhost-utilizing xampp/
Much obliged to You.
Magento 2 is not compatible with the Windows OS environment.
Please check the below link where you can find the system requirement.
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements.html
So, basically, there are 2 steps. Firstly, well, you just download Magento 2. The next step you should do is to run this command:
php bin/magento setup:install --base-url=""http://127.0.0.1/mag242sample/"" --db-host=""localhost"" --db-name=""mag242sample"" --db-user=""root"" --admin-firstname=""admin"" --admin-lastname=""admin"" --admin-email=""admin@admin.com"" --admin-user=""admin"" --admin-password=""admin123"" --language=""en_US"" --currency=""INR"" --timezone=""America/Chicago"" --use-rewrites=""1"" --backend-frontname=""admin""
So, usually, that’s all, however, sometimes, you might have some issues happening. Most of the cases I’ve met are the wrong version downloaded or troubles with the software. What I advice you to do is to check if your Windows is licensed, and if not, than do something about it. You could buy a fully licensed pack or find on reddit windows key, which is totally okay.