Make a directory somewhere on your drive, say its
/user/me/projects/site. Download and unzip cakephp and put its contents in
that folder site.
open MAMP/conf/apache/httpd.conf
add a virtual host at the bottom
<VirtualHost *>
DocumentRoot "*/user/me/projects/site/app/webroot*"
ServerName *mysite.local*
RewriteEngine on
<Directory "*/user/me/projects/site/*">
AllowOverride All
Order deny,allow
Allow from All
</Directory>
</VirtualHost>
Open a terminal and edit host file
sudo vi /etc/hosts
add the line
*127.0.0.1 * *mysite.local*
Restart MAMP. You should be able to open a browser and go to
*http://mysite.local
*and use that as a working directory. From there go through the
instructions if there are errors, you will most likely have to add
.htaccess files. I also highly recommend get a git account somewhere and
commit your files to git.
On Wednesday, October 3, 2012 5:07:03 AM UTC-4, Neil Berrow wrote:
>
> Hi
>
> I've searched and searched but all I can find is how to install a Cake
> environment from scratch locally on a mac.
>
> I have an existing site which my developer built for me months ago, I'm no
> Cakephp programmer but I have basic php skills.
>
> Can anyone suggest where I can get info from or if they've been in the
> same boat?
>
> Any help will be much appreciated!
>
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.