Sacramento, CA

Partly Cloudy 72° | 50°

Seattle, WA

AM Clouds/PM Sun 63° | 48°

Buk Life

Posts Tagged ‘mediatemple’

3 June 2009

Google Apps for mail and using PHP mail()

We use Google Apps for our internal mail.  Not sure why this never came up earlier, but with the server configuration we had, it was not allowing our server generated mail to be sent from PHP’s mail().  BKWLD is hosted by (MT) and their support provided this answer:

1.  Turn mail off for the server from Plesk
2.  Remove domain from your /var/qmail/control/rcpthosts file.
3.  Remove domain from  your /var/qmail/control/virtualdomains file. (This step wasn’t actually needed, but it is necessary if the domain exists in this file).

Hopefully will be of use to someone else, regardless of your host.

Update: Added the link Chris Parsons provided in the comments

3 Robert Reinhard,CTO

June 3rd, 2009 at 10:01 AM
Posted By: Robert Reinhard in Development

30 December 2008

MySQL : import a dump

This is an easy thing but I never took the time to figure it out because I use phpMyAdmin so much. Exporting a database is easy with phpMyAdmin, but importing if it is large can be hard because a lot of times your connection will time out or PHP is restricting how big you can upload or whatever. If you can SSH, this is easier:

mysql -u USER -p DBNAME < dump.sql

If you are on Media Temple’s DV server, like us, you can do this:

my DBNAME < dump.sql

So much easier!

3 Robert Reinhard,CTO

December 30th, 2008 at 12:23 PM
Posted By: Robert Reinhard in General