r3c / winp

Portable Nginx/PHP/MySQL development server for Windows.
MIT License
15 stars 7 forks source link

Phpmyadmin not running #18

Closed Futureganteng closed 2 days ago

Futureganteng commented 5 days ago

Hello, sorry for opening the first issue

I was using your application, the mariadb, nginx, and the php was going well, i have an issue on the phpmyadmin when the mariadb, nginx and php was running, the phpmyadmin stay ready (not running), i accessed on browser the /phpmyadmin it keep returning a 404 not found, im confused should i configure the phpmyadmin manually?

r3c commented 5 days ago

Hello! Indeed phpmyadmin stays in "ready" mode because it's not really a running process like the other ones but just a website being copied locally and ready to be served. Maybe that's a bit confusing/technical and I should change it to "running" like the other ones 🙂

However it's supposed to respond when accessing URL http://127.0.0.1/phpmyadmin/ in your browser:

image

If this doesn't work, would you please mind sharing the contents of file nginx\1.19.9\conf\nginx.conf located in your install directory (the one you specified in configuration, by default it's a "Install" directory located inside the folder you unzipped Winp into)?

Futureganteng commented 4 days ago

nginxconf.zip Hello, sorry for late response, im using the default configuration by the installer, i've trying accessing http://127.0,.0.1/phpmyadmin still display 404 not found

image i have separate nginx server but that thing was not running for now, should i try to delete that nginx web server?

r3c commented 4 days ago

I reviewed your configuration file and it seems perfectly fine. It could have been the port 80 being used by another instance of nginx indeed, but since the version number matches the one used by Winp that would be quite a coincidence! Do you see anything wrong in Nginx's "error.log" file within its log directory?

Futureganteng commented 2 days ago

error.log i see these error log, it says it cannot find the phpmyadmin, so should i move the phpmyadmin it self to the root directory?

Futureganteng commented 2 days ago

image Hello, i think the issue has been fixed, i resolve that issue with moving phpmyadmin from install directory to root directory, thank you for the assistance!

r3c commented 2 days ago

Oh great, I'm glad it works for you! Even though it's a bit surprizing as phpMyAdmin is supposed to be configured through its own special type ("Use phpmyadmin" in configuration) so it can be served through Install directory instead of Root. Maybe something is causing the location directive to be ignored in your setup, I'll try to investigate this and update here if I find anything.

Thanks for the update!

Futureganteng commented 2 days ago

ill wait for the update to be released, glad to hear that.