Altrea wrote:what is the output of the apache_start.bat script?
Hi there!
Sorry for the late reply. I was struggling a long time with this, but I found out what was the issue. What I did was the following:
1) I downloaded the XAMPP portable version as a zip file
2) I unzipped the file and placed the folder in some custom folder structure
3) I couldn't understand why I got these error messages when I tried to start Apache / MySQL
4) I did try to start Apache and MySQL from the Control Panel. After some troubleshooting I tried to start the two modules with the apache_start.bat and mysql_start.bat files directly instead. Then I got a clue that the paths defined in the configuration files was not correct.
5) I ran the setup_xampp.bat, so the folder settings was configured to point at the custom folder ... and voila everything worked as it should.
If anyone else reads this; As far as I have understood this, the portable version comes with some default paths set in the configuration files. If you run the installer those paths will probably (?) be set during that process. If you just download the .zip file instead and does not run the software from the default location, you need to run the setup_xampp.bat file first.
I am pretty sure this is a common misunderstanding for several people using XAMPP, so hopefully my post can also help someone else that had missed this detail.
Cheers.