title: Apache Chroot - ibase_connect failure
body: <p>Apache 2, running mod_chroot. Can access basic html and php script fine. </p>
  
  <p>This test script works fine using cli php, so I know connection string is fine. </p>
  
  <pre><code>$host = '127.0.0.1:pubdata';
  $password ="*******";
  $username="SYSDBA";
  $dbh = ibase_connect($host, $username, $password);
  .. do query etc
  </code></pre>
  
  <p>However, when I run this under Chrooted Apache, it returns an error message: </p>
  
  <p><code>Warning: ibase_connect(): Can't access lock files' directory /tmp/firebird in /html/app/webroot/test2.php</code></p>
  
  <p>This seems really strange. /tmp/firebird exists and is used by firebird when script by CLI.  </p>
  
  <p>When I compiled the PHP I used --with-interbase=/opt/firebird/ </p>
  
  <p>Hope this makes sense and someone has a thought!</p>