Problems with Denwer

I downloaded files from the server via ftp, for work, via Denver I uploaded everything as expected, I launch it, it gives errors, I check for errors, I stumble upon the same line

($_SERVER["DOCUMENT_ROOT"]."/ / /header.php"( header ));

Help me what to do.

P.S. it looks like the DOCUMENT_ROOTcommand is not recognized at all.


Answer 1, authority 100%

Try XAMPP better (https://www.apachefriends.org/en/index.html). Denver is not worth digging up.


Answer 2

I won’t pry about htaccess yet… First, try this: in the homefolder, create the site.locfolder, in it the wwwfolder strong>and drop all the files of your site here. Be sure to restart Denwer and type http://site.loc

in your browser

Leave a reply

Please enter your comment!
Please enter your name here