2 | How to Easily Install Laravel | Laravel for Complete Beginners | Laravel Tutorial

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

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

  • @Dani_Krossing
    @Dani_Krossing  6 месяцев назад +13

    Hi everyone! Yes, this is a re-upload, since a lot of people encountered specific errors in the last video. So I am trying to redeem it, by uploading a "better" tutorial hehe. 🙂 Don't worry! The next tutorial will be up in a bit, within the next 5min or so!

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

      I appreciate the effort you put into updating that! I first found your videos during the pandemic, and now am getting into learning full stack with WAMP. I'm really happy you're still putting out stuff!

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

      Check your spelling on your thumb..." Installation "

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

      Pls am waiting
      Errors in mine

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

      Its not fine that the setup process doesn't show because it automatically sets up as sqllite when I change the env file to say mysql I get error messages on my webpage. Thanks

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

      SQLSTATE[42S02]: Base table or view not found: 1146 Table 'testwebsite.sessions' doesn't exist (Connection: mysql, SQL: select * from `sessions` where `id` = WP6eJLmfXT5RgpjxxxoSReZ6UEinaCKoIhzOMaKm limit 1)

  • @720henrique
    @720henrique 3 месяца назад +4

    seriuosly you are the best professor ever, I literally have been watching thousands of tutorial from other people, and as a total beginner I was not understanding anything until I found you, now everything makes a sense. thank you, god bless you.

  • @shanakaprince3660
    @shanakaprince3660 3 месяца назад +2

    Really thank you for the video. If you guys faced any issue like this "Composer could not find the config file" (This will show in the terminal), try to delete the environment variable that created to the composer, after that project works.

    • @Lioness-ys8fq
      @Lioness-ys8fq 3 месяца назад

      Now I'm having a composer could not found. Can you help me?

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

    Hello Daniel,
    In this tutorial (at 19:17 minutes) you are referring to the Dashboard folder.
    But in another tutorial, in which we installed Xampp, I remember that you recommended to delete that folder.
    So I had to re-install Xampp to get the Dashboard folder back.
    No big deal, just letting you know.
    Bye,
    Ruud (Netherlands)

  • @marleenloohuis2111
    @marleenloohuis2111 4 месяца назад +3

    Error: 'composer' is not recognized as an internal or external command
    What helped for me: add this systemvariable:
    Path
    C:\composer
    Hope this is helpful. Thank you Dani for your videos. I managed to install Laravel!!

  • @catief1031
    @catief1031 4 месяца назад +3

    First off, thanks Dani! Your PHP class tutorial really helped me out and this one's been helping me out as well.
    To hopefully save someone else a possible headache... Here's an error and the solution that worked for me. While creating the project in the terminal, right before it asked about the database it would give me the error:
    Composer could not find the config file: C:\ProgramData\ComposerSetup\bin
    The usual help sites all said remove the Composer variable (same one set up earlier in this video). No luck for me...
    Found the issue in the system variable PATH. It has a bunch of various paths, somehow the path for Composer was added. Once I removed the Composer section from PATH, the Laravel set up steps worked fine.

    • @thadka0448
      @thadka0448 2 месяца назад +1

      Hey, thank you so much for your comment bro my problem has been solved now after an hour of investigating this nefarious problem!!!😭

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

      I typed the composer.phar at the end of C:\ProgramData\ComposerSetup\bin that seemed to fix it somehow. But looking at the other comments here there happens to many ways of fixing it, like selecting composer.bat or setting the path in PHP

  • @JonEllis-mi4mc
    @JonEllis-mi4mc 2 месяца назад +2

    Great tutorial!
    If you run into issues with the DB and it doesn't install for whatever reason you can fix the issue and type "php artisan migrate" from the project folder dir to install it.

  • @naraindarshan5600
    @naraindarshan5600 Месяц назад +10

    If you are getting In JsonFile.php line 381: "c:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON. Parse error on line 1: ..., I managed to rectified the error by completely deleting the Composer path in Edit systems variable. I have no idea why it works but it worked. Basically, do no add a path Environment variables for composer.

    • @peterhan3676
      @peterhan3676 22 дня назад +1

      it's worked. lmao

    • @BushraAlhusaini-c5l
      @BushraAlhusaini-c5l 21 день назад +2

      I got the same error and when I deleted the composer from the systems variables it worked !

    • @naraindarshan5600
      @naraindarshan5600 21 день назад

      @BushraAlhusaini-c5l Hello Bushra! I'm happy that I was helpful to you and others. Now, I would like to raise the alarm on a potential issue you might face if you use XAMPP and Laravel. If you are developing a web application without using any laravel and concurrently you are developing a laravel based web app (both using XAMPP), you might run in an error that will prevent you from interacting with your database. Your MySQL server will stop running. If this happens, you unfortunately have to delete XAMPP entirely. Please watch a youtube video first on how to delete XAMPP properly first. Then after deleting your database, create the same old database. This partially worked for me and if you want to know me (since I wrote a lot), let me know.

    • @JimsRobot
      @JimsRobot 4 дня назад

      Yep, worked for me. Thanks for the heads up buddy, you're a legend.

  • @Abz-u6m
    @Abz-u6m 2 месяца назад

    thanks dani this video realy helped me out today , and for teaching me php and oop, wishing you all the best in your new job, sending lots of love from Kenya

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

    really really thanks for your amazing video i understand how to creat laravel project and work with and if you keep going to creat full course i'll be really thankful 😃

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

    ✨it's not goonna be difficult it's just new things✨

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

    FYI-XAMPP now has several files in the dashboard, in fact when you start running xampp and start the services the dashboard is what loads up (19:31), recommend backing it up first

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

    Hi. first of all id love to thank you for everything youve done. mastered the basics of html, css, php from you. currently learning laravel but sadly cant learn all of it from you since the course isnt finished and im in a rush. Anyway, noticed a problem from your course. Creating an environmental variable for composer gave me problems later on when i tried to create a new laravel project. i had to remove the composer variable again for it to work properly

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

    Differently from installing various NPM JS packages with a plethora of security warnings, It's so satisfying to run "composer require laravel/installer:*" and have "No security vulnerabilities found"...I love the lack of brittleness...btw - that is a work-around any errors received when employing "composer global require laravel/installer"...

  • @omid-plg2616
    @omid-plg2616 6 месяцев назад

    I was exactly in the middle of learning that video witch suddenly disappeared, you shocked me man😂❤

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

      Sorry 😅 hopefully you enjoy this one more

    • @omid-plg2616
      @omid-plg2616 6 месяцев назад +1

      @@Dani_Krossing Really useful, Great thanks.❤️

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

    Great video it was easy to follow but when you began creating a project in Laravel, this just kept popping up "Composer could not find the config file: C:\ProgramData\ComposerSetup\bin" .
    So do you have a way of fixing this?

    • @edmond0291
      @edmond0291 4 месяца назад +2

      my first answer contained a link to a video showing a solution to this problem, so it hasn't been posted yet.
      The solution is to open VS Code file - preferences - settings - User - Extensions - PHP - "Edit in settings.json" and add the path to "php.validate.executablePath": "" like so:
      "php.validate.executablePath": "C:/xampp/php/php.exe"

    • @winlox925
      @winlox925 2 месяца назад +3

      C:\ProgramData\ComposerSetup\bin\composer.bat
      type this to the environment variable instead.
      Don't just type the directory

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

      @@winlox925 this works for me but why he's not getting error like this when he don't include the composer.bat?

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

      @@winlox925 thanks a lot man it worked

    • @DeadEnd-ct6dh
      @DeadEnd-ct6dh Месяц назад

      ​@@winlox925this saved me a ton of time ,thanks

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

    nice, man I need git too to be installed, I made it work!, make sure to type the directory of the project folder in terminal for artisan to work sheesh took me a long time to realize

  • @Oaneis
    @Oaneis 4 месяца назад +2

    During the installation my terminal didn't really asked me for a database so to work around it. If you don't have the env file yet you need to get it not the example one and then edit the database input then run the artisan migrate

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

    thanks yo! a few steps there. question: I started locally with wp, but wondering if i'd have any issues having laravel installed as well. LInux Ubuntu 22.04
    keep em coming.

  • @AjayrajSinghAjajaysingh1-wk1xw
    @AjayrajSinghAjajaysingh1-wk1xw 4 месяца назад

    thanku so much sir for this full explain video

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

    Thanks a lot for this helpful tutorial!

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

    Using windows 11. The path to php in xampp was already set. when I added Composer path to the system variables I got that it was pointing to a directory. I removed the path in system variables for composer only then checked in cmd again for the version and all the information was there.

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

    Thank you so much, I am waiting for the next lesson.

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

    Great video. One question: do you recommend using Docker instead of localy installed services like PHP, MySQL etc?

  • @rashdakhanzada8058
    @rashdakhanzada8058 3 дня назад

    gettting this error "The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable sh
    ould point to a composer.json or be left unset." on cmd when running command on cmd

  • @bimsarajayasena-jr9bd
    @bimsarajayasena-jr9bd 2 месяца назад

    I wasted my Data without knowing that "zip extension". Thank you for the detailed tutorial

  • @rickbeniers667
    @rickbeniers667 6 месяцев назад +3

    After running laravel inside the terminal in the editor(I am using Visual studio 2019) the terminal never asks me to select a database. It does say that it cant find composer however I did set a path for it like you showed. Anybody know why this is? when I open the Public folder in localhost it displays a screen with the tekst ""500 | SERVER ERROR"

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

      I get the same error - if I however delete the composer path in environmental variables, I get the option to select a database. BUT the database in phpMyAdmin doesn't update with data like in the tutorial. I don't know if that's due to the (now) missing composer path. And I now get the "access denied for root@localhost" when i try to open the public folder.
      On stackoverflow they recommended deleting the composer path.

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

      @@MichelleThykjr I was able to go around the problem by creating my own database(which I wanted to do anyway) and just migrate the database tables and columns via the CLI in my own editor.
      But if you want to create the DB while starting your parabel project directly it could well be that the composer path is the problem because I also set up a path for composer in the lower path list and the upper path list which the guy in the video didint realy say anything about.
      So my suggestion is to just create your own database, connect to it and migrate towards it.

  • @DeadEnd-ct6dh
    @DeadEnd-ct6dh Месяц назад

    Select the composer.bat as the environment variable instead of just the directory

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

    After the testing framework question it generated a message "Composer could not find the config file C:\ProgramData\ComposerSetup\bin" which I already added this path to the system enviroment. To resolve the issue is to remove the system variable (Composer). With the help of bing Copilot!...

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

      I had the same problem. could you walk me through the solution

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

      I'm getting the same error, been driving me crazy for 30 minutes. I don't think this worked for me but I am going to try a bunch of things.

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

      I'm having the same problem. Is there a way to resolve it?

    • @kevinezbon2221
      @kevinezbon2221 5 месяцев назад +4

      @@THEGODDARKWOLF remove the composer system variable

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

      @@overseer6943 remove the composer system variable

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

    Finally i found this video , Thans

  • @marleenloohuis2111
    @marleenloohuis2111 4 месяца назад +1

    In order to make laravel run (after 'laravel new firstwebsite' getting through to laravel instead of errormessage) I had to add an environment variable for path: C:\Users\Username\AppData\Roaming\Composer\vendor\bin
    You can declare more than one path.
    Hope this helps someone.

  • @tracer-media
    @tracer-media Месяц назад +1

    In Factory.php line 231:
    The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin
    which is a directory, this variable should point to a composer.json or be lef
    t unset. please assist with this error...

    • @muhammadezraf5556
      @muhammadezraf5556 29 дней назад

      you can delete the environment variable, then restart ur computer, it works for me

  • @elisabeth6390
    @elisabeth6390 2 месяца назад +4

    I get this error "The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset." in the comand window :(

    • @MarshallDTeach-hv3hw
      @MarshallDTeach-hv3hw 2 месяца назад +6

      select the .bat or whatever is in there, dont just put the directory

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

      i also encountered the same problem, does anyone else had figured it out?

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

      @@MarshallDTeach-hv3hw YES! That's it. Thanks.

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

      Hey guys, I tried to selected all the three files in the folder one by one and none of the options worked getting the error -
      "C:\ProgramData\ComposerSetup\bin\composer.phar" does not contain valid JSON
      Parse error on line 1:
      #...
      ^
      Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['

    • @rashdakhanzada8058
      @rashdakhanzada8058 3 дня назад

      @@avinashtripathi3246 same error i am facing

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

    really great work!

  • @asimitkarki
    @asimitkarki 14 дней назад

    The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset. receiving this error message

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

    Thank you so much for your videos. I just watched How to Easily Install Laravel but after typing mysql as the database my application will use, I don't get tables created in my Database. Instead I see this error in the terminal "Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found)..."

  • @IfeyPrecious
    @IfeyPrecious 8 дней назад

    Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
    Now trying to download from source
    In GitDownloader.php line 82:
    git was not found in your PATH, skipping source download

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

    awesome, in htdocs/default i have a lot of maps that where in there afther installing, can i remove all them like what you did before in the htdocs? i have to work on a module web dev and we have to do a laravel project, this tutorial is gonna help me out,

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

      dont remove them. just leave em be

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

    Shouldn't you select MariaDB instead of MySQL during installation? Both your XAMPP and phpMyAdmin say that you are using MariaDB as server type. Just as a side note.
    I'm very happy that you're now addressing Laravel and look forward to following your tutorial series! Thank you for that! 😊

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

      XAMPP and phpMyAdmin uses MySQL by default 🙂 but you can set it up with MariaDB if you want.

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

      @@Dani_Krossing I just thought because at 22:40 you have MariaDB on the right side of phpMyAdmin.

  • @JOSHUACATABAY-di6yq
    @JOSHUACATABAY-di6yq 4 месяца назад

    do you use herd? what is the purpose of using it and do i need it in learning laravel?

  • @dumbpotato6725
    @dumbpotato6725 27 дней назад

    Hi, I don't have the extension=zip inside my php.ini is it ok to add it?
    Thank you

  • @dj_supa
    @dj_supa 6 месяцев назад +5

    If you say LARAWELL one more time I’m going to lose my mind 😂 jk Great video thank you for uploading these tutorial videos. You got a New Subscriber!! 🙌🏼

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

      first you insult then try and be kind, that's not how it works.

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

      whole time I was wondering if I was saying it wrong all this time until I saw this comment lol

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

    My current PHP version is only 7.4.28, the latest Laravel version requires 8.2^ version of PHP. Will it automatically install the version of Laravel suited for my current PHP version?

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

    Amazing tutorial!

  • @cadellvritra7127
    @cadellvritra7127 3 дня назад

    dude it said -The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable sh
    ould point to a composer.json or be left unset.

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

    really helped thanks!

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

    Thanks, man! Great video.

  • @mladenbrocic4936
    @mladenbrocic4936 4 месяца назад +1

    Hi Dani, I have a problem. In the VS code in the terminal after Laravel was installed I didn't get a prompt about which database your application uses (MySQL, MariaDB, and so on), i was asked do I wanted to connect to GitHub, i wrote no and pressed enter and the project was installed, but I don't have a connection to the database. when I press public i get error 500, also in the website folder I only have the env.example file and not .env. I tried to make some changes in that file to connect to the database but it did not work, I got a prompt that I must make a composer JSON file, and after all that I don't know what to do!

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

      same problem here

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

      I had the same issue. According to some suggestions, I removed the Composer (c:/ProgramData/ComposerSetup/Bin) from Evnironmental Variables (as we did in this video in Advanced System Settings), restarted VSCode and then ran the "laravel new projectname". This should fix it.
      After you run this command, it should do the same process, and at the end, you get the database selection. I hope this helps :)

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

    waiting for your laravel series.......

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

    FYI-The new installs with XAMPP and Composer automatically do this for you if you run the install as administrator. 13:15 (Path Variables for the System)

  • @willxchronos3493
    @willxchronos3493 2 месяца назад +1

    Hello sir, sorry but my php.ini file doesn't have extension=zip in it, should I install the extension or what should I do? Is it okay to run the program without that extension?

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

      had the same problem ... turns out my xxamp version was too old and with installing the newest all was good

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

    What editor are you using?

  • @保羅狄拉克
    @保羅狄拉克 6 месяцев назад

    Dani, you are amazing

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

    Why I don't have that option to popup when i created the laravel "Which Datebase your application will use?"

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

      yea same. for me it also says that the Composer path towards the Bin in programdata cannot be found for some reason

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

      @@rickbeniers667 we need to revert this step " COMPOSER environment variable defined and set to C:\ProgramData\ComposerSetup\bin"
      You should unset/delete that env var. after that it's it's working.

  • @JasonBombay-g4t
    @JasonBombay-g4t Месяц назад

    Why mine says locking after I put the composer global require laravel/installer?

  • @SalmanulFaris-zv6qy
    @SalmanulFaris-zv6qy 3 месяца назад

    hi Dani, whenever i use the database of XAMPP which is mysql i can't turn it on. it automatically turning of with error in the XAMPP control panel . with error of port numbers something like that . but i think it's because of data corruption of data in the database . is there anyway to fixit . actually i resolved this problem multiple times but it keeps happening . i like using XAMPP so how to prevent this from happening

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

    if you have xampp running you don;'t need to create the database the terminal does that for you 22:54

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

    ‏‪21:15‬‏
    Here when I choose none it shows this error message
    "the term none is not recognized as the name of a cmdlet in vs code"

  • @ayomdaniel1825
    @ayomdaniel1825 19 дней назад

    I failed to get php.ini. Am just only seeing php.ini development and production so how i solved such problem?

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

    Thanks Dani

  • @زيادالعريقي-ك4ج
    @زيادالعريقي-ك4ج 5 месяцев назад

    Hi Dani I have error in this
    In CurlDownloader.php line 196:
    curl_setopt(): Unable to create temporary file.
    What do I do ?
    Please Help Me

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

    Thank you so much.....

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

    hello sir Dani, I was following your tutorial and once i tried the npm run dev it always result to Missing script "dev", can I ask how to solve this problem please

  • @ARIOPATRICK-in9oj
    @ARIOPATRICK-in9oj 5 месяцев назад

    was a nice tutorial

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

    Why not put all these videos in a playlist and place the link in the description?

  • @AngelRosario-b9n
    @AngelRosario-b9n 4 месяца назад

    whenever i try to install something locally using composer like for example composer require laravel/breeze --dev command I get this error:
    In RequireCommand.php line 155:

    file_put_contents(D:\ComposerSetup): Failed to open stream: Permission denied

    However if I try to do a global command like composer global require laravel/breeze it works fine, sorry for being a noob but how can i fix this? My enviroment variables are set to the bin folder and everything.

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

    thanks so much

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

    Can I also use mamp instead of xampp and does it change anything important about the rest of the process?

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

      You can use MAMP as well. 🙂 the goal is just to have a server running.

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

    thanks for this 😁

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

    your videos are helpfull

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

    Well every thing went fine i got the version but then downloading fails with many messages

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

    bro this is version 8.2 of php how to update or upgrade into version 8.3 or the latest version in xampp ?

  • @john-karoltagboh44
    @john-karoltagboh44 5 месяцев назад +1

    Followed all the steps but getting this error 'composer' is not recognized as an internal or external command,
    operable program or batch file.

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

    Cant run apache says it shuts down unexpectedly every single time I run it. Have sat there for hours trying to troubleshoot using different ports, renaming ServerName to local host. I have tried so many forums and youtube solutions to this apache error and nothing works.

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

      Okay I figured it out. When I installed Xampp i was deleting the PHP folder that comes with XAMPP and then putting in my version of PHP into XAMPP which messed somethings up within XAMPP I guess. To fix it I just reinstalled XAMPP and did not delete the base PHP folder than comes with XAMPP but I still put my, newer, version of PHP in the XAMPP folder since that path was added to my env variables for the PATH.

  • @srikowshika3676
    @srikowshika3676 5 месяцев назад +1

    Sir how to restart the vscode when creating the laravel new firstwebsite.... Sir please tell me... Im exhausted now😢😭

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

      Hloo sirr plz answer me

    • @angelpap5841
      @angelpap5841 10 дней назад

      @@srikowshika3676 unfortunately i have the same problem. Even though i restarted vs code when i typed again "laravel new firstwebsite" it gave me this error message "laravel : The term 'laravel' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." If you found any solution please give me a feedback

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

    After I select "Pest" and Enter I got this error
    Would you like to initialize a Git repository? (yes/no) [no]:
    > no

    In JsonFile.php line 375:
    "C:\ProgramData\ComposerSetup\bin\composer.bat" does not contain valid JSON
    Parse error on line 1:
    @...
    ^
    Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['

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

      same problem here , how did you do?

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

      @@SolCreatives I add the "composer.bat" in the PATH you added instead of "bin" folder..I think.

  • @SergioMoreno-m5z
    @SergioMoreno-m5z 6 месяцев назад

    Thanks!

  • @JulesDieme-ns1cz
    @JulesDieme-ns1cz 6 месяцев назад

    Hi boss , the first time i opened the php.ini folder i didn't find the extension=zip line i added it myself , is it normal not to find it the first time like in the video??

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

      I am experiencing the same thing too

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

      I noticed that I couldn't find the "php.ini" file because the file name extension check button from the view menu was not activated. So it was just reading as "php" file only.

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

    At 21:36 I hit ENTER then at 21:38 you said BUT WAIT! I'm like FUCK ME!!! then you said ITS OK DON'T WORRY. O what a relief LOL

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

    How can i use PostgreSQL as my application database

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

    When I enter `laravel new firstwebsite`, the installation starts automatically without asking me anything. After that, I can't link MySQL, meaning I go to phpMyAdmin, create the database, but it doesn't create the tables. That's where I get stuck in the tutorial and can't move forward haha. Another error that appears during the installation is this:
    ```
    Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0
    ```

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

    If your dashboard folder on XAMPP is not empty, you will receive a COMPOSER error

  • @1stestrellajohnrobina.890
    @1stestrellajohnrobina.890 4 месяца назад

    file_put_contents(C:\ProgramData\ComposerSetup\bin): Failed to open stream: Permission denied

  • @Jelaie
    @Jelaie Месяц назад +2

    13:58 I set the variable name as "Composer" but when I go to cmd and prompt the "composer --version" this is what came out "
    In Factory.php line 231:
    The COMPOSER environment variable is set to C:\ProgramData\ComposerSetup\bin which is a directory, this variable should point to a composer.json or be left unset.
    So I edited the variable name and set it to "Compose" instead, and when I go to cmd and indicate the version for composer, it work.
    edited:
    15:26 another thing is when I start installing laravel through cmd the zip was somewhat the problem so I tried to fix though the "php.ini" file (of what the tutorial said) where I remove the semi colon of the ;extension=zip and save it, then I tried downloading it again in the cmd "composer global require laravel/installer" and it works wonderful.

    • @ziper7874
      @ziper7874 26 дней назад

      THANK YOU!!!

    • @ElysiumLeoSK
      @ElysiumLeoSK 8 дней назад

      This helped tremendously. Thank you.

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

    Am not seeing my composer setups what do i do

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

    it said no composer.json file . Please help me. Im stuck

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

    21:35 - Mine was asked for git because I have it installed, then the rest was the same

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

    love u fstik

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

    I cant find the ProgramData folder

  • @Chrissys._.renovations
    @Chrissys._.renovations 6 месяцев назад

    hey im this error message after typing this into comand prompt
    composer global require laravel/installer
    Changed current directory to C:/Users/HeartCoding/AppData/Roaming/Composer
    ./composer.json has been created
    Running composer update laravel/installer
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 30 installs, 0 updates, 0 removals
    - Locking carbonphp/carbon-doctrine-types (3.2.0)
    - Locking doctrine/inflector (2.0.10)
    - Locking illuminate/collections (v11.7.0)
    - Locking illuminate/conditionable (v11.7.0)
    - Locking illuminate/contracts (v11.7.0)
    - Locking illuminate/filesystem (v11.7.0)
    - Locking illuminate/macroable (v11.7.0)
    - Locking illuminate/support (v11.7.0)
    - Locking laravel/installer (v5.8.0)
    - Locking laravel/prompts (v0.1.21)
    - Locking nesbot/carbon (3.3.1)
    - Locking psr/clock (1.0.0)
    - Locking psr/container (2.0.2)
    - Locking psr/simple-cache (3.0.0)
    - Locking symfony/clock (v7.0.7)
    - Locking symfony/console (v7.0.7)
    - Locking symfony/deprecation-contracts (v3.5.0)
    - Locking symfony/finder (v7.0.7)
    - Locking symfony/polyfill-ctype (v1.29.0)
    - Locking symfony/polyfill-intl-grapheme (v1.29.0)
    - Locking symfony/polyfill-intl-normalizer (v1.29.0)
    - Locking symfony/polyfill-mbstring (v1.29.0)
    - Locking symfony/polyfill-php80 (v1.29.0)
    - Locking symfony/polyfill-php83 (v1.29.0)
    - Locking symfony/process (v7.0.7)
    - Locking symfony/service-contracts (v3.5.0)
    - Locking symfony/string (v7.0.7)
    - Locking symfony/translation (v7.0.7)
    - Locking symfony/translation-contracts (v3.5.0)
    - Locking voku/portable-ascii (2.0.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 30 installs, 0 updates, 0 removals
    Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
    Now trying to download from source
    In GitDownloader.php line 82:
    git was not found in your PATH, skipping source download
    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [...]

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

      It says you need to enable the zip extension, which means you skipped the part of the video, where we went over the php.ini file 🙂 make sure you have the zip extension uncommented

  • @M.Code03
    @M.Code03 4 месяца назад

    am having an error message installing composer

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

    hi every one?
    HELP ME how to install Laravel 11 in macbook m1?

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

    cristal clear

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

    huhu I get a lot of Failed to Download huhuhu

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

    What about Linux users :)

  • @faisal.fs1
    @faisal.fs1 14 дней назад

    Or simply install & use Laravel Herd 🤷‍♂

  • @LionHeart-wx6ky
    @LionHeart-wx6ky 6 месяцев назад

    why everything in the courses are for beginners and that's it, and not going to what is beyond the basics to improve the students step by step

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

      I guess that's what you have to figure out all by yourself..
      As far as I can say, this man is really a good teacher... and he is doing all this for free.
      Respect that and if you want to evolve there are plenty of free and paid resources out there.. look it up and stop complaining.

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

    Please do this again on Linux.

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

    laralwel?

  • @nothingtosee97-s3c
    @nothingtosee97-s3c 2 месяца назад

    larawel🤓🤓🤓🤓🤓🤓🤓🤓