I'm trying to do a small php project using openserver. I'm new to web development and am having some trouble. All of my files are located in the test.ru folder
D:\OpenServ\OpenServer\domains\test.ru\Log.php is the main file I'm launching.
<?php
chmod ( "D:\OpenServ\OpenServer\domains\test.ru" , 0777 );
if(include 'Lang.en' == 'OK');
echo 'OK';
?>
I receive the following error. Warning: include(D:\OpenServ\OpenServer\domains\test.ru) [function.include]: failed to open stream: Permission denied in D:\OpenServ\OpenServer\domains\test.ru\Log.php on line 61
How do I solve this? I've tried setting the access to public via local controls(right click menu) and launching openserver with admin rights. but it was of no use.
Please advise.