Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 82921  / 2 Years ago, sat, september 24, 2022, 2:43:04

I setup a LAMP server on my desktop Ubuntu install for testing web applications. How do I set it to only run when I tell it to rather than at startup? It is not used as a production web server but instead for testing PHP scripts I write before pushing them to my public web server.


More From » php

 Answers
0

Remove from start up:



sudo update-rc.d apache2 remove
sudo update-rc.d mysql remove


Start at will:



sudo service mysql start
sudo service apache2 start

[#44516] Sunday, September 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
adedes

Total Points: 454
Total Questions: 114
Total Answers: 111

Location: Turks and Caicos Islands
Member since Fri, May 8, 2020
4 Years ago
;