title: Accessing specific server choice root directory in phpMyAdmin?
body: <p>I've been provided with signing in credentials into phpMyAdmin by my organisation's admin i.e. a server choice, username and password. I'm working through the following chapter "15- Using PHP to Access MySQL" of <a href="http://www.lynda.com/MySQL-tutorials/PHP-MySQL-Essential-Training/119003-2.html" rel="nofollow">this</a> course and my objective is to utilise the provided credentials to upload the following PHP scripts in order to test the below PHP scripts. The second script is the important script for me as I need to test if I can connect to the database created in the server choice by my admin:</p>
  
  <p>See code below for my helloworld.php script:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html&gt;
   &lt;head&gt;
    &lt;title&gt;PHP Test&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
   &lt;?php echo '&lt;p&gt;Testing 123 ... Hello World&lt;/p&gt;'; ?&gt; 
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>See code below for my databases.php script:</p>
  
  <pre><code>    &lt;?php 
    // 1.Create a database connection
    $dbhost = "mydbhostserver";
    $dbuser = "uname";
    $dbpass = "password";
    $dbname = "dbname";
  
    $connection = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname);
  
    // Test if connection occured
    if(mysqli_connect_errno()) {
      die("Database connection failed: " . 
        mysqli_connect_error() . 
        "(" . mysqli_connect_errno() . ")");
    }
  
  ?&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;title&gt;Connecting to MySQL with PHP&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  
  &lt;?php 
    // 5.Close a database connection
    mysql_close($connection);
  
  ?&gt;
  </code></pre>
  
  <p>In mentioning the above my question/issue is how in phpMyAdmin do I go about accessing the web server's root directory i.e. (DOCUMENT_ROOT) as I understand it from this page to upload my above script (and other scripts)?</p>
  
  <p>Not to sound trivial but is this something I can access using one of the tabbed options in phpMyAdmin i.e. Databases, SQL, status, etc ... or is this</p>
  
  <p>My second issue is how in phpMyAdmin can I be certain that my server is PHP enabled? Once I sign in on the landing page under the summary of bullet points titled web server I can see this "PHP extension: mysqli". Does this indicate the server choice I was assigned to sign into is PHP enabled?</p>
  
  <p>I appreciate any suggestions/pointers.</p>