oci8

OCIError on 'require'; permissions issue?

懵懂的女人 提交于 2019-12-11 17:42:58
问题 I've just recently started learning/using Ruby at work. I've got a super-simple test script that just connects to our Oracle 10g database, runs a select, and 'puts' the results to the screen. This is on a Solaris 10 server. If I run the script as the 'apps' user (the system user that runs our automated scripts), the script runs fines. If I run it as myself, it throws an error: oci8lib.c:98:in oci8lib.so: OCI Library Initialization Error (OCIError) from /usr/local/lib/ruby/site_ruby/1.8/oci8

What is wrong with the installation of php oracle client oci8

血红的双手。 提交于 2019-12-11 05:14:08
问题 I tried all the procedures to install the PHP Oracle client. 1) I installed the Client version 8 and 32 bits. 2) I uncommented oci in php.ini 3) Restarted Wamp: 4) Not sure if really installed but I got the references in php.ini: 5) But still cannot connect: Tyhanks for any help EDIT Found these errors in php log: [16-Apr-2018 14:35:03 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_oci8.dll' - %1 is not a valid Win32 application. in Unknown on

Oracle instant client with gem ruby-oci8 not able to connect with DB in rails c

早过忘川 提交于 2019-12-11 04:24:52
问题 I am using Oracle instant client in my project and using ruby-oci8 gem. I am using Mac Mojave OS I am able to run the rails server and server does connect with database but when I run rails c and try to connect with any table it throws following error. Running via Spring preloader in process 95609 Loading development environment (Rails 5.1.1) User.last objc[96849]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called. objc[96849]: +[_

Configuring Oracle OCI8 for windows 64 bit

浪子不回头ぞ 提交于 2019-12-08 04:21:41
问题 I have been facing problems configuring oracle oci8 for windows I'm using windows 7 64 bit, xampp v3.2.2, php 5.6.15 and oracle g11 express I have tried the following steps but I can't find the oci package when running phpinfo: I downloaded both Instant Client Package - Basic and Instant Client Package - ODBC Version 12.1.0.2.0 unzip the files into one file in c to be at the following path ( C:\instantclient_11_2 ) add the path to environment variable (path) for oracle product ( C:

Unable to load dynamic library 'oci8.so' (PHP 7.2)

三世轮回 提交于 2019-12-08 01:52:24
问题 Since the update of PHP 7.1 to PHP 7.2 I can't install oci8. I have this error: root@3ab6027c8d95:/var/www# php -v PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (libmql1.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No

Unable to load dynamic library 'oci8.so' (PHP 7.2)

安稳与你 提交于 2019-12-06 15:48:10
Since the update of PHP 7.1 to PHP 7.2 I can't install oci8. I have this error: root@3ab6027c8d95:/var/www# php -v PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (libmql1.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 7.2.0 (cli) (built: Dec 12 2017 05:52:58) ( NTS )

How does one enable the OCI8 PHP extension, using the Oracle Instant Client, in Ubuntu 18.04 LTS with PHP-FPM and NGINX?

时光毁灭记忆、已成空白 提交于 2019-12-06 03:02:38
问题 I'm using the latest PHP packages available from https://launchpad.net/~ondrej/+archive/ubuntu/php . When I build and install the OCI8 extension, everything appears to be in order, but despite enabling the extension in the PHP-FPM configuration, its presence is not reflected in the output from phpinfo() . The following Gist details the exact process that I'm using to configure, build, and install the OCI8 PHP extension: https://gist.github.com/cbj4074/fa761f60b6f8db431539d76ebfba828e The very

Dealing with eacute and other special characters using Oracle, PHP and Oci8

喜欢而已 提交于 2019-12-06 02:23:44
问题 Hi I am trying to store names into an Oracle database and fetch them back using PHP and oci8. However, if I insert the é directly into the Oracle database and use oci8 to fetch it back I just receive an e Do I have to encode all special characters (including é ) into html entities (ie: é ) before inserting into database ... or am I missing something ? Thx UPDATE: Mar 1 at 18:40 found this function: http://www.php.net/manual/en/function.utf8-decode.php#85034 function charset_decode_utf_8(

How to connect to Oracle in go

自闭症网瘾萝莉.ら 提交于 2019-12-04 17:54:04
问题 I gather there are two ways to connect to Oracle DB in Go (on windows): github.com/tgulacsi/goracle github.com/mattn/go-oci8 But for someone of my level (beginner in open source+golang), those two methods/drivers are awfully tricky. It's also a burden having to go through all of that for deployment, development on different machines etc. (Also assuming it will work). Is there a better way to connect to Oracle db in golang or if there is not then can someone explain to me in high level view or

How do I require a specific version of a ruby gem?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 07:42:36
问题 Specifically, the ruby-oci8 gem. I have both 1.0.7 and 2.0.4 installed. I want 1.0.7. I can just require oci8, but I don't get the version I want. irb(main):001:0> require 'oci8' => true irb(main):002:0> OCI8::VERSION => "2.0.4" I can require using the full path to the file, which works, but is not going to be portable: irb(main):001:0> require 'C:\Ruby\lib\ruby\gems\1.8\gems\ruby-oci8-1.0.7-x86-mswin32-60\lib\oci8' => true irb(main):002:0> OCI8::VERSION => "1.0.7" I can use the gem command