Open Source RDBMS - Seamless, Scalable, Stable and Free

English | Login |Register


0
(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?

링크 댓글 쓰기 (0) 선택된 답변
질문시간 2년 전
eye
91
34 답변들
1

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.

링크 댓글 쓰기 (0)
답변시간 2년 전
hellohuizhang
51




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



Internet Explorer: Mozilla Firefox: Google Chrome: