Tahuilan wrote:Yes, I know that Apache and MySQL are already running once, so why the last line says, in the screenshot, "XAMPP is not started"? The console window of xampp_start.exe get close inmediatly. Thanks
Click on Start
in the Task Bar and then on Run...
Type cd C:\xampp
The console window should now stay open so you can read the messages - you can also copy the contents or part of the contents of the console window so you can paste them in to the forum's post text box by clicking on the little icon top left of the console window and using the Edit
menu items (mark = select by dragging over the text you want to copy).
If you use the xampp_start.exe file then you should also use the xampp_stop.exe file.
Try this, click on the Stop buttons in the XAMPP Control Panel so Apache and MySQL are not running, then try your xampp_start.exe and xampp_stop.exe and you will see different messages returned than the one you have posted about here - leave the XAMPP Control Panel window open so you can watch it working in real time when you run the xampp_start.exe and the xampp_stop.exe, you will see that it changes the running indications.
BTW the term "XAMPP is not started" is only confirming the message above it that the XAMPP components are already running so no need to try and start them again - the message is not saying that XAMPP is not started in the true sense, as there is no XAMPP to start anyway, only the components and they are already running.
It is just the way that the exe file has been worded when it was compiled by someone who's native language is not English and so it may lead to some confusion by some people.
Perhaps it should have been worded:
"XAMPP components are already running so no need to try and start them again.
Please proceed to http://localhost
to test your installation"
Personally I don't use those exe files preferring instead to use the XAMPP Control Panel to start and stop those XAMPP components that I want running and if there are any issues starting Apache or MySQL in the XCP then I use the apache_start.bat
file or the mysql_start.bat
file which will give an informative message why they can't start - see above how to copy and paste the console window messages which may be a little quicker than creating screen shots.
IMHO, Wiedmann wants to know the name of the file that contains both html and php, as it should be named with a .php extension rather than a .html extension so the server will parse the php code as well as the html code.
HTML plus php = file.php
HTML only = file.html
PHP only = file.php
I hope this helps with any confusion that seems to generated in this topic.
To test your installation is running go to:http://localhost
and exercise the demos including the CD Collection demo which also exercises MySQL so you can tell if both Apache and MySQL are indeed running.
If the demos work out and you still have problems with your own html\php coded files then that is where we need to look to solve those problems.