2014-04-19

Im not too familiar with PHP so I figured I would ask here. Im using the latest download of XAMPP. I thought it might be file permissions but nothing changes when I mess with them. Running XAMPP on Windows 7.

These are the errors I am getting:

Warning: require_once(): open_basedir restriction in effect. File(C:\xampp\htdocs\SOS\include\config.php) is not within the allowed path(s): (.) in C:\xampp\htdocs\SOS\src\login.php on line 25

Warning: require_once(C:\xampp\htdocs\SOS\include\config.php): failed to open stream: Operation not permitted in C:\xampp\htdocs\SOS\src\login.php on line 25

Fatal error: require_once(): Failed opening required '../include/config.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\SOS\src\login.php on line 25

Show more