how to uninstall php7How do I uninstall Kubuntu and install Ubuntu?How to uninstall Windows after installing...

Does a dangling wire really electrocute me if I'm standing in water?

Doomsday-clock for my fantasy planet

Creating a loop after a break using Markov Chain in Tikz

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

Why is my log file so massive? 22gb. I am running log backups

Find the positive root of a 4-th degree polynomial equation

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Need help identifying/translating a plaque in Tangier, Morocco

Are white and non-white police officers equally likely to kill black suspects?

How can I fix this gap between bookcases I made?

Why is the design of haulage companies so “special”?

Prime joint compound before latex paint?

Does bootstrapped regression allow for inference?

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

How can I plot a Farey diagram?

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

How to deal with fear of taking dependencies

If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?

What is the meaning of "of trouble" in the following sentence?

Is "plugging out" electronic devices an American expression?

Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

What to wear for invited talk in Canada

Is there a familial term for apples and pears?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?



how to uninstall php7


How do I uninstall Kubuntu and install Ubuntu?How to uninstall Windows after installing Wubi?how to uninstall both unixodbc and freetds?Install (Upgrade) php7 on Ubuntu 15.10 apache2PHP7 on ubuntu 12.04How to remove/uninstall mongochef?Install Xdebug extension only for PHP7.1php7 on 16.04 not working after reinstall of ApacheRemove php 5.3 from my systemMySQL service doesn't start on Ubuntu 14.04 after upgrading PHP from version 5.6 to 7.2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















How to uninstall php 7 on. I was trying to manage two different websites with two different versions of php (5.6 and 7), but it didn't work, so I need to uninstall both versions and to install one clear version.










share|improve this question














bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    How did you install them?

    – Anwar
    Aug 25 '16 at 6:44











  • Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

    – thomasrutter
    Jul 27 '18 at 0:06




















0















How to uninstall php 7 on. I was trying to manage two different websites with two different versions of php (5.6 and 7), but it didn't work, so I need to uninstall both versions and to install one clear version.










share|improve this question














bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    How did you install them?

    – Anwar
    Aug 25 '16 at 6:44











  • Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

    – thomasrutter
    Jul 27 '18 at 0:06
















0












0








0








How to uninstall php 7 on. I was trying to manage two different websites with two different versions of php (5.6 and 7), but it didn't work, so I need to uninstall both versions and to install one clear version.










share|improve this question














How to uninstall php 7 on. I was trying to manage two different websites with two different versions of php (5.6 and 7), but it didn't work, so I need to uninstall both versions and to install one clear version.







uninstall php7






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 11 '16 at 7:26









gordongordon

113




113





bumped to the homepage by Community 2 hours 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 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    How did you install them?

    – Anwar
    Aug 25 '16 at 6:44











  • Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

    – thomasrutter
    Jul 27 '18 at 0:06
















  • 1





    How did you install them?

    – Anwar
    Aug 25 '16 at 6:44











  • Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

    – thomasrutter
    Jul 27 '18 at 0:06










1




1





How did you install them?

– Anwar
Aug 25 '16 at 6:44





How did you install them?

– Anwar
Aug 25 '16 at 6:44













Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

– thomasrutter
Jul 27 '18 at 0:06







Note that it is possible to run multiple versions of PHP simultaneously using PHP-FPM and any server supporting fastCGI like Apache or nginx. Setup into here. If you need help on this it'd need to be in a separate question though.

– thomasrutter
Jul 27 '18 at 0:06












2 Answers
2






active

oldest

votes


















0














Try opening a terminal window (Alt-Ctrl-T) and running sudo apt purge php7.0






share|improve this answer


























  • If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

    – til_b
    Aug 25 '16 at 8:19



















-1














Type sudo apt purge php and hit tab and you will get all the installed php packages listed in the terminal. You can remove or keep the packages as you wish.



Update the package lists in the system and install PHP with following command:



sudo apt update 
sudo apt install php7.0





share|improve this answer
























    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%2f810875%2fhow-to-uninstall-php7%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try opening a terminal window (Alt-Ctrl-T) and running sudo apt purge php7.0






    share|improve this answer


























    • If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

      – til_b
      Aug 25 '16 at 8:19
















    0














    Try opening a terminal window (Alt-Ctrl-T) and running sudo apt purge php7.0






    share|improve this answer


























    • If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

      – til_b
      Aug 25 '16 at 8:19














    0












    0








    0







    Try opening a terminal window (Alt-Ctrl-T) and running sudo apt purge php7.0






    share|improve this answer















    Try opening a terminal window (Alt-Ctrl-T) and running sudo apt purge php7.0







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Aug 25 '16 at 5:50









    Nick Weinberg

    3,56941827




    3,56941827










    answered Aug 11 '16 at 7:28









    Sherif SalahSherif Salah

    1864




    1864













    • If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

      – til_b
      Aug 25 '16 at 8:19



















    • If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

      – til_b
      Aug 25 '16 at 8:19

















    If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

    – til_b
    Aug 25 '16 at 8:19





    If it worked please mark the question on this site as accepted (theres the button for that under the up/down arrows left hand of your question)

    – til_b
    Aug 25 '16 at 8:19













    -1














    Type sudo apt purge php and hit tab and you will get all the installed php packages listed in the terminal. You can remove or keep the packages as you wish.



    Update the package lists in the system and install PHP with following command:



    sudo apt update 
    sudo apt install php7.0





    share|improve this answer




























      -1














      Type sudo apt purge php and hit tab and you will get all the installed php packages listed in the terminal. You can remove or keep the packages as you wish.



      Update the package lists in the system and install PHP with following command:



      sudo apt update 
      sudo apt install php7.0





      share|improve this answer


























        -1












        -1








        -1







        Type sudo apt purge php and hit tab and you will get all the installed php packages listed in the terminal. You can remove or keep the packages as you wish.



        Update the package lists in the system and install PHP with following command:



        sudo apt update 
        sudo apt install php7.0





        share|improve this answer













        Type sudo apt purge php and hit tab and you will get all the installed php packages listed in the terminal. You can remove or keep the packages as you wish.



        Update the package lists in the system and install PHP with following command:



        sudo apt update 
        sudo apt install php7.0






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 1 '17 at 6:03









        Hero HamadaHero Hamada

        13




        13






























            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%2f810875%2fhow-to-uninstall-php7%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

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...