XAMPP don't know how to restart

后端 未结 9 1926
甜味超标
甜味超标 2021-01-03 20:36

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 f

相关标签:
9条回答
  • 2021-01-03 21:04

    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.

    0 讨论(0)
  • 2021-01-03 21:05

    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.

    0 讨论(0)
  • 2021-01-03 21:07

    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 讨论(0)
提交回复
热议问题