XAMPP don't know how to restart

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 16:26:24

问题


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.


回答1:


In the version I am using, from the control panel just click the stop button for the given app and then the start button.




回答2:


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.




回答3:


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




回答4:


you can also kill the httpd (apache) process and then start apache again from xampp control panel




回答5:


I suggest using wamp server, or lamp in linux. here's a guide how to enable in ubuntu linux.




回答6:


In Windows 7, I had a problem restarting the XAMPP Apache server from the XAMPP Control Panel until I brought up the XAMPP Control Panel by right-clicking it and choosing "run as administrator". After that, I could stop and restart Apache using the control panel buttons just fine.




回答7:


Sorry for answering an old post, but I want to add to the public record so that people don't waste time looking for answers (like I did). This post seems to show up a lot during google search.

I am using win7 32bits, and I have been running xampp for a while, but with only up apache for php files. I am currently trying to test APC caching, so I searched how to get APC to work with xampp. I followed the instructions on the popular pages and downloaded the apc dll file, but nothing worked.

To get to the point, from my experience, xampp versions 1.7.4 to current (1.7.7) do not work and are full of bugs. These versions do not have the APC dll included with them and the downloaded apc dll files don't work, despite some reports in postings that they do. I could not stop apache or mysql with these versions, they errored out. These versions also have processes that don't terminate when I chose to shut down xampp, therefore I couldn't uninstall them completely, their main folders couldn't be deleted. I did not check which processes were which, but I was able to delete/uninstall the xampp folders only after I restart windows.

The version that works without errors (none that I can see) is version 1.7.3. It does not have any control panel error, you can start/stop apache without errors, and you can actually terminate xampp.

Version 1.7.3 also comes with the php_apc.dll file that is compatible and actually works. Unlike the newer versions, the php.ini file actually contains the php_apc.dll extension line, all you have to do is remove the semicolon in-front of that line and save. Go to the xampp control panel and stop/restart the apache process. APC will be activated. To check, click on the admin button in the control panel and click on phpinfo(), do a text search for apc and you will see the apc's configuration.

Xampp 1.7.3 is running php 5.3.1, but it should not matter unless you have any requirement for a higher php version to test your php code.




回答8:


in windows 7 go to xampp folder, then go to apache folder -> then to bin folder there you will find something called apache monitor you can use this restart the apache services

It works fine



来源:https://stackoverflow.com/questions/6275499/xampp-dont-know-how-to-restart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!