Remove/re-install LAMP with current versions on Ubuntu 18.04












0















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.










share|improve this question
















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
















0















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.










share|improve this question
















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














0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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














  • 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










1 Answer
1






active

oldest

votes


















0














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





share|improve this answer



















  • 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











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
});


}
});














draft saved

draft discarded


















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









0














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





share|improve this answer



















  • 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
















0














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





share|improve this answer



















  • 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














0












0








0







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





share|improve this answer













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






share|improve this answer












share|improve this answer



share|improve this answer










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














  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

香粉寮

GameSpot