Go to Google Groups Home    doctrine-user
Re: pdo oci on linux

pkw <pkwoos...@gmail.com>

Thanks Jonathan,

I got PDO_OCI built by building it myself as part of PHP instead of
from the PECL source, this was based on a suggestion from Wez in one
of the many bug reports.  The other trick needed is to add symbolic
links pointing client=>client64 in include/oracle/11.1.0.1 and lib/
oracle/11.1.0.1.  Now I need to add mysql and pdo_mysql and I'm
done.   I'll see if I can get this working properly today, if not I'll
probably switch to the adapter.

/peter

On Jul 3, 10:12 am, "Jonathan H. Wage" <jonw...@gmail.com> wrote:

> I would use the adapter. Check the doc blocks in the code for more info.

> Sent from my iPhone

> On Jul 3, 2009, at 8:59 AM, pkw <pkwoos...@gmail.com> wrote:

> > Hi,

> > I've been using Doctrine with Symfony 1.2 on Windows successfully
> > after a few patches, when I asked our linux administrator to install
> > PDO_OCI on our linux test machine he ran into a nightmare of
> > configuration problems.  This machine is running a 64 bit Oracle
> > Instant Client, version 11.1 and PHP 5.2.9.  He downloaded
> > PDO_OCI-1.0.  The final problem was a message sayint that 11.1 is and
> > unsupported version and there is a php bughttp://bugs.php.net/bug.php?id=46278
> > on this, but it ends with a rather unhelpful conclusion that its fixed
> > in 5.3 and that the report is a "doc/user" problem.  There are
> > numerous other php bugs on the PDO_OCI install.

> > Is there a better version or are we better off using the adapter?  Is
> > there documentation on using the adapter?  We are not ready to upgrade
> > PHP.

> > Thanks/peter