title: Fatal error: Call to undefined function ftp_ssl_connect()
body: <p>I am trying to set up FTP SSL connection in PHP.  I have used <code>ftp_connect()</code> fine and works great.  As soon as I try to use <code>ftp_ssl_connect()</code>, I get this error:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function ftp_ssl_connect()</p>
  </blockquote>
  
  <p>I do have openssl extension turned on in PHP extentions.  I am not sure what else there is to do as searching google there is nothing that I can find to do to make this function call work.  Does anyone know when what I am missing or to check to see if something else needs to be installed on my wampserver? </p>
  
  <p>Here is my php code I am using:</p>
  
  <pre><code>$conn_id = ftp_ssl_connect($ftp_server); 
  $ftp_user_name = "username"; 
  $ftp_user_pass = "password"; 
  $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); 
  
  ftp_pasv($conn_id, true); 
  if ((!$conn_id) || (!$login_result)) { 
      echo "FTP connection has failed!"; 
      echo "Attempted to connect to $ftp_server for user $ftp_user_name"; 
      exit; 
  } else { 
      echo "Connected to $ftp_server, for user $ftp_user_name"; 
  }
  </code></pre>
  
  <p>It obviously doesn't get past the first line because of saying that <code>ftp_ssl_connect()</code> is an undefined function.  </p>