I'm having a similar issue that reported in #785380: Oracle not displayed as an available database type during installation. The difference being that I'm a) on Ubuntu rather than Windows and b) not getting the errors that user reported.

I'm using the May 03 version of the Oracle module and Drupal 7 alpha4.

On the databases page of the install routine, I get..

Database type *
MySQL
The type of database your Drupal data will be stored in. Your PHP configuration only supports the MySQL database type so it has been automatically selected.

Looking at phpinfo output, I'm seeing oci8 enabled and reporting as expected. I just get no option to select Oracle for my database.

I am using PHP 5.3, but the system requirements link (http://drupal.org/requirements) you referenced in the aforementioned post says 7.x supports PHP 5.3. Is the issue that the Oracle module doesn't support 5.3? I would have expected errors in that case, not no option.

The other thing I notice is that the last post reported that the INSTALL.oracle.txt had instructions for populating the $databases array manually. The one in the version I have just says

cd
/includes/database/
tar xzvf

Am I missing a trick? I'm new to using Oracle with PHP, so if you have suggestions of ways to verify the problem is inside Drupal rather than in the PHP configuration, that'd be a big help.

Comments

barrett’s picture

I've verified that I can connect to Oracle from PHP, so it looks like the issue is between Drupal and Oracle.

aaaristo’s picture

you are using the wrong php extension: oci8... you should use pdo_oci.

barrett’s picture

Status: Active » Fixed

It took a lot of searching and cursing to get PDO_OCI installed but once I got it working everything worked. Thanks

aaaristo’s picture

Status: Fixed » Closed (fixed)

I know actually there is a lack of documentation

c.ciprian’s picture

Priority: Normal » Minor

It would be a good idea to write in the install instructions that pdo-oci is the extension needed, and maybe include a link to http://ubuntuforums.org/showthread.php?t=1207665

oshelot’s picture

I put together a little how to. You can see it here:

http://inode.me/?q=how-drupal-7-oracle-xe-install

Hope it helps!

rohit.bhatnagar’s picture

HEy can you tell me how did you make PDO_OCI install? I am using windows and stuck :(