Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
pdo oci on linux
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
pkw  
View profile   Translate to Translated (View Original)
 More options 3 July, 14:59
From: pkw <pkwoos...@gmail.com>
Date: Fri, 3 Jul 2009 06:59:47 -0700 (PDT)
Local: Fri 3 July 2009 14:59
Subject: pdo oci on linux
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 bug http://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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan H. Wage  
View profile   Translate to Translated (View Original)
 More options 3 July, 15:12
From: "Jonathan H. Wage" <jonw...@gmail.com>
Date: Fri, 3 Jul 2009 09:12:21 -0500
Local: Fri 3 July 2009 15:12
Subject: Re: [doctrine-user] pdo oci on linux
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pkw  
View profile   Translate to Translated (View Original)
 More options 3 July, 18:16
From: pkw <pkwoos...@gmail.com>
Date: Fri, 3 Jul 2009 10:16:20 -0700 (PDT)
Local: Fri 3 July 2009 18:16
Subject: Re: pdo oci on linux
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Miloslav Kmeť  
View profile   Translate to Translated (View Original)
 More options 5 July, 19:56
From: Miloslav Kmeť <miloslav.k...@gmail.com>
Date: Sun, 5 Jul 2009 20:56:30 +0200
Local: Sun 5 July 2009 19:56
Subject: Re: [doctrine-user] Re: pdo oci on linux
Can you insert/update clob columns without any workarounds and patches with
your PDOOci? This was/is an issue that prevents me to use the PDOOci with
Doctrine.

I am using OCI8 Adapter without any problems.

~
adrive

Dňa Pi 3. júl 2009 pkw napísal:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcio Carvalho  
View profile   Translate to Translated (View Original)
 More options 6 July, 03:27
From: Marcio Carvalho <marcio...@gmail.com>
Date: Sun, 5 Jul 2009 23:27:59 -0300
Local: Mon 6 July 2009 03:27
Subject: Re: [doctrine-user] Re: pdo oci on linux

Hi friends!

I put a metodo _list() in the class ProductTable

public function _list(){
    return $this->createQuery()
    ->from('Product prod')
    ->execute();

}

And I can return dates like HYDRATE_RECORD

$objProducts = Doctrine::getTable('Product')->_list();

foreach($objProducts as $objProduct){
    echo "<br/>Name: ".$objProduct->prod_name;

}

However, for CategoryTable with the same method

public function _list(){
    return $this->createQuery()
    ->from('Category cat')
    ->execute();

}

I cant return dates like HYDRATE_RECORD

$objCategorys = Doctrine::getTable('Category')->_list();

foreach($objCategories as $objCategory){
    echo "<br/>Name: ".$objCategory->cat_name;

}

I just can return dates of Category using HYDRATE_ARRAY

in BaseProduct exists the hasOne method

in BaseCategory exists the hasMany method

both with right connexions.

Any idea?

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google