#41676 [Opn]: PDO Startup Error

From: Date: Thu, 28 Jun 2007 13:16:04 +0000
Subject: #41676 [Opn]: PDO Startup Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114409@lists.php.net to get a copy of this message
ID: 41676 Updated by: jmertic@php.net Reported By: alison dot holloway at oracle dot com Status: Open Bug Type: Unknown/Other Function Operating System: Windows XP SP2 PHP Version: 5.2.3 Assigned To: jmertic New Comment: Checked into CVS the change for the textual description in the installer for pdo_oci8 and pdo_oci as described below. The Wix UI doesn't have a good way to make features mutually exclusive, so I've put notes in the right pane when selecting the extension to pick the right one. Previous Comments: ------------------------------------------------------------------------ [2007-06-28 04:44:58] alison dot holloway at oracle dot com My suggestion is to change the installer so that the following occurs. Under PDO extensions, have two options for the Oracle PDO drivers: 1. Oracle8i/Oracle9i Client This installs php_pdo_oci8.dll 2. Oracle10g Client and above This installs php_pdo_oci.dll The PDO library is based on the Oracle Client, not the Oracle Database, so I think it's important to state that in the install notes in the right hand pane when selecting the option. Each option should be mutually exclusive. So you can't install both. This will cause problems. The current two installs seem to do the same thing, install the php_pdo_oci8.dll and php_pdo_oci.dll files. It doesn't make sense. As for the errors that are currently happening, I haven't done any further investigation, but I'd suggest getting the install right now, then fixing the dll loading issues. ------------------------------------------------------------------------ [2007-06-26 11:09:44] tony2001@php.net So what do you propose, Alison? ------------------------------------------------------------------------ [2007-06-26 01:50:12] alison dot holloway at oracle dot com On Windows platforms, the php_pdo_oci8.dll library was built against the Oracle8i and 9i library. php_pdo_oci.dll was built against the Oracle 10g library. So, php_pdo_oci8.dll may be used with Oracle 8i or 9i clients, and php_pdo_oci.dll should be used to connect to Oracle 10g clients. If both libraries are installed, this would likely cause problems connecting to Oracle. ------------------------------------------------------------------------ [2007-06-25 18:56:38] tony2001@php.net Edin, what is php_pdo_oci8.dll and why do we have two dlls for PDO_OCI? ------------------------------------------------------------------------ [2007-06-13 07:10:15] alison dot holloway at oracle dot com Of course, I meant "Install PHP 5.2.3" as the first line to reproduce this. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41676 -- Edit this bug report at http://bugs.php.net/?id=41676&edit=1

« previous php.bugs (#114409) next »