XAMPP Installation and Virtual Host Configuration in MAC OS

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 51

  • @jhan7135
    @jhan7135 2 ปีที่แล้ว

    Thank you so much! I've been searching for days and tried various methods posted on internet and none of it works, at least for me, but yours video and clear instruction are very helpful and it WORKS!

  • @patkun01
    @patkun01 7 ปีที่แล้ว +1

    HELLO! THANK YOU SO MUCH FOR THIS VMIDEO! I’m so stressed of thinking about how to make this thing work, I never knew I had to edit the users under https conf... thank you so much for your video!

  • @bogdangalatanu4197
    @bogdangalatanu4197 4 ปีที่แล้ว

    Thank you! It WORKED! Saved my day!

  • @CarlosMGomez
    @CarlosMGomez 3 ปีที่แล้ว

    Many thanks, very helpful!

  • @allsafeci1527
    @allsafeci1527 5 ปีที่แล้ว

    Thank you @Anish Mandal
    I did it successfully

  • @israelsousa
    @israelsousa 4 ปีที่แล้ว

    You can do a video show how to configure vhost to use https ?

  • @GiuseppeBonfanti
    @GiuseppeBonfanti 7 ปีที่แล้ว

    but where do the two ANISNET and ANISHNAMED folders pop up? When did you create them and what did they contain?

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Those are Webpage files the point i cleare how we can host multiple website for Dev environment

    • @GiuseppeBonfanti
      @GiuseppeBonfanti 7 ปีที่แล้ว

      thank you

    • @amylam4349
      @amylam4349 5 ปีที่แล้ว

      @@AnishMI can you detail this more?

    • @AnishMI
      @AnishMI  5 ปีที่แล้ว

      @@amylam4349 Its simple directory i created on my Desktop and added index.php or plain index.html

  • @johnmwansa4180
    @johnmwansa4180 7 ปีที่แล้ว

    i have a mac too for the localhost can i use the albert localhost wich we used to the windows

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      yes just update host file in mac same as windows

  • @juma6610
    @juma6610 6 ปีที่แล้ว

    I have the problem, that i can make chances in the vim-sudo setting (time 11:01), what did i wrong? Can anybody help me??

    • @AnishMI
      @AnishMI  6 ปีที่แล้ว

      goto that location and open hosts file with any text editor and do changes

  • @russellll
    @russellll 7 ปีที่แล้ว

    I was following step by step but Access forbidden is all I'm getting, even after changing the User to my name and group to admin. Any ideas why? Thanks! Great video though, I am just new to this

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Dear +itsrustyc please repare file permissions using disk utlity and check.

    • @PrashantMane12
      @PrashantMane12 5 ปีที่แล้ว

      @@AnishMI please tell me how to do it i am also facing same problem

    • @PrashantMane12
      @PrashantMane12 5 ปีที่แล้ว

      @@AnishMI i did everything as in video but still i have file permission problem

    • @AnishMI
      @AnishMI  5 ปีที่แล้ว

      @@PrashantMane12 See httpd Users and Group name rights if its proper Please fix file permission from MAC Disk Repai utility

  • @tutturu1
    @tutturu1 7 ปีที่แล้ว

    Anish, when I go to Terminal to add direct local in my host file I have a line missing when I execute the command "localhost added by Apache Friends XAMPP" and I cannot add anything further. Could you please advise?

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      what exact command you type in terminal ?

    • @tutturu1
      @tutturu1 7 ปีที่แล้ว

      I have entered ' sudo vi /etc/hosts ' as per your instructions and after entering my password I got the following :
      ##
      # Host Database
      #
      # localhost is used to configure the loopback interface
      # when the system is booting. Do not change this entry.
      ##
      127.0.0.1 localhost
      255.255.255.255 broadcasthost
      ::1 localhost
      the last line that you have in your video ' 127.0.0.1 myname #added by Apache Friends XAMPP ' was not there...
      I tried to ignore this and followed through all of the rest of the instructions but I assume without this my "Access is forbidden"
      Any idea what I missed?

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Dear Melinda You need to enter manually the Host name pointing to Loopback IP 127.0.0.1 for example You enter "127.0.0.1 melinda.dev" in host file and vhost.conf you added custome folder path exaple you webfolder is on desktop so path will /User/Melinda/Desktop/webfolder so it will allow that folder to access by vhost name melinda.dev also in httpd.conf file you need to change login name from demon and group

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Dear Melinda You need to point hostname to your loopback address for example if you created dev.localhost in vhost file in xampp then you should enter "127.0.0.1 dev.localhost" in hostname then only the system will able to resolve hostname in your local loopback IP.

  • @suryahartono2646
    @suryahartono2646 6 ปีที่แล้ว

    I've done all things in ur video, also I've changed User and Group to my username and group, but when i restarted apache server I got this msg :
    "ERROR: Failed to restart "apache": cannot stop service: AH00543: httpd: bad user name suryahartono"
    Please help 😭

  • @IshiNiallHoran
    @IshiNiallHoran 5 ปีที่แล้ว

    How do you host the xampp server online?

    • @AnishMI
      @AnishMI  5 ปีที่แล้ว

      Not recommended to directly host xampp server online but using portforwarding can be possible. i use VPS server Online and Git to Push dev to production.

  • @mohammedatef3551
    @mohammedatef3551 7 ปีที่แล้ว

    Hi Anish, I downloaded the xampp twice and still gives me error says that "cannot calculate MAC address: Unable to create VM (-85377018)" After I click on start !!

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      What is OS version of your Mac

    • @mohammedatef3551
      @mohammedatef3551 7 ปีที่แล้ว

      10.12.5 (16F73) and my mac is mid 2010 :')

  • @sodiqtijani2217
    @sodiqtijani2217 7 ปีที่แล้ว

    please can you copy the code here so i can just paste it there , i am having issues with my xammp installation on mac

    • @everdavila8009
      @everdavila8009 5 ปีที่แล้ว +3

      # localhost
      ServerName localhost
      DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
      Options Indexes FollowSymLinks Includes execCGI
      AllowOverride All
      Require all granted
      --------------
      for your host
      --------------
      # My custom host
      ServerName mysite.local
      DocumentRoot "/Users/yourusername/path/to/your/site"
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Require all granted
      ErrorLog "logs/mysite.local-error_log"

  • @kimzamora19
    @kimzamora19 7 ปีที่แล้ว

    Hi Anish! I did all the steps but when I tried to open my localhost it always prompt me back to the "Welcome to Xampp" :(

    • @jedllenado
      @jedllenado 7 ปีที่แล้ว

      The same case to mine

    • @m-driver
      @m-driver 6 ปีที่แล้ว

      same problem

  • @diegodecoder1598
    @diegodecoder1598 ปีที่แล้ว

    Thanks very much

  • @ekoponco5790
    @ekoponco5790 7 ปีที่แล้ว

    why my MySql Database is can't to start?

  • @deepalideshmukh
    @deepalideshmukh 7 ปีที่แล้ว

    This works! thanks

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Welcome

  • @barceca1805
    @barceca1805 7 ปีที่แล้ว

    what files do i save in "dev"?

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      its Web container whatever html php or framework file you can save which can access using URL

  • @jamaalgamble3441
    @jamaalgamble3441 7 ปีที่แล้ว

    Thank you very much!!!

  • @miiamoreful
    @miiamoreful 3 ปีที่แล้ว +1

    thanks

  • @lovely.perspective
    @lovely.perspective 7 ปีที่แล้ว +1

    thanks anish!

    • @AnishMI
      @AnishMI  7 ปีที่แล้ว

      Welcome

  • @erisonsales
    @erisonsales 7 ปีที่แล้ว +1

    thanks!