Install LAMP Stack (Linux, Apache, MySQL, PHP) in Ubuntu 15.10

Поделиться
HTML-код
  • Опубликовано: 28 окт 2024

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

  • @zt.5677
    @zt.5677 3 года назад +3

    Thanks Brad! I like your attitude. I loved that authentic moment when you had realized that the config file was missing a line. I have those moments all the time. That is learning by doing.

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

    Still the this is super tutorial even it was made 7 years ago . I didn’t find like this masterpiece all around in 2023! You are the hero for all times.

  • @romarmacaraeg661
    @romarmacaraeg661 2 года назад +2

    Damn, I've tried a lot of youtube tutorials for my WSL2 Ubuntu and this is the only one that worked for me smoothly. Great job!

  • @parkerbrown1323
    @parkerbrown1323 7 лет назад +51

    At 6:24 if you have installed php7.0 with ubuntu 16.04 via apt-get install php, then your php.ini file is located by CMD: sudo nano /etc/php/7.0/apache2/php.ini Happy Coding!

    • @realwizardry834
      @realwizardry834 7 лет назад +1

      Thank you Parker

    • @csabasaf
      @csabasaf 6 лет назад +1

      Thank you for the hint; it really helped me. At the time of installation we were already at Ubuntu 17.10 and PHP 7.1, but it really helped me figure out how to install all that stuff.

    • @HarshalShinde4277425btw
      @HarshalShinde4277425btw 6 лет назад

      thanks

    • @dg-hughes
      @dg-hughes 6 лет назад

      I followed the bread crumbs to that but using the info in the video it made PHP MyAdmin package spill its guts onto the admin page instead of the PHP MyAdmin GUI

    • @antonyinjila7152
      @antonyinjila7152 5 лет назад

      Yea. This is the part that I think might not be similar as demonstrated here.

  • @gabrielmaphanga8328
    @gabrielmaphanga8328 8 лет назад +2

    Dude you are sick programmer. I aspire to like you. You help configure my lamp server in a night. With all the details with no assumption. God Bless!!

  • @muhammadusmankhan6761
    @muhammadusmankhan6761 3 года назад +2

    Your 5 years old videos are still better then the new videos from other users.

  • @arminb8425
    @arminb8425 5 лет назад +1

    Man, I've been trying to install it for weeks, I had given up thinking it was impossible to have phpmyadmin on linux, thank you so much Brad!!!

  • @ptitcka
    @ptitcka 8 лет назад +1

    Thank you so much! I had to google some things because my results varied with yours, but you were a big help, seeing as you focused on Ubuntu 15.10! I'm so grateful.

  • @f7a996
    @f7a996 3 года назад +2

    When installing phpmyadmin at 5:22, Apache2 is just 'red'. Hit the spacebar to select the option and see a confirming '*', then you can tab to OK and hit enter......Great UI design.....

  • @mrhoxell
    @mrhoxell 4 года назад +2

    Damn man. You made it extremely simple. Finally someone made it

  • @onepelaez
    @onepelaez 7 лет назад

    Awesowe LAMP installation video! That works so great ..... It also working on Ubuntu 16.04, there is no any difference. Great Job

  • @aliayub5034
    @aliayub5034 4 года назад +1

    The tutorial is brief and on point. Thanx indeed

  • @benj2535
    @benj2535 7 лет назад +27

    If Your In 2017 "sudo apt-get install php" then "sudo apt-get install libapache2-mod-php"

  • @beaupasquariello4227
    @beaupasquariello4227 5 лет назад +1

    Sorry, as I'm a noob. Where are you installing these services from? A disk? Or do they already reside on the drive?

  • @khalilyouceflagraa4808
    @khalilyouceflagraa4808 7 лет назад

    Thank you so much, this video clearly explain step by step how to install LAMP, and it's work.

  • @antonyinjila7152
    @antonyinjila7152 5 лет назад

    Its pretty easy and straight forward. Thank you Traversy Media

  • @csabasaf
    @csabasaf 6 лет назад

    Brad, you're awsome! I really had a hard time after switching from Windows 10 to Ubuntu 17.10, but now I have everything running flawlessly. Thank you.

  • @tsegazeab7580
    @tsegazeab7580 6 лет назад

    You know you have that great thing at explaining things!!!!! nice

  • @revenantaryan8736
    @revenantaryan8736 4 года назад

    Thanks a lot .It Take a whole night to configure this.

  • @XavThaMan
    @XavThaMan 7 лет назад +1

    I had an error when trying to install PHP5: Package php5 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

  • @kikipranoto197
    @kikipranoto197 4 года назад

    thank you very much it works on ubuntu 18.04 LTS

  • @sandeshnangare8393
    @sandeshnangare8393 6 лет назад

    Thank you so much sir,simply and 100% working😊

  • @freddie5401
    @freddie5401 6 лет назад +20

    sudo nano /etc/php/7.2/apache2/php.ini at 6:24

  • @rahulkoli1491
    @rahulkoli1491 7 лет назад

    Thank you for the precise explanation . It really helped a lot .

  • @DiegoHerrera-yo3oq
    @DiegoHerrera-yo3oq 8 лет назад

    Hello friend first of all i want to say that is an excellent video because the information is to much clear, but I want to ask you something, what operating system you have in virtual machine Windows or Ubuntu? and other question is, How did you know that IP had the localhost to see running the php, mysql and phpmyadmin in Windows? I hope my questions are clear and you can answer it, Beforehand thank you very much, Regards!

  • @kidronzer7886
    @kidronzer7886 5 лет назад +1

    Thank You so much, this video was really very helpful.

  • @VelezBiH
    @VelezBiH 5 лет назад

    Nicely done and well explained .thank you.

  • @lindanarocks5326
    @lindanarocks5326 6 лет назад

    It's such a wonderful tutorial! So detailed explanation!!
    Can u plz make a video on how to run jdbc programs ?? Plz..I am using postgreSQL db btw..

  • @metaorior
    @metaorior 6 лет назад +1

    Professor Brad
    can you make a video covering Docker and it's basics ?
    how to setup a LAMP stack
    thanks alot

  • @robg9508
    @robg9508 7 лет назад

    Thanks so much, comments with updates very helpful.

  • @euclid9492
    @euclid9492 6 лет назад

    how would I figure out how to do this without this video I never would think to edit those files on my own XD

  • @brianhansen8876
    @brianhansen8876 3 года назад

    Great video, Brad - thanx!!

  • @willgd5950
    @willgd5950 3 года назад

    Can i install this on my chromebook? I have linux installed and my chromebook is compatible with very much programming/coding languages

  • @antonioflores8929
    @antonioflores8929 6 лет назад +1

    wow you made it look very easy, thanks a lot

  • @umeraslam8126
    @umeraslam8126 3 года назад

    Awesome! worked for me.

  • @kaylemaclou
    @kaylemaclou 7 лет назад +1

    ... well explained. Thank you!

  • @utsv5226
    @utsv5226 7 лет назад +2

    Package 'php5' has no installation candidate
    what should I do next ?

    • @eb4416
      @eb4416 4 года назад

      Nothing. Try localhost/phpmyadmin already. Nevertheless you can get the info by using sudo nano /etc/php/7.2/apache2/php.ini but there you won't find the specific line that Brad showed us. It worked on my pc without changing anything in that file.

  • @TheBackerboy
    @TheBackerboy 8 лет назад +3

    probably a stupid question, but how can i put my files in the www folder? drag and drop does not work...

    • @TheBackerboy
      @TheBackerboy 8 лет назад

      and your tutorial was perfect! works like a charm! :) thx

    • @epicwhat001
      @epicwhat001 8 лет назад +9

      you need admin privilege so use sudo
      1. open the terminal where the file is
      2. sudo mv
      3. enter password and done.
      ex: test.php from desktop to /var/www/html
      sudo mv test.php /var/www/html

    • @manavsaxena5579
      @manavsaxena5579 7 лет назад

      Thanks guys!

  • @deepamgupta8011
    @deepamgupta8011 6 лет назад +2

    Hey phpMyAdmin is not accepting "root" as its username, any help is appreciable.

  • @mosfeqanik549
    @mosfeqanik549 5 лет назад +2

    thanks this video helped me a lot.at 7.05 extension= msql.so is not found.but ( Include /etc/phpmyadmin/apache.conf) worked.i install php 7.2 with ubuntu 18.04 .location will be sudo nano /etc/php/7.2/apache2/php.ini.in the phpmyadmin it is showing error. so this command works
    Login to your MySQL sudo mysql -p -u root
    CREATE USER
    CREATE USER 'admin'@'%' IDENTIFIED BY 'admin4321';
    GRANT ALL PRIVILEGES
    GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION

  • @arminb8425
    @arminb8425 5 лет назад

    Hi Brad, could you do a video on installing homestead on Ubuntu?

  • @mukhammeddaulet-kazhy4405
    @mukhammeddaulet-kazhy4405 5 лет назад

    What if i have different text editor, how should i write? I am using Sublime Text and how it would be instead nano? (trying to write, but that is not working)

  • @Анастасия-ч6ш4ю
    @Анастасия-ч6ш4ю 7 лет назад

    Thanks! It's very helpful!

  • @sahilgarg94
    @sahilgarg94 6 лет назад

    Thankyou very much for this tutorial

  • @PhearMyWrath
    @PhearMyWrath 7 лет назад

    Where is the apache.conf file located with php7? The /etc/php/7.0/apache2/ folder only has a conf.d folder...

  • @nenadmihajlovic2102
    @nenadmihajlovic2102 7 лет назад

    Work like a charm

  • @shivamsatija2016
    @shivamsatija2016 8 лет назад

    Hey! I have followed this video to install apache on my Ubuntu 15.10, but localhost page is coming blank.

  • @GodricThe
    @GodricThe 4 года назад

    less than 2 minutes in and I have a problem. Localhost thing does not work in Windows(host OS), but it does on Ubuntu in VirtualBox and in browser does not work.I have to do port forwarding and I have no idea how to do it and there is not tutorial anywhere for it

  • @husainahmmed9025
    @husainahmmed9025 7 лет назад

    Thanks for this awesome tutorial. If you can please update this tutorial with php7

  • @ramirez368
    @ramirez368 3 года назад

    amazing Brad!!!

  • @valkrumprofegh9958
    @valkrumprofegh9958 2 года назад

    on the mysql it didn't appear popup for set a root password, is there any option to creating a password?

  •  3 года назад

    when I installed mysql-server it did not ask me for a root password, and I can't access to it

  • @a_rod1678
    @a_rod1678 4 года назад

    localhost is currently unable to handle this request. what should i do?

  • @surfinbird71
    @surfinbird71 7 лет назад +13

    UPDATED(April 7, 2017) Same as video but with the newest php, and no issues with mbstring!
    sudo apt-get update && sudo apt-get upgrade
    sudo apt-get install apache2
    sudo /etc/init.d/apache2 start
    sudo add-apt-repository ppa:ondrej/php
    sudo apt-get update
    sudo apt-get install php7.1
    sudo /etc/init.d/apache2 restart
    sudo nano /var/www/html/test.php
    // Enter:
    sudo apt-get install mysql-server
    CREATE MYSQL PASSWORD
    mysql root -u -p
    ENTER MYSQL PASSWORD
    create database testdb;
    show databases;
    exit
    sudo apt-get install phpmyadmin
    // Select apache2 from menu
    // Select Yes
    CREATE PASSWORD FOR PHPMYADMIN
    ENTER MYSQL PASSWORD
    sudo nano /etc/php/7.1/apache2/php.ini
    // Delete the ; where it says: extension=mysql.so
    // Delete the ; where it says: extension=php_mbstring.dll
    sudo nano /etc/apache2/apache2.conf
    // At very bottom type: Include /etc/phpmyadmin/apache.conf
    sudo apt-get install php-mbstring php7.1-mbstring php-gettext
    sudo apt-get install php-xml
    sudo /etc/init.d/apache2 restart
    // Works perfect on Ubuntu 16.04

  • @RaviShankar-bc7wl
    @RaviShankar-bc7wl 6 лет назад

    its not parsing PHP when i run the localhoat/test.php it rather prints the whole code.
    I have installed PHP7.0

  • @l.p.7916
    @l.p.7916 6 лет назад

    sick wall paperr were did u get it

  • @msfconsolelinux1381
    @msfconsolelinux1381 6 лет назад

    --- Before Starting ----- 1:10 - Open the Konsole 1:12 - Update Package List == sudo apt-get update == ---- Apache Part ---- 1:20 - Install Apache == sudo apt-get install apache2 2:00 - Open apache config == sudo nano /etc/apache2/apache2.conf 2:05 At the bottom of the file append -- ServerName 127.0.0.1 -- 2:45 - Restart Apache == sudo systemctl restart apache2 3:35 - Write Permission == sudo chmod 777 /var/www/html ---- Mysql Part ---- 4:00 - Install Mysql == sudo apt-get install mysql-server ---- PHP Part ---- 5:15 - Install PHP == sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql 6:00 - Open apache Dir conf == sudo nano /etc/apache2/mods-enabled/dir.conf 6:10 - Delete the -- index.php -- at the end of the second line 6:15 - Add -- index.php -- before index.html 6:30 - Restart apache == sudo systemctl restart apache2 6:40 - Go to hosted folder == cd /var/www/html 6:45 - Add index.php == sudo nano index.php 6:50 - Give it the content seen in the Video ---- phpmyadmin Part ---- 7:35 - Install phpmyadmin == sudo apt-get install phpmyadmin 8:25 - Open apache config == sudo nano /etc/apache2/apache.conf 8:30 - Add at the bottom -- Include /etc/phpmyadmin/apache.conf -- 8:55 - Reload Apache == sudo apachectl restart

    • @nisarggogate8952
      @nisarggogate8952 4 года назад

      i m able to see the local host page. But when i go localhost/test.php it shows a blank page... I have written the exact same code as in video... Do you have any idea...

  • @HildoQuetz
    @HildoQuetz 7 лет назад

    Thanks my friend! :)

  • @chris-boy
    @chris-boy 7 лет назад

    Nice work

  • @buggaman2009
    @buggaman2009 4 года назад

    Can you show how to install multiple lampp one with php 5 and other php 7 and run parallel

  • @mohammadsohail9283
    @mohammadsohail9283 6 лет назад

    Package php5 is not available, but is referred to by another package.

  • @shila730
    @shila730 7 лет назад

    Great. Thank you :)

  • @evanburr8503
    @evanburr8503 5 лет назад

    If you have trouble installing MySQL, implement “sudo apt-get update” before the sudo install

  • @SaddamHossain-zi2fl
    @SaddamHossain-zi2fl 6 лет назад

    how can i reinstall lamp???i have removed it before.now i cannt install apache2,mysql

  • @beatsci-fi
    @beatsci-fi 6 лет назад

    just great. thank you

  • @manavsaxena5579
    @manavsaxena5579 7 лет назад

    Could someone guide me on how to copy an entire directory into the /www folder. I can't locate on the explorer, in windows I could simply copy the folder into htdocs and it would work but I don't know how to do it in ubuntu.

  • @preetidash2217
    @preetidash2217 7 лет назад

    Hi, When it comes to exiting the sql, I am unable to exit and move on to the step where I install phpmyadmin

  • @mingyan8081
    @mingyan8081 8 лет назад

    Once I install php5 in LAMP, how can I upgrade it to PHP7? could you tell me? Thank you!

    • @PietroNardelli
      @PietroNardelli 8 лет назад +1

      If you type "sudo apt-get install php" you can check the installation before pressing y, it will show php7

  • @sed2016
    @sed2016 5 лет назад

    great! Thanks guy

  • @abulhasnattanvir8009
    @abulhasnattanvir8009 7 лет назад

    hy bro
    my problam
    Error writing /etc/php7/apache2/php.ini: No such file or directory

  • @aryabhatt5833
    @aryabhatt5833 3 года назад

    Thanks a ton!!!!

  • @libassediop4764
    @libassediop4764 6 лет назад +2

    can I install wordpress in it?

  • @mdalaminmahamud3775
    @mdalaminmahamud3775 8 лет назад

    that was a great video!

  • @madhurapawar5808
    @madhurapawar5808 7 лет назад

    Thanks a ton!! :)

  • @saikatbiswas4402
    @saikatbiswas4402 3 года назад

    Nice

  • @EinsameNudel
    @EinsameNudel 8 лет назад

    The mbstring extension is missing. Please check your PHP configuration.Can someone help?

  • @srinivasannarasiman7693
    @srinivasannarasiman7693 7 лет назад

    sudo apt-get install apache2
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

  • @ryan.aquino
    @ryan.aquino 7 лет назад +5

    sudo apt-get install libapache2-mod-php

  • @chrisyoshi7365
    @chrisyoshi7365 7 лет назад

    It might be good to point out that Ubuntu 15.01 is now no longer supported, therefore there is no way to update the system.

  • @islamstanaliev9843
    @islamstanaliev9843 8 лет назад

    How can I connect apache2 with sublime text 3?

  • @boliussa
    @boliussa 3 года назад

    where is the guide for this written though?

  • @timomuller6081
    @timomuller6081 6 лет назад

    how do I make my mysql databases available ?

  • @jonathanhembra2098
    @jonathanhembra2098 3 года назад

    any updated version of the this?

  • @SoupTurtle16
    @SoupTurtle16 5 лет назад

    I never got to set a password for the sql server what do I do

  • @mayurkapadia3985
    @mayurkapadia3985 6 лет назад

    Thank u Sir..!!!

  • @godsbigbrothergloble1419
    @godsbigbrothergloble1419 8 лет назад

    this is a good tutorial

  • @SebastianLaclau
    @SebastianLaclau 6 лет назад

    Genio

  • @alex23tr
    @alex23tr 7 лет назад

    thank you bro.
    If anyone wants to setup via new version files, must to concentrate php 5 , php 7 and where is php.ini files.

  • @epicwhat001
    @epicwhat001 8 лет назад

    big help thanks

  • @rottencase2498
    @rottencase2498 3 года назад

    in case ur version of php is problem, use php-fpm instead of php5

  • @consoledoterror971
    @consoledoterror971 4 года назад

    3 : 25 I got '404 Not Found Error'. Help me.

  • @fresh-k
    @fresh-k 2 года назад

    Merci beaucoup

  • @aliayub5034
    @aliayub5034 4 года назад

    Thanx very much

  • @alamjim6117
    @alamjim6117 4 года назад

    Thanks
    !!!! :)

  • @FilipeMarques
    @FilipeMarques 5 лет назад

    Thankyou so much!

  • @odaimohammad3687
    @odaimohammad3687 7 лет назад

    Thank you!

  • @farhaneyasmine727
    @farhaneyasmine727 7 лет назад

    can any body help me ?
    I want to install php4 not php5 for compatibility reasons :( please what can I do all tutorials show how to install php5 or 7

  • @danishtahir85
    @danishtahir85 6 лет назад

    phpmyadmin error.
    The mysqli extension is missing.

  • @eloyeloy1780
    @eloyeloy1780 8 лет назад

    thanks! 😀

  • @iFMust
    @iFMust 6 лет назад

    Merci bb