php_oracle.dll vs php_oci8.dll

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: php_oracle.dll vs php_oci8.dll

Post by seandisanti » Wed Mar 20, 2013 12:45 pm

what kind of errors are you getting? a LOT changed between 5.0 and 5.4 Your best bet if there is not an updated dll would be to get the best documentation you can on the functions in your dll, and create an adapter class based on the errors you're getting. Googling "PHP Adapter design pattern" should get you a couple of quality hits to walk you through getting started. Typically I'm not a fan of adapters as people use them to enable bad maintenance practices, but in a situation where you need the functionality and an updated dll is not available you may not have much choice.

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: php_oracle.dll vs php_oci8.dll

Post by seandisanti » Wed Mar 20, 2013 1:14 pm

yeah, undefined function, assuming that the function is defined in the dll file, means that the contents of the .dll are not being used. I'd make sure to verify your include paths, and maybe even try to explicitly include or require it

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: php_oracle.dll vs php_oci8.dll

Post by seandisanti » Thu Mar 21, 2013 11:31 am


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests