Jump to content

HELP windows 8.1 permissions!

jameshumphries47

alright guys, i have a problem with permissions with windows 8.1 because i get this error 

 ! ) Warning: require_once(D:\programs\wamp\www): failed to open stream: Permission denied in D:\programs\wamp\www\index.php on line 20

 

( ! ) Fatal error: require_once(): Failed opening required 'D:/programs/wamp/www/' (include_path='.;C:\php\pear') in D:\programs\wamp\www\index.php on line 20

 

the one line of code that i get the error from is <?php require_once $_SERVER['DOCUMENT_ROOT'] ?> from what i have read it a windows permission error how do i change permission?

 

Check out my current projects: Selling site (Click Here)

If($reply == "for me to see"){

   $action = "Quote me!";

}else{

   $action = "Leave me alone!";

}

Link to comment
Share on other sites

Link to post
Share on other sites

Need more info. Is D your main hdd, a partition of a bigger drive or a seperate drive altogether. Did you reinstall the OS?

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×