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

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

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

  • @lbs9587
    @lbs9587 Год назад +60

    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 Год назад +16

    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 Год назад +40

    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 Год назад +1

      Worked like a charm! Cheers mate!

    • @DarkenedRay
      @DarkenedRay 7 месяцев назад +1

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

    • @spiderichard
      @spiderichard 6 месяцев назад

      Doing the lords work ♥ thank you so much

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

      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!

  • @ANJ_gaming
    @ANJ_gaming 7 месяцев назад +5

    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

  • @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!

  • @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

  • @sta8hs13
    @sta8hs13 3 месяца назад +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 :))

  • @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 ❤

  • @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.

  • @JonTheJotter
    @JonTheJotter 4 месяца назад +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.

  • @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 😂

  • @dimoik700
    @dimoik700 6 месяцев назад +2

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

  • @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

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

    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!

  • @atlantic_love
    @atlantic_love Год назад +3

    Excellent work, Dani!

  • @akashgola2153
    @akashgola2153 10 месяцев назад +8

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

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

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

  • @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

  • @darylepstein9790
    @darylepstein9790 Год назад +4

    This guy is just awesome. Amazing dynamic teaching and examples

  • @abassataroconteh4262
    @abassataroconteh4262 6 месяцев назад +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

  • @adithyabhat583
    @adithyabhat583 Год назад +2

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

  • @mikialem3727
    @mikialem3727 9 месяцев назад +2

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

  • @legendarypanda1327
    @legendarypanda1327 6 месяцев назад +1

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

  • @itsyoboiarroi
    @itsyoboiarroi Год назад +2

    bro you're the best in explaining fr.

  • @jooo77joo
    @jooo77joo Месяц назад

    after a long month, i did it with this video.... thanks bro....

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

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

  • @sodiyaraymond274
    @sodiyaraymond274 8 месяцев назад +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?

  • @willski_
    @willski_ 10 месяцев назад +1

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

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

    Looking forward to the next videos!

  • @truekili9215
    @truekili9215 6 месяцев назад +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.

    • @EaseforPeace-g5v
      @EaseforPeace-g5v 3 месяца назад

      Same I think the latest version is the problem

    • @Mel-yh9mu
      @Mel-yh9mu 2 месяца назад

      You probably need to change the port number

    • @simphiwedlamini1954
      @simphiwedlamini1954 2 месяца назад

      I would suggest you reinstall it offline disable your WiFi and your antivirus

    • @genosokennethrasheeda.3886
      @genosokennethrasheeda.3886 Месяц назад

      run it as administrator

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

    Best teacher! 🙇

  • @AksamRafiz
    @AksamRafiz 6 месяцев назад +1

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

  • @gaurikshirsagar4698
    @gaurikshirsagar4698 9 месяцев назад +1

    Great mann!!

  • @KomdyIzHere
    @KomdyIzHere 3 месяца назад

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

  • @CheppaBenkesse-z8t
    @CheppaBenkesse-z8t 3 месяца назад

    Beautiful video

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

    I m here for the second lesson 😀

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

    Thanks for Sharing.

  • @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. 😂

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

    bro u really helped me, thanks i love you

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

    is live server extension in vs code the same thing?

  • @joshuamichaelpeterbandas
    @joshuamichaelpeterbandas 7 месяцев назад

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

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

    this makes alot of sense. thanks

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

    Fantastic!

  • @PreetKadam-hj9fi
    @PreetKadam-hj9fi 4 месяца назад

    U are a God brother...arigato

  • @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?

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

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

  • @sarahschwartz4894
    @sarahschwartz4894 2 месяца назад

    Thank you!!!!!

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

    nice

  • @TheADDScratcher
    @TheADDScratcher 10 месяцев назад

    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  10 месяцев назад +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 10 месяцев назад

      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.

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

    awesome

  • @HasanNaeem-h8h
    @HasanNaeem-h8h 4 месяца назад

    plz..make a video about php IMS !

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

    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?

  • @thecandyman9308
    @thecandyman9308 5 дней назад +1

    When I open the "index.php" file in my browser it displays the contents of the file instead of just the "Hello world" string. 🙁

    • @Dani_Krossing
      @Dani_Krossing  5 дней назад +1

      You need to open it properly by typing "localhost" into the browser, after turning on XAMPP :)
      If you just open your website without using the XAMPP server, then the PHP code won't work, since it's a server side language.

    • @thecandyman9308
      @thecandyman9308 5 дней назад +2

      @@Dani_Krossing Hey, now it works! 😃I could have sworn I did that previously but obviously not. Thank you so much for responding so promptly & courteously. On to the next chapter!

  • @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.

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

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

  • @scripturelife89
    @scripturelife89 7 месяцев назад

    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?

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

    thankyou sir

  • @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. 😊
      ruclips.net/video/2Bxh5FNGznQ/видео.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. 😊

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri Год назад

    Thank you

  • @ember5332
    @ember5332 Год назад +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  Год назад +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 Год назад +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!

  • @testarossa..
    @testarossa.. Год назад

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

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

      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.

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

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

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

    like you man

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

    Thanks

  • @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. :)

  • @c7ber.17
    @c7ber.17 9 месяцев назад

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

    • @Dani_Krossing
      @Dani_Krossing  9 месяцев назад +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 9 месяцев назад +1

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

  • @丅-k3r
    @丅-k3r 5 месяцев назад

    yee it worked!

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

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

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

      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. 🙂

  • @1iglesiaknoelvindhlanpsalm720
    @1iglesiaknoelvindhlanpsalm720 Год назад

    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.

  • @asmaa02
    @asmaa02 6 месяцев назад

    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

  • @sankarachipungo
    @sankarachipungo 2 месяца назад

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

  • @EY-pe9mt
    @EY-pe9mt 9 месяцев назад

    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  9 месяцев назад

      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. 🙂

  • @valentinbonchev7485
    @valentinbonchev7485 2 месяца назад

    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  2 месяца назад +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 2 месяца назад

      @@Dani_Krossing Thank you!

  • @NourSayegh-sj3ly
    @NourSayegh-sj3ly 9 месяцев назад

    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?

  • @bangtanbangtanlove1144
    @bangtanbangtanlove1144 7 месяцев назад

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

    • @Dani_Krossing
      @Dani_Krossing  7 месяцев назад

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

    • @bangtanbangtanlove1144
      @bangtanbangtanlove1144 7 месяцев назад +1

      @@Dani_Krossing thank you I will see☆

  • @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...

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

    Thanks a lot

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

    How do you do this on mac?

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

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

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

    best

  • @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 Год назад

      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

  • @richardsorreda7131
    @richardsorreda7131 7 месяцев назад

    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?

  • @NourSayegh-sj3ly
    @NourSayegh-sj3ly 9 месяцев назад

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

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

      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

  • @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?

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

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

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

    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. :(

  • @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?

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

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

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

    i dont understand how to get the front page if you give the name in the folder

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

      7:25

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

    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  9 месяцев назад

      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 9 месяцев назад +1

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

  • @doggymonty699
    @doggymonty699 2 месяца назад

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

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

    ❤❤❤

  • @EmekaDavid-k8d
    @EmekaDavid-k8d Год назад

    Please mine is showing me, Error: Apache shutdown unexpectedly

  • @yashjoshi6229
    @yashjoshi6229 2 месяца назад

    when i am going to server it showing error

  • @Hussein-Damaari
    @Hussein-Damaari 8 месяцев назад

    Sir help me please I have watched this video and my apache doesn't start so, help me please sir😢 how to solve this error help me as soon as insha allah

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

    why i got an error in question mark?