File from PC can not be opened in htdocs(in Mac)

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

File from PC can not be opened in htdocs(in Mac)

Postby luthfifr07 » 10. August 2016 18:05

Hi, I am not a new user of XAMPP, but I just migrated from PC to Mac and I get a little problem. I can not open my files(php, html, etc) that I copy from my PC on my Mac. When I test my XAMPP on Mac by creating a new php file on my Mac, it open right away after I type in the directory in the address bar. :roll: :?:
Is there anyone who can help me out here?
Thank you. :D
luthfifr07
 
Posts: 1
Joined: 10. August 2016 17:53
XAMPP version: 5.6.23
Operating System: Mac OS X

Re: File from PC can not be opened in htdocs(in Mac)

Postby Nobbie » 10. August 2016 21:49

You have to open PHP/HTML via Browser and via localhost, exactly the same as under Windows. Do not open directly in explorer address bar.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 22 guests