Remove/re-install LAMP with current versions on Ubuntu 18.04
I'm having trouble with my LAMP stack since the Ubuntu 18.04 upgrade, so I'd like to just remove everything and start with a clean slate. I'm referring to the post entitled "How do I remove the LAMP stack so I can start over?" but, it appears to list older versions, PHP5 for example. I can't find documentation for anything more current and I have PHP 7.2.7 installed. Can I just substitute PHP7 in every instance of PHP5 and accomplish the same results, or is there more current and specific documentation that I haven't found. Thanks, in advance, for your assistance.
apache2 mysql php lamp
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm having trouble with my LAMP stack since the Ubuntu 18.04 upgrade, so I'd like to just remove everything and start with a clean slate. I'm referring to the post entitled "How do I remove the LAMP stack so I can start over?" but, it appears to list older versions, PHP5 for example. I can't find documentation for anything more current and I have PHP 7.2.7 installed. Can I just substitute PHP7 in every instance of PHP5 and accomplish the same results, or is there more current and specific documentation that I haven't found. Thanks, in advance, for your assistance.
apache2 mysql php lamp
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13
add a comment |
I'm having trouble with my LAMP stack since the Ubuntu 18.04 upgrade, so I'd like to just remove everything and start with a clean slate. I'm referring to the post entitled "How do I remove the LAMP stack so I can start over?" but, it appears to list older versions, PHP5 for example. I can't find documentation for anything more current and I have PHP 7.2.7 installed. Can I just substitute PHP7 in every instance of PHP5 and accomplish the same results, or is there more current and specific documentation that I haven't found. Thanks, in advance, for your assistance.
apache2 mysql php lamp
I'm having trouble with my LAMP stack since the Ubuntu 18.04 upgrade, so I'd like to just remove everything and start with a clean slate. I'm referring to the post entitled "How do I remove the LAMP stack so I can start over?" but, it appears to list older versions, PHP5 for example. I can't find documentation for anything more current and I have PHP 7.2.7 installed. Can I just substitute PHP7 in every instance of PHP5 and accomplish the same results, or is there more current and specific documentation that I haven't found. Thanks, in advance, for your assistance.
apache2 mysql php lamp
apache2 mysql php lamp
edited Sep 8 '18 at 21:00
Joshua Besneatte
2,08311025
2,08311025
asked Sep 8 '18 at 16:30
yourpalfrancyourpalfranc
111
111
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 5 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13
add a comment |
1
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13
1
1
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13
add a comment |
1 Answer
1
active
oldest
votes
You can remove all the main stuff with these commands:
sudo apt-get purge mysql-server apache2 php
sudo apt autoremove && sudo apt autoclean
Then reinstall it the modern way using taskel:
sudo apt install tasksel
sudo tasksel install lamp-server
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073402%2fremove-re-install-lamp-with-current-versions-on-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can remove all the main stuff with these commands:
sudo apt-get purge mysql-server apache2 php
sudo apt autoremove && sudo apt autoclean
Then reinstall it the modern way using taskel:
sudo apt install tasksel
sudo tasksel install lamp-server
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
add a comment |
You can remove all the main stuff with these commands:
sudo apt-get purge mysql-server apache2 php
sudo apt autoremove && sudo apt autoclean
Then reinstall it the modern way using taskel:
sudo apt install tasksel
sudo tasksel install lamp-server
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
add a comment |
You can remove all the main stuff with these commands:
sudo apt-get purge mysql-server apache2 php
sudo apt autoremove && sudo apt autoclean
Then reinstall it the modern way using taskel:
sudo apt install tasksel
sudo tasksel install lamp-server
You can remove all the main stuff with these commands:
sudo apt-get purge mysql-server apache2 php
sudo apt autoremove && sudo apt autoclean
Then reinstall it the modern way using taskel:
sudo apt install tasksel
sudo tasksel install lamp-server
answered Sep 8 '18 at 17:12
Joshua BesneatteJoshua Besneatte
2,08311025
2,08311025
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
add a comment |
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
1
1
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
OK. I was able to get back to this and follow your instructions. After the installation I rebooted the PC, and tried an Apache2 test with localhost/index.html. That looked fine. The PHP version showed 7.2.something. The one question I had was that when I logged into MySQL it accepted my OLD user/pass. Is that normal?? I was prepared complete install to be purged and to start over. Thanks for the steps.
– yourpalfranc
Sep 13 '18 at 16:06
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073402%2fremove-re-install-lamp-with-current-versions-on-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
using an old guide and replacing php7 where neccessary should work for removing. once you have removed your lamp stack, install it following this guide: linuxconfig.org/…
– Joshua Besneatte
Sep 8 '18 at 16:44
posted it to an answer.... you might just use php instead of php7
– Joshua Besneatte
Sep 8 '18 at 17:13