Installing PHP’s OCI8 Extension on Ubuntu 20.4 - oci8

I don't have a oracle database installed in my system. But i want to connect to the remote system. Do i just need to install oci8 extension library or i need to install both instantclient and the oci8 extension?

OCI8 requires 'Oracle Client libraries'. Since you don't have these, you can install the free Oracle Instant Client. Install the Basic package for your OS. Use the correct 32- or 64-bit package that matches PHP's 32- or 64-bitness. If you are compiling OCI8 from source code, you'll also need the SDK package which has the necessary header files.
The details will depend on your OS and the version of PHP.

Related

Installing OracleXE 21c through Proxy on Windows

I have trouble installing OracleXE on my company PC, when installing it fails because it can't download the file "exectask.exe" and throws an error later saying, the file is missing.
The Problem seems to be, that the installer don't use the Proxy defined in the system variables. When trying to install an older Version (11g) this Problem doesn't occure.
Is there a way to give the oracle installer the Proxy directly?
Sincerly,
MasterSansai

How to install Universal Oracle Installer on Ubuntu?

I can't run Oracle Universal Installer to get tnsping.
I downloaded ouiosp220160.jar.
This jar cannot be launched using java -jar, so I unpacked it as described on Oracle site, but there description for Solaris and Windows, I unpacked it and there is folder for Solaris which contains executable that I can't launch.
I used this article when did installation:
Installing Oracle 11g R2 Express Edition on Ubuntu 64-bit
it was some manual changes in settings that we had to make, so just go step-by-step through the page
one more page
HOWTO install Oracle 11g on Ubuntu Linux 12.04

Error: GTK library is not installed or installed version is not compatible

I'm trying to install the Intel XDK for Linux under CentOS 7.3 (7.3.1611)
But I'm facing a problem witch I'm not able to solve:
Message:
GTK library is not installed or installed version is not compatible
The GTK library is not installed or installed version of the library is not compatible. The graphical user interface of the product requires gtk version 2.20 or higher. Contact your system administrator to install a compliant version of gtk for the INTEL64 architecture or install the product on a compliant system.
In my OS, I've already gtk+ 2.4 installed, but the installer of Intel XDK can't see the package.
I've these packages installed:
yum install gtk*:
Package gtk2-2.24.28-8.el7.x86_64 already installed and latest version
Package gtk2-devel-2.24.28-8.el7.x86_64 already installed and latest version
Package gtk2-devel-docs-2.24.28-8.el7.x86_64 already installed and latest version
Package gtk3-3.14.13-20.el7.x86_64 already installed and latest version
Package gtk3-devel-3.14.13-20.el7.x86_64 already installed and latest version
Is there a way to solve this problem ?

Uninstall postgresql on MacOs Lion Mountain

I'm completely new with MacOS X and I'm not underestanding where my system postgresql 9.1.5 is installed. I want to upgrade to 9.2 but I would like to uninstall this default installation before.
When I type in the terminal
$> psql --version
The result is:
psql (PostgreSQL) 9.1.5
but I can not find this installation.
MacOS X does not come with PostgreSQL installed as a server (unless you have OS X Server Edition).
Only the client-side PostgreSQL commands and the libpq library ship with the system. These include the psql command that resides is /usr/bin along with other commands such as pg_dump, pg_restore, createdb... You don't have to remove them, and if you did, it's not clear anyway what would prevent the next maintenance update of the OS to put them back.
So if you didn't previously install PostgreSQL yourself on this system, going to 9.2 is not an upgrade, it's a fresh install.
There are a number of providers of PostgreSQL packages for Mac OS X: postgres.app, homebrew, fink, macports...
These packages provide both a server and the client tools with the same version than the server, they have distinct installation paths, and they don't overwrite anything in /usr/bin. Once installed, you want to use the commands from the package preferrably to the ones in /usr/bin, which means technically putting them first in your PATH. Each package I've seen comes with a mention on how to do that in its installation instructions.
You don't have to remove the version Apple ships.
I have been using MacPorts to run various custom builds of PostgreSQL on OSX. It takes a little effort to make it "just work" (PATH and PG environment variables) but I never had to remove Apple's copy of Postgres.
I also keep a VM (VirtualBox) of a pretty minimal Debian install with Postgres running. I can do all my testing against the VM with a change of PG variables or JDBC URL. It's not as performant as running on the host but it is really clean for development.

Install ImageMagick for paperclip gem in windows

I followed this guide to use paperclip http://railscasts.com/episodes/134-paperclip?language=en&view=asciicast
it is all ok but note that to enable resizing you’ll need to have ImageMagick installed on your server.
So how should i install ImageMagick ?? i have WINDOWS 8 and on the site http://www.imagemagick.org/ download does not work!!!!
It certainly works - you need to make sure of 2 things:
You install the correct static version for your OS (32-bit vs 64-bit). The 32-bit (x86) will work regardless, the 64-bit (x64) will only work on a 64-bit system. And you need to download the static version - not the -dll version - as Paperclip needs to call the executable directly. (Of course, I'm sure that you knew that downloading the installer file isn't going to install it for you, right? That is, you need to open the file to start the installation...)
You add the bin directory to your environment path. The installer should do this for you, unless you unchecked that option.
UPDATE
Just noticed that the links are broken :) They still point to the older 6.8.5-6 version that have since been moved to legacy. You can get the latest binaries from here.

Resources