My web server is up and running, the hello world program works fine. But I get 403 error when I try to run a .php file. Nothing in book covers this error and I cant find anything helpful online.
I would guess if the hello.php file is working and yours is not there must be an error in your file. It would be hard to find the problem without you posting your code.
A 403 error seems to be “forbidden”, i.e. that you don’t have permission to access something. Is there an issue with the permission codes for the folder you’ve stored your PHP code in?
Good point @droopsnoot are you running both pieces of code in the same folder @prasmusse
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.