Help!! Web root directory

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Help!! Web root directory

Postby akemzo07 » 14. February 2011 08:09

Hi, anyone know what the web root directory and path is? Installed a script but it don't work:

$web_path = "/opt/lampp/htdocs/"; // INCLUDE TRAILING SLASH /

$web_root = "home/akemzo//opt/lampp/"; // should be in /home/youruser/public/ format

What am i doing wrong here?

Error i get trying to run my script:

Warning: require_once(home/akemzo//opt/lampp/functions/settings.php) [function.require-once]: failed to open stream: No such file or directory in /opt/lampp/htdocs/avs/config/connection.php on line 24

Fatal error: require_once() [function.require]: Failed opening required 'home/akemzo//opt/lampp/functions/settings.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/avs/config/connection.php on line 24
akemzo07
 
Posts: 1
Joined: 14. February 2011 08:04

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 14 guests