Hi I wish to store my php project folder out side apache folder. How do i do this?

I transformed my DocumentRoot "C:/sbnproj" such as this.

next I produced one folder named mytest.php and write




This code on that. However when I attempt to gain access to http://localhost/

is working however when I type http://localhost/mytest.php isn't working. it shows


You do not have permission to gain access to /mytest.php about this server.

Why this happening help me. Thanks

You'll need a trailing forward slash.


Also, look at your pathways... in case your obtaining the root page it's working, make certain C:/sbnproj/foldername/ is available.