Install Multiple PHP Version Ubuntu 23.04

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • In this video, I will show you step by step procedure on how to configure multiple PHP versions on Ubuntu 23 and how to switch between them as well.
    Installing Multiple Versions of PHP Ubuntu 23
    // See your version of Ubuntu
    lsb_release -d
    // First add this repo
    sudo add-apt-repository ppa:ondrej/php
    Manage / Have Multiple PHP Versions with Apache2
    sudo update-alternatives --config php
    // Software properties
    sudo add-apt-repository ppa:ondrej/php
    // update system
    sudo apt update
    //edit the updatesoftware
    Update change lunar to jammy:
    // Install verseion 7.2
    sudo apt install php7.2 php7.2-fpm
    Manage / Have Multiple PHP Versions with Apache2
    sudo update-alternatives --config php
    //Restart Apache for the changes to take effect.
    sudo systemctl restart apache2
    //Remove all php7* version
    sudo apt-get purge php7.*
    Buy me a cup of coffee
    USDT wallet Address
    0x10140442c4ff6264707c22b8e7ce88616b56cc99

Комментарии • 27

  • @jorgesinmas2265
    @jorgesinmas2265 3 месяца назад +1

    Thanks!!!!!

  • @charlesauspicks
    @charlesauspicks Год назад +1

    Great job bruh!!!
    Keep up the good works.

  • @ViniciusPeixoto-wj4kv
    @ViniciusPeixoto-wj4kv 5 месяцев назад

    Thank's Bro.

    • @tdevclass
      @tdevclass  5 месяцев назад

      You're welcome!

  • @neilsteventon7500
    @neilsteventon7500 11 месяцев назад +1

    Cheers for Video
    I wasn't using the GUI and recently updated everything to lunar. I noticed you could follow your steps but the only difference for me was that
    without the GUI I had to edit the PPA list.
    // show list
    ls /etc/apt/sources.list.d/
    //edit the file
    //something like 'ondrej-ubuntu-php-lunar.list'
    sudo nano /etc/apt/sources.list.d/[filename].list
    //Change "lunar" to "jammy" wihtin the file above
    //now you can update without error
    sudo apt update

  • @mayonenathaneal7115
    @mayonenathaneal7115 Год назад

    I strongly dey with you and I'll support every ❤❤ want to learn too

  • @user-sj2pw8fp3b
    @user-sj2pw8fp3b 10 месяцев назад

    Great, My ubuntu 23 other php version issue fixed. thanks

  • @ViniciusPeixoto-wj4kv
    @ViniciusPeixoto-wj4kv 5 месяцев назад

    Thanks Bro.

    • @tdevclass
      @tdevclass  5 месяцев назад

      You're welcome!

  • @user-mh4fq8yx9p
    @user-mh4fq8yx9p Год назад +1

    You're doing great sir

  • @cahyosu763
    @cahyosu763 Год назад

    thanks man, finally my problem get solved 😊

  • @MohamedEmad-wx6th
    @MohamedEmad-wx6th Год назад

    You are a lifesaver bro, Really thanks

  • @sreyastp
    @sreyastp 4 месяца назад

    it works u saved

  • @touremarc755
    @touremarc755 8 месяцев назад

    thank you guys, is very usefull

  • @WithZeinali
    @WithZeinali 11 месяцев назад

    Great job Bro !!!!

    • @tdevclass
      @tdevclass  11 месяцев назад

      You welcome...please do subscribe and like my page

  • @sreyastp
    @sreyastp 4 месяца назад

    thanks

  • @StellarAdventuresNASA
    @StellarAdventuresNASA 9 месяцев назад

    Bro could you please make video about how to install multiple version of composer on ubuntu 23.04

    • @tdevclass
      @tdevclass  9 месяцев назад

      At the moment I don`t think there are alternatives for composer, but why would you want that

  • @Aziz-jp7od
    @Aziz-jp7od 11 месяцев назад

    Respect.

  • @kiranrajb3419
    @kiranrajb3419 11 месяцев назад

    Thanks dude