开发者

XAMPP don't know how to restart

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开发者_StackOverflow 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.


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.


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


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


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


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


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.


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.


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


On Linux you can send the restart command to lamp.

Depending on where lamp is installed, this could be

sudo /opt/lampp/lampp restart
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜