I have been playing around with my Apache config file for a while to get WSGI working for my Flask application.
I was not able to get
working though (/phpmyadmin
shows the
code), so I thought I'd try XAMPP. I installed it and was able to get
working. However, I couldn't get it to work with WSGI. So, I removed /opt/lampp
. But now, even if my .service
is not running and
"refuses to conect", /phpMyAdmin
prompts a Download in my browser which downloads this code , and /phpmyadmin/setup
returns this code .
One more thing, /phpmyadmin
showed the XAMPP favicon in the title bar. So I deleted /share/webapps/phpMyAdmin/favicon.ico
(which I checked, and it looked exactly like that). But now, though /phpmyadmin
doesn't show that icon, /phpmyadmin/setup
still does.
My questions:
1. How to get PHP to work in Apache? (Trust me, I have read every guide on the Internet)
2. How am I able to access /phpmyadmin
if
is not running?
Thanks!!
PS: I am on Arch, btw.
Asked by Akshat Vats
(489 rep)
Sep 7, 2020, 10:46 AM
Last activity: Jul 11, 2022, 11:03 AM
Last activity: Jul 11, 2022, 11:03 AM