Support / KnowledgeBase

 
Search the KnowledgeBase Search

System Paths

  • Applies to: All Service Types

  • Difficulty: Easy

  • Time needed: 5 minutes

  • Tools needed: None

 

DETAILS:

(mt) Media Temple provides this article as a courtesy to our customers. Although the instructions and information herein have been tested and known to work in most cases, they may not function properly in every case or scenario. As a result, this article is not supported by (mt) Media Temple, and we will not accept responsibility for lost data or outages of any type as a result of this article. For further clarification regarding our Scope of Support please consult our website.

 

(gs) Grid-Service platform

  • Sendmail: /usr/sbin/sendmail
  • Perl: /usr/bin/perl
  • Python: /usr/bin/python
  • php: /usr/bin/php
  • ImageMagick: /usr/bin/convert
  • php.ini: /home/#####/etc/php.ini (Replace ##### with your site number)
More (gs) Grid-Service path information can be found in the AccountCenter.
  1. Login to your AccountCenter
  2. Click on Admin
  3. Click on Server Guide
  4. Click on System Paths

(dv) Dedicated-Virtual platform

Here are some paths to commonly used programs and locations on your (dv) server. Most of them are only available via SSH with root access. Before manipulating any of these files, it is highly suggested that you back up a copy of any file(s) you modify.
  • Perl: /usr/bin/perl
  • Python: /usr/bin/python
  • php: /usr/bin/php
  • php.ini: /etc/php.ini
  • my.cnf: /etc/my.cnf
  • httpd.conf: /etc/httpd/conf/httpd.conf
  • Apache error log: /var/log/httpd/error_log
  • Qmail log: /usr/local/psa/var/log/maillog
  • MySQL error log: /var/log/MySQLd.log
  • Sendmail: /usr/sbin/sendmail *

NOTE:

This is actually a symlink to /var/qmail/bin/sendmail, but will work for CGI scripts that require a sendmail path, such as formmail's formmail.pl.

Document root:
  • /home/httpd/vhosts/mt-example.com/httpdocs [older (dv) 2.0 servers]
  • /var/www/vhosts/mt-example.com/httpdocs [newer (dv) 2.0 and 3.x servers]
Raw access logs:
  • /home/httpd/vhosts/mt-example.com/statistics/logs [older (dv) 2.0 servers]
  • /var/www/vhosts/mt-example.com/statistics/logs [newer (dv) 2.0 and 3.x servers]
User email files:
  • /var/qmail/mailnames/
System messages (shows things like login attempts, restart requests for services etc.):
  • /var/log/messages

(ss) Shared-Server platform

  • Sendmail: /usr/sbin/sendmail
  • Perl: /usr/bin/perl
  • Python: /usr/bin/python
  • ImageMagick: /usr/bin/convert
Document root if not in PHP Power Mode:
  • /home/virtual/var/www/html/
Document root if in Power Mode:
  • /var/www/html/
Global php.ini:
  • /etc/php.ini *

NOTE:

If you want to be able to edit your php.ini, you must be in PHP Power Mode.



Revisions:

07-08-2009: Updated php.ini path.

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue