- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can not access to GraphQL through XAMPP in windows10
I am currently deploy my magento project in my windows PC through xampp.
Everythings is just okay for me, both frontend & backend display correctly and the functionality is fine. But when I try to access graphql by http://[magento_root]/graphql , I can not reach the page, showing 'this site can't be reached'
This my XAMPP spec :
XAMPP Version 7.1.33 + Apache 2.4.41 + MariaDB 10.4.10 + PHP 7.1.33 (VC14 X86 64bit thread safe) + PEAR + phpMyAdmin 4.9.2 + OpenSSL 1.1.1d + ADOdb 518a + Mercury Mail Transport System v4.63 (not included in the portable version) + FileZilla FTP Server 0.9.41 (not included in the portable version) + Webalizer 2.23-04 (not included in the portable version) + Strawberry Perl 5.16.3.1 Portable + Tomcat 7.0.96 + XAMPP Control Panel Version 3.2.4. + XAMPP mailToDisk 1.0 (write emails via PHP on local disk in <xampp>\mailoutput. Activated in the php.ini as mail default.)
I try to deploy same project in my macbook by using xampp, I can reach graphql successfully. So the problem is windows OS? What if I deploy my project without XAMPP?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Can not access to GraphQL through XAMPP in windows10
Please check are you in developer mode in your window or not as this work in developer mode only. Apart from that just check prerequesties in window system for Magento as given in below link:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
It might be some apache configuration is missing which needed for graphql. Try it if not works let us know. Thanks
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Can not access to GraphQL through XAMPP in windows10
Yes, I am in developer mode. my env.php inside app/etc is:
'MAGE_MODE' => 'developer',
For my apache setting, mod_rewrite and mod_version modules has been enabled
Also, these modules had been enabled too.
mod_deflate.c mod_expires.c mod_headers.c mod_rewrite.c mod_security.c mod_ssl.c
Still.. showing 'this site can't be reached'.
I am facing the same problem of these guys, but I just don't know how they solved their problem:
https://github.com/magento/magento2/issues/18156
Please help..