Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

(click on this box to dismiss)

Do CUBRID PHP and PDO APIs require any dependent library?

I can see CUBRID PHP and PDO drivers are available through PECL packaging system. Can I directly install them? Or are they dependent on any external library, perhaps CUBRID's?

link comment (0) accepted answer
asked 5 years ago
34 Answers

When installing CUBRID PHP/PDO Driver through PECL, the installation requires CUBRID CCI library.

The CCI library is installed automatically into $CUBRID/lib directory and its header file into $CUBRID/include when you install CUBRID.

If you have set the environment variable $CUBRID, when installing CUBRID PHP or PDO using PECL, PECL will automatically validate the CCI library and its header file. If not, you must input the installation path of CUBRID manually when PECL is configuring the project.

If you install the CUBRID PHP or PDO on Linux, be sure that path "$CUBRID/lib" is added into environment variable $LD_LIBRARY_PATH. (It contains a colon-separated list of directories that the dynamic linker should search for shared objects when building a process image after exec, before searching in any other directories.)

Additionally, PHP interpreter itself should be installed on you system before you install PHP or PDO too.

link comment (0)
answered 5 years ago

You are either using a very old browser or a browser that is not supported.
In order to browse you need to have one of the following browsers:

Internet Explorer: Mozilla Firefox: Google Chrome: