Based on this article I was able to setup and configure the Multiple Site Manager on Mediatemple DV 3.0. I’m not going to give a lot of background information about what exactly is going on here because quite frankly I don’t even really know what open_basedir and php safe_mode do in the first place. However, this is what I did to turn them both off to get my MSM installation working on my DV. So without further ado:
To get started follow the Multiple Site Manager’s installation instructions until you reach the Setup Domains and Sub-domains page.
After you have downloaded your index.php and path.php edit your path.php by entering the following
<?php
// ------------------------------------------------------
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
// ------------------------------------------------------
// Path to the directory containing your backend files
$system_path = "/var/www/vhosts/yourdomain.com/httpdocs/system/";
$site_name = "Site_Short_Name";
// ------------------------------------------------------
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
// ------------------------------------------------------
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
$site_404 = "";
$global_vars = array(); // This array must be associative
?>Once you’re finished editing your path.php upload both files to your new domain.
Next you will need to shut off open_basedir and php safe_mode.
You’re going to need root access to your server. Your DV doesn’t have root access enabled by default so your going to need to put in a support ticket and ask to have it turned on.
At this point you will need to log into your server via ssh. You can also log in with your terminal by using the following command.
$ ssh .(JavaScript must be enabled to view this email address)Once you’re logged into your server you’ll need to switch to the conf directory for the domain you wish to install your sites on.
# cd /var/www/vhosts/yourdomain.com/conf/Next you will next you will need create and edit your vhost.conf file for your domain.
# vi vhost.confPress the letter i on your keyboard to insert your text. Enter the following
<Directory "/var/www/vhosts/yourdomain.com/httpdocs">
php_admin_value open_basedir none
php_admin_value safe_mode off
</Directory>When you’re done editing press esc and then at the prompt (:) enter wq and then press return.
Moderator’s note: This means you press, in that order, only those four keys: <ESC>:wq
After exiting vi you’ll need to configure your server to read your new vhost.conf file on start up
# /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=yourdomain.comAnd finally you need to restart your apache web server
# /etc/init.d/httpd restartThat’s it, your server should be configured to run your new site. If you’re going to set up another site with your MSM you will need to following these instructions again for each new domain. Good luck!