I need to change/rearrange a website built by a developer I don't have contacts to, but I'm having a problem with setting up the local test server.
I've downloaded all of the website's "public_html" files through FTP and they appears as below. (numbers indicate which level they're located in)
0.public_html
1.resources
2.subfolder
3.index.blade.php (includes content for index page)
3.template.blade.php (includes contents i.e. for index)
2.public
3.index.php (loads laravel php framework, no other code included)
When I open the page source code of the index page (through chrome), it reads contents from index.blade.php, template.blade.php, and other php files into one html document.
I'm using MAMP on mac, and when I set the document root to "public" where index.php is located I get an error message:
This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500
When I set the document root to "public_html" I get an index of folders in "public_html", including "public" and "resources"
How do you set up a localhost for a website like this (index.php loading multiple php files from folders outside of "public" folder)? Is it possible?
ps: Hope I made sense, if not I can clarify. I've worked with html/css/js and wordpress sites but am a complete noob with php. Any help would be much appreciated. Thanks in advance!