You are here

xampp: apache and mysql not loading

6 posts / 0 new
Last post
Colchis
Offline
Last seen: 2 months 3 weeks ago
Joined: 2018-01-06 15:28
xampp: apache and mysql not loading

I load the xampp control panel and when I click on apache I get the following message:

Error: Apache shutdown unexpectedly
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums

I have checked the error files and they are blank. I am using the xampp portable via portableapps.com platform on a usb that I created using your portableapps plateform program.

I also have xampp installed on my laptop which works fine.

Also how can I get geany to use as the ide for python portable. How do I config it.

thanks
linc

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 25 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Skype

If you already have Skype running, it steals port 80. Some other apps do this as well.

Sometimes, the impossible can become possible, if you're awesome!

Colchis
Offline
Last seen: 2 months 3 weeks ago
Joined: 2018-01-06 15:28
do not have skype

I do not have skype installed. it seems that xampp portable has not installed apache nor mysql as a service. I have changed the original lines to the following:

DocumentRoot "e:/PortableApps/Xampp/App/xampp/htdocs"
ErrorLog "e:/PortableApps/Xampp/App/logs/error.log"
#CustomLog "e:/PortableApps/Xampp/App/logs/access.log" common
ScriptAlias /cgi-bin/ "e:/PortableApps/Xampp/App/xampp/cgi-bin/"

as xampp was installed on an USB. Also note there is nothing written in the error log as well. There is no option for setting apache or mysql as a service upon installing. is there any file/files that I can config to set apache and mysql on the usb as a service.

linc

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 25 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Services

They're not services in that they aren't installed into Windows. You start them using the XAMPP control panel.

Sometimes, the impossible can become possible, if you're awesome!

Colchis
Offline
Last seen: 2 months 3 weeks ago
Joined: 2018-01-06 15:28
I understand they are not

I understand they are not services, but I cannot get apache to load, therefore mysql does not load either. Is there anyway I can provide a copy of the screen for the error message. that I get.

linc

den84is
Offline
Last seen: 3 years 8 months ago
Joined: 2021-02-09 10:24
"xampp" folder

Put "xampp" folder beside your PortabbleApps folder, it must not inside "PortableApps\PortableApps\XAMPP\App" ("xampp" folder must to be always in root directory of HDD / Flash drive), or you can try to put it in "PortableApps\PortableApps\XAMPP\App" and change all across configuration files by finding lines(not commented) that contain "/xampp/somthing/else" and replace them with "\PortableApps\PortableApps\XAMPP\App\xampp\somthing\else" OBSERVING SLASH '/' or BACKSLASH '\'. And always start with slash or backslash.

Log in or register to post comments