Create a folder
testsite.dev in your
~/Sites folder and immediately access it with your browser by using http://testsite.dev, without changing your apache config or adding sitenames to your DNS or
/etc/hosts file. That's what you can do after following the instructions in this post!
When using a VCS(Version Control System) like SVN or GIT to deploy files to your webserver you are generally faced with some troubles with permissions.
If the website/webapplication needs permissions to write files in folders, you cannot easy chown these folders like:
sudo chown -R www-data:www-data content
NOTE : This post was sitting in my drafts for way too long (over 7 months now), so I'll just post it in the hopes someone likes it. There could be rough edges here and there, but hey, that's what the contact page is for... ;)
Because I tend to do some PHP development on my MacBookPro runnin OSX 10.7(Lion) and want to be able to test the email-functionality, without the system actually sending email to people, I was on the lookout for an easy way to accomplish this in such a way, that I would be able to collect all mail and display both text and HTML versions of it. I found MockSMTP, and it works like a charm. In this post we'll set it up and configure the system to route all mail to MockSMTP, even when it's not running.
I love Textmate as an editor period.
There are some things though that I started missing while developing:
In my previous post we installed the latest apache and php from source and now I'd like to install xDebug to it. As stated in the comments on the previous post, I like living on the edge, so I build it myself, instead of using packages like MAMP or XAMMP or using binaries. With that out of the way we can prepare our system for the addition of PHP modules.