How To Setup Laravel On MacOS Xampp

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

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

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

    Hi, my error is that when I view the public folder, I get the following: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database. Regards

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

      You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program

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

      sudo chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/"and your name directory"/

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

      @@kylechristian538 thanks my friends!

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

    Hello! After running the localhost/projectname/public. I'm getting an error saying "UnexpectedValueException" and a ton of stuff written after it, "The stream or file "/Applications/XAMPP/xamppfiles/htdocs/test/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: ............ Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}}"

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

      running with php artisan serve works fine.

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

      same error

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

      same fix it?

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

      You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program

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

      @@alfredolopezmacias1613 You have to give read and write permission to all users in the folders: bootstrap, vendor, database and storage of your program

  • @key-y5v
    @key-y5v 3 месяца назад

    hello, after i did what u did in the video, i can't find the database on localhost -> phpmyadmin , so i can't see the tables for my project, canyou help me to figure it out?

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

    Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". got this error how do you bypass it

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

      It seems like you need to upgrade your PHP. You could try to change the php version inside the "composer.json" file. Another way to fix it if you are working locally is to install the latest php on your PC.

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

      @@JarvisCodes Yes i noticed, tried again then got this The stream or file "/Applications/XAMPP/xamppfiles/htdocs/pro-app/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log

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

      its just a piss take coding with apple, you end up wasting your day setting up than coding, because seriously what the fuck is this

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

      @@ianmacharia1117 Try this:
      sudo chmod -R ugo+rw storage
      This will give you permission to acces the logs

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

    really helpful thank you

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

    Hi I'am getting an error on first step. when I executed the first command, it prompts an error "zsh: command not found: php ". I have XAMPP installed.

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

      Hi, do you have PHP installed on your Computer?

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

      @@JarvisCodes I’m not sure. I have XAMPP installed. I have to install PHP also?

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

      @@yuwenlu8466 Yes, you need to have PHP installed on your Mac

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

      @@JarvisCodes I see. I will try again. Thanks for your reply

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

    for running laravel i have to istall php every time
    please help to get out of this

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

      What type of command you need to type? Have you installed PHP globally?

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

    Hello, where do i download the php?

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

      Hello, you can install PHP on mac using Brew. I would recommend you to watch tutorials on that too.

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

    this isnt helping me, i tried to do what you did on the video, it gives me error

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

      Can you write down your error code.

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

    not useful, no commands found in composer web page.

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

    I’m getting an error

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

      Hello, please can you tell me where you are getting the error. We're happy to help :)

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

    i have an error

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

      Hello, can you please tell me what error you're getting?