Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP don't know how to restart

Tags:

I want to restart it because I made some changes in the php.ini to adjust the max_file_size. I need to restart it so that it will take effect however I can't find the command in the XAMPP control panel. I tried to search in Google I can't find the right answer. By the way, I am using XAMPP 1.7.4 in Windows Vista.

like image 892
Newbie Coder Avatar asked Jun 08 '11 07:06

Newbie Coder


People also ask

How do I stop and start XAMPP?

How do I start and stop XAMPP? You can also use some batchfiles to start/stop the servers: Apache & MySQL start: \xampp\xampp_start.exe. Apache & MySQL stop: \xampp\xampp_stop.exe.

Why can't I start Apache in XAMPP?

Resolve Apache Port Conflicts If Apache cannot start, you won't be able to access your XAMPP dashboard or any sites you have installed on the platform. A port conflict may be the underlying problem. By default, Apache connects over port 80.

Why my XAMPP localhost is not working?

Run XAMPP (=> Apache) under an another port: Rename all ports with 80 to 8080 in your httpd. conf file. Your using Windows: Use notpad or editor with Ctrl+H to replace "80".

How do I start XAMPP from command line?

To access SQL via the command line we simply navigate to the xampp folder. the folder is usually on the c:\ drive. type: cd c:\xampp\mysql\bin then press enter. type: in mysql -u root -p then press enter.


2 Answers

You don't need to scrap XAMPP over this issue. There are no missing or buggy .dlls in the newer versions that I know about. The control panel just has to be run as administrator in Vista or Windows 7.

Right click the control panel shortcut or .exe file icon. Click on properties. select the compatibility tab. then in the privliege level box at the bottom, check the "Run this program as an administrator" box.

Click apply and then load up XAMPP.

like image 131
Jason Pitts Avatar answered Oct 05 '22 10:10

Jason Pitts


You can go to your xampp instalation directory, and run

xampp_stop.exe xampp_start.exe 

This will restart Apache and Mysql.

Only Apache: apache_stop.bat apache_start.bat

Or use the control panel, by clicking on Stop, then Restart, on the Apache line Service.

More info at http://www.apachefriends.org/en/xampp-windows.html#1173

like image 27
Idealmind Avatar answered Oct 05 '22 12:10

Idealmind