Xampp is runni8ng but .php files won't load - xampp

I've got a strange problem. My xampp seems to run just fine, at least the control panel says so. A couple of months back I was able to use xampp properly as well. But now, if I try to load anything in htdocs the browser tells me that the website is not available.
The only things that have changed since I used xampp successfully:
I've briefly installed wampp, but decided to deinstall it again. As far as I can tell, I have removed snd deinstalled everything succesfully.
And, I'm using an other internet connection. Is there a possibility that the firewall of the modem messes xampp up?
Any ideas are greatly appreciated.
PS: I did not post the config files of xampp, because I haven't changed them since everything worked properly, so I hardly think that it is relevant.

Considering your problem and the information I have gathered from you.
The best solution is:
Make a backup of all your files in htdocs.Uninstall Xampp completely.Download and install once again.
Note:
Latest Xampp versions comes with MariaDB unlike mysql.Now some versions of MariaDB is unstable.This would create problems when you are actually working with database and sql queries.
Either download and install Xampp which comes with Mysql or find a version of xampp which comes with a stable version of MariaDB and the latest PhpMyAdmin version.
Reinstalling solves issues like this most of the time.There may have been some kind of server conflict when you installed WAMP.So an all new installation is best.
You could also try clearing the browser history and cookie as an alternative.

Related

IIS Manager is installed but shows empty page

I hope this is the right place to ask. I was thinking serverfault might not be correct, since the computer in question is not a server. Feel free to migrate if StackOverflow is not right.
I usually install IIS on servers but have installed it on Workstations before. I actually had the same problem with another machine of the same model a few weeks ago but can't remember how I resolved it. I must have installed additional features or run some powershell-command that did not resolve the issue on this machine.
I installed IIS the correct way using the Windows Features, as described in the answers to this question. I've actually removed and reinstalled it since then, but it hasn't resolved my problem.
The WWW publishing service is running and I can open the IIS Manager, but it's completely empty, unlike here where the IIS Manager at least shows the local computer
When I type localhost into a browser I don't see the IIS Startpage, I get the error ERR_CONNECTION_REFUSED
You can see that all the required checkboxes are checked:
And the service seems to be running.
I've since tried installing IIS using
DISM:
Powershell:
And I checked the status using the iisreset command which was mentioned in the comments here (second linked question upstairs):
It restarts without any error and says everything is working fine.
Has anyone ever encountered this before or might know what I could try to get IIS actually working?
Edit:
I just noticed, while trying to uninstall IIS, that I can not uninstall it. I used Windows-Features and confirmed to reboot when prompted, but while rebooting Windows does a rollback and IIS is still available. So I can't even uninstall it.
Also just found this similar quesion on SuperUser. I'm still trying some suggestions there. So far to no avail.
Thanks for the comments.
I was on vacation, but a colleague was able to fix the problem.
Unfortunately, the solution was to reset Windows 11. He was then able to install IIS through Windows Features and it worked.
No idea why it didn't work in the first place, or why it got to this unrecoverable state. But now everything is fine.

Are Apache and MySQL servers needed in addition to MAMP?

This might be a silly question, but I'm new to web-dev, so here it is:
I recently installed MAMP on my windows system [yes, MAMP works on windows too] and it shows Apache and MySQL server to be active, but neither I have installed any of these servers, nor I can find them in "Services" of my system.
So I wanted to ask whether I'll need to explicitly install both of these servers or not.
Also, If there's no need of explicit installation, how does MAMP work ? like, giving access to both these servers without actually installing them ? [A brief explanation would be enough]
T.I.A.
They come with MAMP. You can access phpMyAdmin under the Tools menu in the page that automatically opens up when you start MAMP, for me it is http://localhost/MAMP/?language=English

How to remove a file that cannot be located

I'm trying to learn MySQL for a database course in which we use MAMP to set up the server. Everything was fine at first, but a few days ago I couldn't connect to MySQL with MAMP. In trying to solve this I removed both MAMP and MAMP PRO from my PC completely (instead of using the provided uninstaller). As a result I cannot reinstall MAMP as the installer still detects that I installed MAMP earlier and tries to uninstall it. In trying to fix my mistake I found that I still have references (I think they are .exe files) to MAMP and MAMP PRO in the windows apps section (. However when I try to remove them I get an error bar saying:
-) C:/MAMP/unins000.exe
and
-) cannot find file C:/MAMP/unins000.exe.
So I cannot remove said files, meaning that I cannot reinstall MAMP
I tried the MicrosoftProgram_Install_and_Uninstall and ccleaner first to install MAMP, however this resulted in the same error.
I also found some threads that show how to restore a file's directory through the command line, yet the problem with this is that I cannot find the directory of the remaining MAMP files.
As I'm not really into this field I have no idea of where to look to solve this. I'm however intrigued by this problem I would like to understand how this is possible and how to solve this.
In the end I would like to remove those MAMP references so I can reinstall MAMP.
Or (only if I really can't fix this) someone knows a similar program that works as well or better.

Website is not loading on MAMP

I was developing website in my school's lab where XAMPP is installed, and everything was working properly. But now I'm facing need to work on my mac. I have installed the latest version of MAMP 2.0, and my website is not working properly on it. It is only loading half of the page, seems that at some point it stops compiling the page.
At first I thought it's database connection issue, but no, the connection strings are correct. I have tried configuring php.ini, put error_reporting to E_ALL and reinstalled MAMP, but still no luck.
Wondering what can be the issue that is causing this situation... If you have any idea please share...

Installing Moodle using XAMPP on Windows Server 2008 Enterprise edition

I am trying to install Moodle 1.9 using XAMPP on a virtual machine running Windows Server 2008 Enterprise edition.
I can initially access the install.php installer script fine but after I progress past the third page the webpage times out.
If I go to http://localhost/, no webpage is downloaded and the browser just times out.
I have tried to run the install script with IE7 and Chrome to see if it was a browser problem, but the same thing occurs.
Any help would be greatly appreciated.
Thanks,
Ashley
Windows servers are notorious for causing problems with Moodle installations. Here's a few things to try:
Check the dirroot is set correctly your config.php file. Windows requires complete, absolute file names.
Has the failed install created some/all database tables, and populated them? If only some, look for the last successful table, then check for any corrupted or modified code related to that table that could be causing the install to hang. E.g. is the last successful table is forum, check your mods/forum files. It might be worth downloading a fresh weekly build of Moodle.
Your mysql memory_limit might be set too low (Moodle Docs recommend at least 40mb for Moodle 1.8 and higher).
Is this an upgrade, or a clean install? If it's an upgrade, don't try jumping too many versions, and (if possible) uninstall any third-party modules or activities that might cause trouble whilst updating the tables.
There's lots more info in the Moodle Docs, particularly:
http://docs.moodle.org/en/Unexpected_installation_halts
http://docs.moodle.org/en/Installation_FAQ

Resources