Clone a php website on MAMP

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
rani_149
Forum Newbie
Posts: 6
Joined: Mon Dec 16, 2013 11:51 pm

Clone a php website on MAMP

Post by rani_149 »

HI there

I am a newbie to php. I am trying to clone a php site on a my Mac through MAMP. I have copied all folder under the live public_html and the DB (through myphpadmin). I have placed them under a newly created folder under htdocs. Howvever when I try to see it in the browser through localhost, the webpages appear blank. Am I missing something. Do I need to change some configuration files etc?

I have previously managed wordpress and MAMP and it worked. However am having a tough time understanding the php.

If someone could let me know what I am missing, I would appreciate it a lot !

Thanks
Mayura
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Clone a php website on MAMP

Post by requinix »

Are there any errors? The leading cause of white pages is fatals and parse errors.
rani_149
Forum Newbie
Posts: 6
Joined: Mon Dec 16, 2013 11:51 pm

Re: Clone a php website on MAMP

Post by rani_149 »

I just get the 404 URL not found error.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Clone a php website on MAMP

Post by requinix »

A 404 isn't the same thing as a blank page.

I'm suspecting this thread and this one are the same problem: not putting the file(s) in the right place...
rani_149
Forum Newbie
Posts: 6
Joined: Mon Dec 16, 2013 11:51 pm

Re: Clone a php website on MAMP

Post by rani_149 »

This I am trying to clone a php site on my MAC, do I have to change the _root.php file for the db name and password. I do it in wordpress....but totally new to php.
Post Reply