My first php page doesn't open in localhost

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

My first php page doesn't open in localhost

Postby slxfb » 03. March 2018 22:57

Hi,
I have just installed XAMPP-VM 7.2.2 in my MacBook. Everything was easy and seem to work fine.
I have just made my first php page and when I try to open it with the browser the following error comes up:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/myapp/hello.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0

The page is in file hello.php, in folder myapp
URL: localhost:8080/myapp/hello.php

Does anybody know why this happens?

Thanks!
slxfb
 
Posts: 1
Joined: 03. March 2018 17:48
XAMPP version: XAMPP VM 7.2.2-0
Operating System: macOs High Sierra 10.13.3

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 15 guests

cron