title: PHP with Oracle Connectivity issue (Wamp 64bit + Windows 7)
body: <p>I am trying to connect PHP 5.6 with Oracle Database on windows machine via WAMP 64 bit server. I have downloaded OCI package from PECL website, put dll in ext folder and enable extension in php.ini file. Previously I got an error  while using the command oci_connect but after I do these settings I got the following error:</p>
  
  <blockquote>
    <p>Warning: oci_connect(): ORA-12541: TNS:no listener
     and here is the code of my test script:</p>
  </blockquote>
  
  <pre><code>error_reporting(E_ALL);
  ini_set('display_errors', 'On'); 
  $username = "hr";                  // Use your username
  $password = "welcome";             // and your password
  $connection_string="localhost/xe";
  $conn=oci_connect($username,$password,$connection_string);
  
  if($conn){
  echo "connected";
  }else{
  echo "not connected";
  }
  </code></pre>
  
  <p>MY question is how can i make a oracle database to use in this connection string?</p>
  
  <p>Thanks</p>