2 | How to Install a Local Server for PHP | 2023 | Learn PHP Full Course for Beginners

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 172

  • @lbs9587
    @lbs9587 Рік тому +55

    I have been in school for software development. And i have learned more from your tutorials than from the school. So huge thanks for that.
    Keep doing what you do Dani!

  • @ShukoKuriyami
    @ShukoKuriyami 10 місяців тому +14

    This took me like 2 hours to do so i just literally did all what he did and now in just a few minutes i can finally start programming

  • @iamacopy7349
    @iamacopy7349 Рік тому +34

    8:56 FYI: On mac the path should be /Applications/xampp/xamppfiles/bin/php-8.2.4 where 8.2.4 stands for the version number (which may change in the future.)

    • @Dylson
      @Dylson 10 місяців тому +1

      Worked like a charm! Cheers mate!

    • @DarkenedRay
      @DarkenedRay 5 місяців тому +1

      Thank you, I couldn't find anything online for this

    • @spiderichard
      @spiderichard 4 місяці тому

      Doing the lords work ♥ thank you so much

    • @kellenmoore9368
      @kellenmoore9368 3 місяці тому

      Thank you so much. I've been trying to figure this out for over an hour smh

  • @fissionchips223
    @fissionchips223 Рік тому +6

    Feels like I'm learning to take off and fly in a fighter jet my first day on the job. Dani! You are a gifted teacher, my man! Your understanding of what people are thinking when they first approach this is amazing. Thank you so much not just for your terrific help, but for NOT FORGETTING what it's like to start out and what thoughts go through your head as you first approach this. This is a real gift and I thank you so much for focusing so well on keeping people from getting overwhelmed - you are absolutely talented! Cheers!

  • @vidhusansurenthiran5730
    @vidhusansurenthiran5730 Рік тому +7

    finally a video that doesn’t rush and explain everything in details. you are really good at explaining and a Great teacher

  • @santiv6094
    @santiv6094 Рік тому +5

    im going to use this course to learn php and create a web site for a potential client, so i hope you continue this course, because until this moment your way to explain is being really good for a guy like me that have been programming for a couple years now with other backend languages and with web development. Thx for thee content!

  • @ANJ_gaming
    @ANJ_gaming 6 місяців тому +4

    Gotta say, I wasn't even looking to really learn php but one thing led to another and now I'm here, I really appreciate how beginner friendly you have made this course and how you break down basically every step into a video. Makes it easier for an ADHDer like myself to not give up when I inevitably get stuck and am only 1/30th the way into a 1 hour video xD

  • @abassataroconteh4262
    @abassataroconteh4262 4 місяці тому +2

    This video demonstrates how to set up a local server for PHP development using XAMPP, including installing the software, configuring the server, and creating a basic PHP file.
    Key moments:
    00:00 Setting up a website using PHP requires installing a local server, like XAMPP, which is easy and safe, allowing offline website development without uploading to the internet.
    -Different local servers like LAMP, VAMP, XAMPP, and Docker are available for installation, offering various options for setting up a server.
    -Installing XAMPP is recommended for its ease of setup and familiarity, making it a popular choice among website developers.
    -Downloading and installing XAMPP involves selecting the appropriate version for your operating system, ensuring a smooth installation process for offline website development.
    03:23 To set up a local server for PHP development, you need to install XAMPP, start Apache and MySQL servers, create website folders in htdocs, and edit PHP files in your preferred editor.
    -Installing XAMPP and starting Apache and MySQL servers are essential for running PHP locally on your computer.
    -Creating website folders in the htdocs directory allows you to access and manage multiple websites on your local server.
    -Editing PHP files in your preferred editor, such as Visual Studio Code, enables you to develop and customize your website's functionality.
    06:45 PHP files allow for PHP code to run within HTML files seamlessly, enabling conversion of existing HTML websites to PHP by simply changing file extensions.
    -Setting up PHP in Visual Studio Code may require manual configuration in some cases, ensuring the executable path is correctly linked for PHP installation.
    -Using PHP tags within HTML files allows for the execution of PHP code, demonstrated by writing and displaying 'hello world' using PHP echo statement.
    Generated by sider.ai

  • @davidolaye5771
    @davidolaye5771 Рік тому +4

    I’ve learnt alot from you starting from your html and css tutorials. You are simply the best ever Thank you so much.

  • @remasrebas3776
    @remasrebas3776 Рік тому +3

    I truly appreciate how you are addressing concerns that might be daunting for beginners. Your way of reassuring and creating a comfortable learning experience is invaluable.

  • @yousifky
    @yousifky Рік тому +12

    One of the best teachers on earth ❤

  • @sta8hs13
    @sta8hs13 2 місяці тому +1

    I have created many wordpress websites, I have worked as a developer in the past (Angular and .Net) and these courses are such a relief..! You are such an excellent teacher! Can't wait to learn :))

  • @akashgola2153
    @akashgola2153 8 місяців тому +8

    Now this is how a setup tutorial should be like 🙂.

  • @JonTheJotter
    @JonTheJotter 3 місяці тому +1

    THANK YOU, I mainly followed this tutorial just to setup the localhost server bit as I was struggling so bad trying to do it manually (I’m very much new to all of this) xampp finally did the trick.

  • @Jelaie
    @Jelaie Місяць тому +1

    The tutorial you provided is so easy to understand and I am loving it, hope for more guidance.

  • @codewithmtk
    @codewithmtk Рік тому +3

    One of my best Channel to watch when i started learning to code and specially web development, You just reminded me my starting days. Keep it up

  • @dimoik700
    @dimoik700 5 місяців тому +1

    Your detailed explanations helped to install Xampp &local server for PHP

  • @darylepstein9790
    @darylepstein9790 Рік тому +4

    This guy is just awesome. Amazing dynamic teaching and examples

  • @adithyabhat583
    @adithyabhat583 11 місяців тому +2

    I understood reallywell . Thank you so much!!!! Loved it

  • @qwonnnnnnn
    @qwonnnnnnn Рік тому +5

    Love the content Dani! Not sure Im the only one that did this but be careful when you make the htdocs shortcut you dont move the file completely out of xampp as i did. It was an hour of hair pulling frustration for myself 😂

  • @samkroes4611
    @samkroes4611 10 місяців тому

    Super helpful! Thank you so much! I'm also in school for software development, but my professors are having us use a virtual environment instead of installing anything locally. You've answered a lot of questions I had, so thanks!! Your videos are the best!

  • @mikialem3727
    @mikialem3727 7 місяців тому +2

    Thank you so much... you are truly talented in teaching!

  • @atlantic_love
    @atlantic_love Рік тому +3

    Excellent work, Dani!

  • @itsyoboiarroi
    @itsyoboiarroi Рік тому +2

    bro you're the best in explaining fr.

  • @mhamedfattoum6179
    @mhamedfattoum6179 Рік тому

    i love how i was studying php in class and i have like exam on it in like 2 days just when i saw dani uploaded this vid
    ty mate

  • @cruzinsweetsntreats
    @cruzinsweetsntreats Рік тому +2

    Yes, for safe testing, setting up a local server is good. Yet I found an sFTP Extension for VS Code that you can use an active web server. I ended up using the FTP (21) port instead, as it worked best for my VPS. Through the functions, you download / set the site to a local folder for editing. Works well. 04-16-2023 0141 PT

  • @legendarypanda1327
    @legendarypanda1327 4 місяці тому +1

    Bro thanks soo much i have been looking around for a video that explains this easily for too long 😅

  • @saralynnech
    @saralynnech Рік тому

    Thank you for this excellent resource. Very easy for beginners to follow, you are clearly a natural educator. =)

  • @willski_
    @willski_ 9 місяців тому +1

    thank you so much sir, im computer engineering student and i have to study XAMPP and PHP for my course "Application Website"

  • @gaurikshirsagar4698
    @gaurikshirsagar4698 7 місяців тому +1

    Great mann!!

  • @shlomihaser7894
    @shlomihaser7894 Рік тому

    Looking forward to the next videos!

  • @CheppaBenkesse-z8t
    @CheppaBenkesse-z8t Місяць тому

    Beautiful video

  • @programmingholic
    @programmingholic Рік тому

    Thanks for Sharing.

  • @sodiyaraymond274
    @sodiyaraymond274 6 місяців тому +2

    Prof. Dani Krossing, please MySQL server isn't running on my XAMPP Control Panel. saying "Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums".
    WHAT SHOULD I DO?

  • @KomdyIzHere
    @KomdyIzHere 2 місяці тому

    5:59 Where did the new window come from? Which is writing 1. Select language......

  • @neileder9896
    @neileder9896 Рік тому

    Best teacher! 🙇

  • @dynamics365series2
    @dynamics365series2 3 місяці тому

    this makes alot of sense. thanks

  • @joshuamichaelpeterbandas
    @joshuamichaelpeterbandas 5 місяців тому

    thank you very much for your help 🙏🙏🙏🙏🙏🙏

  • @yaseerakingbade
    @yaseerakingbade 3 місяці тому

    bro u really helped me, thanks i love you

  • @tomcoop9750
    @tomcoop9750 7 місяців тому

    Fantastic!

  • @fostajocharlotin5253
    @fostajocharlotin5253 Рік тому

    I m here for the second lesson 😀

  • @truekili9215
    @truekili9215 4 місяці тому +6

    When I run apache it always just says Error: apache shutdown unexpectedly. I see nothing about it in the comments. This is my first time installing xampp. I made sure to install the latest version (8.2) and install it in an unrestricted folder. Will update in the replies if I find a fix.

  • @4kPcGaming
    @4kPcGaming Рік тому

    this gets me back to the 1'st year of Uni :D

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      Me too hehe. It's been so long since I taught PHP. 😂

  • @khabbazz89
    @khabbazz89 3 місяці тому

    awesome

  • @PreetKadam-hj9fi
    @PreetKadam-hj9fi 2 місяці тому

    U are a God brother...arigato

  • @sarahschwartz4894
    @sarahschwartz4894 17 днів тому

    Thank you!!!!!

  • @eggxecution
    @eggxecution 3 місяці тому

    nice

  • @guillerjamesmantala7311
    @guillerjamesmantala7311 3 місяці тому

    thankyou sir

  • @ShadArf
    @ShadArf Рік тому

    Thank you dear Mr.dani
    I hope you create your videos with facecam

  • @丅-k3r
    @丅-k3r 3 місяці тому

    yee it worked!

  • @kylehawks2966
    @kylehawks2966 Рік тому

    Hi, Switched over to your updated version, and yes everything went great on my laptop....but not on my tower, Can anyone suggest a tutorial for Brackets editor and php so I can come back and Follow this great tutorial?

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri Рік тому

    Thank you

  • @ember5332
    @ember5332 11 місяців тому +1

    'php is used for 78% of websites that we know of in 2023' so WHY wasn't I taught it on a web development course 😭 this tutorial is saving my life right now.

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому +2

      Most courses from my experience, are focusing more on front-end languages, such as HTML, CSS, and JavaScript. 🙂
      I remember that 11 years ago when I was at the university, they taught us PHP during my bachelors... However they saw it as a failure, since most people couldn't follow along, because most people didn't have a interest in learning it... So now they are just focusing on teaching JavaScript at a higher level.
      So I think PHP isn't taught many places, simply because it isn't as "flashy" as JavaScript, and students aren't passionate about it. 😅

    • @ember5332
      @ember5332 11 місяців тому +2

      Ah I see thank you for clarifying! After 3 months of job hunting I finally got an internship as a web dev and I’m not sure they realised I’ve never used it 🤣 so now I’m trying to learn it ASAP and I couldn’t do it without this playlist. Thank you!

  • @TheADDScratcher
    @TheADDScratcher 8 місяців тому

    Completely lost me at 6:11. Following along on a Mac. Save file in folder where? Visual Studio or XAAMP? Where did you click?

    • @Dani_Krossing
      @Dani_Krossing  8 місяців тому +2

      You need to make sure you have quick access to the XAMPP folder you installed. 🙂
      This is btw one of the reasons I stopped using Mac for development, back when I had one for work. 😅 Apple doesn't like any 3rd party software on their devices, and will do everything in their power, to make it hard to do.

    • @TheADDScratcher
      @TheADDScratcher 8 місяців тому

      Thanks for the fast response. Yeah, I tried running in Windows 11 Pro using Parallels and Apache on XAMPP will not Start (error: VCRuntime140.dll missing (?) ) MySQL does start.

  • @rosecreeper4353
    @rosecreeper4353 Рік тому

    Thanks

  • @bogdanapache8263
    @bogdanapache8263 Рік тому

    best

  • @devoiddude
    @devoiddude Рік тому +1

    is live server extension in vs code the same thing?

  • @amandasjoberg463
    @amandasjoberg463 Рік тому

    i accidentaly clicked "no" on the "we value your privacy" box at 1:59, is that a problem and if so how do I fix it?

    • @Dani_Krossing
      @Dani_Krossing  Рік тому +1

      That is not a issue. It's just the standard privacy pop up all websites have, and some might even argue that you should just say "no" to all of them. :)

  • @Nebiou_coding
    @Nebiou_coding 3 місяці тому

    like you man

  • @HasanNaeem-h8h
    @HasanNaeem-h8h 3 місяці тому

    plz..make a video about php IMS !

  • @jhvhest
    @jhvhest Рік тому

    You don't need xampp anymore. You can use the server function of php itself.
    You can manage easy between versions with brew. A mysql server can be spin up with a docker command or docker-compose file.

    • @Dani_Krossing
      @Dani_Krossing  Рік тому +4

      Yes you are correct. 🙂 I looked into Docker when a commenter mentioned in the last video, however I still made the decision to go with XAMPP, for the simple reason that it is MUCH easier to comprehend setting up for beginners.
      Doing what I did in this video, vs what this guy is doing in his video, talks to two different audiences, and will most likely scare people away who are already intimidated by PHP. 😊
      ua-cam.com/video/2Bxh5FNGznQ/v-deo.html&ab_channel=VincentStevenson
      But I definitely think that Docker is worth looking into, as soon as people can comprehend the setup process. 🙂 For this course though, I want as many people on board as possible from the start.

    • @jhvhest
      @jhvhest Рік тому +1

      @@Dani_Krossing Thanks for the link. I will give it a look tomorrow morning.
      Xampp use to give me a lot of headache and made me stop using php. 😂.
      Everybody has their own experience.
      Maybe i should give it another try.

    • @Dani_Krossing
      @Dani_Krossing  Рік тому +4

      If you have Docker up and running then you got yourself a cool tool on hand. 🙂It is definitely an awesome choice over local servers like XAMPP, WAMP, LAMP, LEMP... etc. In the end it doesn't matter what tool you use, as long as it gets the job done. 😊

  • @KayleighOfSuburbia
    @KayleighOfSuburbia 6 місяців тому

    If I'm building a website with multiple pages should all pages use extension .php if only one (the contact form) actually uses php? or should the others stay as .html?

  • @burakkeskin9708
    @burakkeskin9708 Рік тому +1

    Thanks a lot

  • @scripturelife89
    @scripturelife89 5 місяців тому

    I've already got a website up and running with html,css. In order to get PHP going do I need to save that website inside on the htdocs folder too?

  • @nishatsulsabil5238
    @nishatsulsabil5238 Рік тому

    ❤❤❤

  • @nayrbsworld3048
    @nayrbsworld3048 3 місяці тому

    What if im using sql server management studio? Can i still use xampp?

  • @garyfox8701
    @garyfox8701 Рік тому +1

    Hi Danni... I am a long time subscriber and huge fan needless to say...
    My question is this... I set up XAMPP on a Mac as per your instructions many years ago and the thing that got me was every time I saved my files in the "root" folder of my website, to check they worked with XAMPP I had to drag all my 'new' files over to the htdocs folder and that is as much trouble as uploading to the server in the first place...
    Can I use the htdocs as my "root" folder in Dreamweaver?

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      I'm not sure how Dreamweaver functions, but it sounds to me that you have complicated things a bit for yourself. 😬 Why don't you just edit the website directly inside the htdocs folder? 🙂 Editing and working on a version outside the htdocs folder, and then dragging it in every time, sounds like a big workaround?

    • @Stoney_Eagle
      @Stoney_Eagle Рік тому +1

      You should be able to open a Dreamweaver project from anywhere, XAMPP also allows you to set your Dreamweaver folder as the root directory, that restricts you in having only one website but should be the best option 😉

    • @garyfox8701
      @garyfox8701 Рік тому +2

      Thank you both for the replies. I'll give htdocs a go as root folder and hopefully increase productivity.
      Appreciated.

  • @riteshchavan8308
    @riteshchavan8308 9 місяців тому

    😊

  • @_john_aaron_
    @_john_aaron_ Рік тому

    can you make a video tutorial for visual studio code because my vsvcode said "no such file directory"

  • @1iglesiaknoelvindhlanpsalm720
    @1iglesiaknoelvindhlanpsalm720 11 місяців тому

    I can't download XAMPP. I clicked on the click here and the download latest version. It just said "File will be ready in 5...4..." then skips to 0 but it doesn't download. I tried using a different browser but the same problem occured.

  • @maximiliankippenberg7517
    @maximiliankippenberg7517 Рік тому

    Hello Dani,
    I have followed every step of your tutorial and when I tried outputting Hello World on the website, just like you did, it didn't work. That was because somehow it wasn't able to understand the (I can tell, because it didn't turn blue like in your video. I also noticed that when doing this thing were you have to copy this path of php.exe and put it in this code, the only line of code that appeared on my screen was the one I had to put the path in (maybe thats normal, idk). Can somebody pls help me?

  • @testarossa..
    @testarossa.. 10 місяців тому

    so first before i take this tutorial should i learn first html ?

    • @Dani_Krossing
      @Dani_Krossing  10 місяців тому

      Yes. It’s not “required”, however most PHP is done alongside HTML, so you will struggle with some parts if you don’t know it.

  • @fredericoamigo
    @fredericoamigo Рік тому

    How do you do this on mac?

  • @asmaa02
    @asmaa02 5 місяців тому

    i tried downloading xampp on my computer but it fails for some reason
    first it was the antivirus, says the website is sus. so I puased it for the website then tried to download it will display a button for downloading but when I click it counts down but will never download, can you please give me a solution for this issue or recommend another local server

  • @EY-pe9mt
    @EY-pe9mt 8 місяців тому

    wait i have a question i cant press run directly i have to always open it from local host? + thank u ive been using online editors for my course but now we have to use the server ..

    • @Dani_Krossing
      @Dani_Krossing  8 місяців тому

      Yes if you wanna see your website from your computer, you need to do it from localhost every time.
      It’s always an awkward and slightly annoying process at the start, but it’s how websites are developed once you start implementing PHP. 🙂

  • @NourSayegh-sj3ly
    @NourSayegh-sj3ly 7 місяців тому

    i fixed that but when i try to write inside the Visual code program and refresh my localhost i didn't see any thing inside it, how i can know what i do wrong?

  • @richardsorreda7131
    @richardsorreda7131 6 місяців тому

    sir when i start running the 2 mySql has error
    12:13:34 pm [mysql] Status change detected: stopped
    12:13:34 pm [mysql] Error: MySQL shutdown unexpectedly.
    12:13:34 pm [mysql] This may be due to a blocked port, missing dependencies,
    12:13:34 pm [mysql] improper privileges, a crash, or a shutdown by another method.
    12:13:34 pm [mysql] Press the Logs button to view error logs and check
    12:13:34 pm [mysql] the Windows Event Viewer for more clues
    12:13:34 pm [mysql] If you need more help, copy and post this
    12:13:34 pm [mysql] entire log window on the forums
    this is the error can you help me this problem sir?

  • @sajithjd
    @sajithjd 7 місяців тому

    holy probs ha ha thanks

  • @MicoleKelein
    @MicoleKelein Рік тому

    I've been searching for a tutorial like this for so long... Your video was extremely helpful, but I found a video in Insta WP which explained it better and helped me a lot...

  • @sankarachipungo
    @sankarachipungo Місяць тому

    My is not installing xampp-control.exe
    Only have xampp-control. Any help, please?

  • @patelsahil5253
    @patelsahil5253 8 місяців тому

    ERROR
    15:04:31 [main] Initializing Control Panel
    15:04:31 [main] Windows Version: Enterprise 64-bit
    15:04:31 [main] XAMPP Version: 8.2.12
    15:04:31 [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
    15:04:31 [main] You are not running with administrator rights! This will work for
    15:04:31 [main] most application stuff but whenever you do something with services
    15:04:31 [main] there will be a security dialogue or things will break! So think
    15:04:31 [main] about running this application with administrator rights!
    15:04:31 [main] XAMPP Installation Directory: "d:\programfiles\xampp\"
    15:04:31 [main] Checking for prerequisites
    15:04:32 [main] All prerequisites found
    15:04:32 [main] Initializing Modules
    15:04:32 [mysql] Problem detected!
    15:04:32 [mysql] Port 3306 in use by "Unable to open process"!
    15:04:32 [mysql] MySQL WILL NOT start without the configured ports free!
    15:04:32 [mysql] You need to uninstall/disable/reconfigure the blocking application
    15:04:32 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
    15:04:32 [main] Starting Check-Timer
    15:04:32 [main] Control Panel Ready
    15:04:54 [Apache] Attempting to start Apache app...
    15:04:55 [Apache] Status change detected: running
    15:04:55 [mysql] Problem detected!
    15:04:55 [mysql] Port 3306 in use by "Unable to open process"!
    15:04:55 [mysql] MySQL WILL NOT start without the configured ports free!
    15:04:55 [mysql] You need to uninstall/disable/reconfigure the blocking application
    15:04:55 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
    15:04:55 [mysql] Attempting to start MySQL app...
    15:04:56 [Apache] Status change detected: stopped
    15:04:56 [Apache] Error: Apache shutdown unexpectedly.
    15:04:56 [Apache] This may be due to a blocked port, missing dependencies,
    15:04:56 [Apache] improper privileges, a crash, or a shutdown by another method.
    15:04:56 [Apache] Press the Logs button to view error logs and check
    15:04:56 [Apache] the Windows Event Viewer for more clues
    15:04:56 [Apache] If you need more help, copy and post this
    15:04:57 [Apache] entire log window on the forums
    15:04:57 [mysql] Status change detected: running
    15:04:57 [mysql] Status change detected: stopped
    15:04:57 [mysql] Error: MySQL shutdown unexpectedly.
    15:04:57 [mysql] This may be due to a blocked port, missing dependencies,
    15:04:57 [mysql] improper privileges, a crash, or a shutdown by another method.
    15:04:57 [mysql] Press the Logs button to view error logs and check
    15:04:57 [mysql] the Windows Event Viewer for more clues
    15:04:57 [mysql] If you need more help, copy and post this
    15:04:57 [mysql] entire log window on the forums
    15:05:42 [Apache] Attempting to start Apache app...
    15:05:42 [Apache] Status change detected: running
    15:05:44 [Apache] Status change detected: stopped
    15:05:44 [Apache] Error: Apache shutdown unexpectedly.
    15:05:44 [Apache] This may be due to a blocked port, missing dependencies,
    15:05:44 [Apache] improper privileges, a crash, or a shutdown by another method.
    15:05:44 [Apache] Press the Logs button to view error logs and check
    15:05:44 [Apache] the Windows Event Viewer for more clues
    15:05:44 [Apache] If you need more help, copy and post this
    15:05:44 [Apache] entire log window on the forums
    15:06:10 [mysql] Problem detected!
    15:06:10 [mysql] Port 3306 in use by "Unable to open process"!
    15:06:10 [mysql] MySQL WILL NOT start without the configured ports free!
    15:06:10 [mysql] You need to uninstall/disable/reconfigure the blocking application
    15:06:10 [mysql] or reconfigure MySQL and the Control Panel to listen on a different port
    15:06:10 [mysql] Attempting to start MySQL app...
    15:06:11 [mysql] Status change detected: running
    15:06:11 [mysql] Status change detected: stopped
    15:06:11 [mysql] Error: MySQL shutdown unexpectedly.
    15:06:11 [mysql] This may be due to a blocked port, missing dependencies,
    15:06:11 [mysql] improper privileges, a crash, or a shutdown by another method.
    15:06:11 [mysql] Press the Logs button to view error logs and check
    15:06:11 [mysql] the Windows Event Viewer for more clues
    15:06:11 [mysql] If you need more help, copy and post this
    15:06:11 [mysql] entire log window on the forums

  • @janren15
    @janren15 10 місяців тому

    When I type localhost, it doesn't display it only says "Forbidden, You don't have permission to access this resource." Please help asap I just want to try and study simple codes. :(

  • @Stoney_Eagle
    @Stoney_Eagle Рік тому

    How do you work with sooo many shortcuts on the Taskbar 😵🤣
    Make a short about converting your html website to php 😉

  • @AksamRafiz
    @AksamRafiz 5 місяців тому

    I dont have php.exe for some reason in my xamp folder...

  • @batnoy779
    @batnoy779 Рік тому

    after install XAMPP on my C drive, I can't connect to mySQL server. How can I fix it?

  • @celestedromgoole1150
    @celestedromgoole1150 11 місяців тому

    What is the Apache and Mysql want start when you try to do this

    • @Dani_Krossing
      @Dani_Krossing  11 місяців тому

      The apache server is needed in order to view your website inside the browser. And the MySQL server is needed in order to access the database system, which we will use later in this course. 🙂

  • @c7ber.17
    @c7ber.17 8 місяців тому

    Can we do same on linux? (Delete all in htdocs and replace with the actual websites we build)

    • @Dani_Krossing
      @Dani_Krossing  8 місяців тому +1

      I’m pretty sure it’s the same. I have newer used Linux, but I can’t imagine this step being any different. 🙂

    • @c7ber.17
      @c7ber.17 8 місяців тому +1

      @Dani_Krossing thank you for the fast reply I couldn't imagine 😄 BTW your tutorials are really useful 💜

  • @bangtanbangtanlove1144
    @bangtanbangtanlove1144 6 місяців тому

    Hi. Can you give us if you know other programming language links. Like java python c#....

    • @Dani_Krossing
      @Dani_Krossing  6 місяців тому

      I have a few C# courses on my channel 🙂 they can be found on my channel page

    • @bangtanbangtanlove1144
      @bangtanbangtanlove1144 6 місяців тому +1

      @@Dani_Krossing thank you I will see☆

  • @ukoni8667
    @ukoni8667 10 місяців тому

    Is XAMPP a server simulator for a local computer. Is not actually a real computer dedicated server right?

  • @valentinbonchev7485
    @valentinbonchev7485 28 днів тому

    Im sorry for the noob question but why do we need to download XAMPP? Cant we just "download php" on visual studio code and be free to do the same thing?

    • @Dani_Krossing
      @Dani_Krossing  28 днів тому +1

      PHP is a "server-side language", so it only runs on a server. Which is different than languages like HTML, CSS, and JavaScript, which are all "client-side languages", and runs directly inside your browser.
      So having PHP installed just on it's own, isn't enough, since it won't actually work if your website isn't running on a server.
      We use tools like XAMPP, in order to very easily run a server, when we are just working on our websites locally on our computer, which allow PHP to work "offline". 🙂
      There are of course MANY other ways to create local servers to get this working, but my preferred method is using XAMPP.

    • @valentinbonchev7485
      @valentinbonchev7485 23 дні тому

      @@Dani_Krossing Thank you!

  • @AdolfZcoder
    @AdolfZcoder Рік тому

    Hi Dani, i followed the tutorial but whenever i start the mysql it stops, please help

  • @daryamansouri412
    @daryamansouri412 Рік тому

    because I have other sql apps the mySQL part of the Xamp does not run for me what should I do about it

    • @trulygifted6301
      @trulygifted6301 11 місяців тому

      You have conflicting ports. My sql is typically already installed as port 80 or 3306 when running local. Apache tries to use the same port which causes conflict

  • @omarhabib8264
    @omarhabib8264 7 місяців тому

    Error: MySQL shutdown unexpectedly.
    7:37:03 PM [mysql] This may be due to a blocked port, missing dependencies,
    7:37:03 PM [mysql] improper privileges, a crash, or a shutdown by another method.
    7:37:03 PM [mysql] Press the Logs button to view error logs and check
    7:37:03 PM [mysql] the Windows Event Viewer for more clues
    7:37:03 PM [mysql] If you need more help, copy and post this
    7:37:03 PM [mysql] entire log window on the forums (everytime i try to start MYSQL this message is sent what should i do and why is it happening?

    • @Dani_Krossing
      @Dani_Krossing  7 місяців тому

      A couple of things could be wrong here. 🙂
      One is that you could be blocking the port that XAMPP uses by default, which is port 3306.
      This can happen if you have another server software installed, which also uses that port by default. For example if you have MySQL (the standalone software) installed on your PC, then it could be causing it.
      Another issue, is if your firewall is blocking XAMPP and MySQL. So if you are using a 3rd party firewall program, then double check it isn't doing that.
      Third, if XAMPP was installed incorrectly (maybe something happened during installation), then you might wanna try re-installing XAMPP.
      Hope you manage to fix it. 🙂

    • @omarhabib8264
      @omarhabib8264 7 місяців тому +1

      @@Dani_Krossing thank you so much it was my SQL and btw youre really great at what you're doing please continue

  • @kylehawks2966
    @kylehawks2966 Рік тому

    Alright I'm just suposed learn php ...thanks anyway

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      You can't learn PHP without a server, so like I mentioned in the video, a server is necessary. 🙂 Unless you wanna just practice typing it without ever outputting any of it inside your website....

  • @DazeyGG
    @DazeyGG Рік тому

    I converted my html files to php because I need the database access, however it did break my website, im not sure where it is going wrong. Still working on a solution to find the issue so I am still watching but let me know if you can if you have a solution.

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      If you have a simple HTML website with the .html extension, and you then convert it to the .php extension, then nothing should break. 🙂 It is extremely common to convert your site in this way.
      The only thing you need to be aware of, is that if you have any links on your website, for example in your header menu, then you need to change the links to match the new .php extensions.
      So instead of:
      It should be:
      If anything else broke, then it wasn't related to changing the extension to PHP.

    • @DazeyGG
      @DazeyGG Рік тому

      @@Dani_Krossing youre right, I was using dreamweaver and PHP gets messed up there, I used visual studio and had no problems. I do have a question about the URL itself, I don't want my website pages saying /home.php or /blog.php how do I remove the extension in the URL?

  • @EmekaDavid-k8d
    @EmekaDavid-k8d Рік тому

    Please mine is showing me, Error: Apache shutdown unexpectedly

  • @NourSayegh-sj3ly
    @NourSayegh-sj3ly 7 місяців тому

    plz when i wrote localhost on Google didn't happen like u so what i can do?

    • @Dani_Krossing
      @Dani_Krossing  7 місяців тому

      You need to write it in the URL, and not on Google 🙂 otherwise it won’t work. Make sure you type out localhost fully, without clicking and suggestions that may dropdown.

  • @LynnNyathikaKiarie
    @LynnNyathikaKiarie Рік тому

    hi,nice video but i have a problem ....when i open localhost it does not open.kindly advice

    • @Dani_Krossing
      @Dani_Krossing  Рік тому

      Mac or Windows? And did you make sure to start the servers, and delete the pre-installed files inside the "htdocs" folder?

    • @lynnkiarie3930
      @lynnkiarie3930 Рік тому

      @@Dani_Krossing windows. I have followed your video to the part where i create a new folder and name it my website. Then in your video you open localhost and shows my website. Mine doesn't show anything..I've tried re installing xampp but still no progress

  • @doggymonty699
    @doggymonty699 Місяць тому

    why don't I have a php.exe file on my xampp php

  • @louwe05
    @louwe05 7 місяців тому

    they really should make it possible on mac that you can open the panel on launchpad, i always do it with no matter what app, but this one is kinda annoying 😕

    • @Dani_Krossing
      @Dani_Krossing  7 місяців тому

      I used to use Mac when I worked as a Multimedia Designer, and ended up swapping to PC after 6 months... There were just too many unnecessary annoyances, like the one you describe. 😕
      Mac works GREAT... as long as you only use things, that Apple decided you should use.
      Best you can do is place XAMPP in your Dock bar at the bottom. 🙂