Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Installing CUBRID PHP Driver using yum (Fedora, CentOS)


To install CUBRID PHP Driver using yum command, we need to tell Yum where to look for CUBRID packages. First, visit one of the following links depending on your OS.

There choose CUBRID version. You will be given a list of links for your particular version. 

CUBRID 8.4.3

Since CUBRID 8.4.3 there are only 2 repositories and you must choose according to your OS and version:

  • For Fedora 15 and above:
    sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.3/cubridrepo-8.4.3-1.fc15.noarch.rpm
  • For Fedora 13/14 and Centos 6.0 and above:
    sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.3/cubridrepo-8.4.3-1.el6.noarch.rpm

CUBRID 8.4.1 and below

For example, the following link is provided for Fedora 17 where fc17 means this OS version. Other versions will have fc16, fc15, etc.

sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.1/cubridrepo-8.4.1-1.fc17.noarch.rpm

Or CentOS example where el6.2 means CentOS version 6.2:

sudo rpm -ivh http://yumrepository.cubrid.org/cubrid_repo_settings/8.4.1/cubridrepo-8.4.1-1.el6.2.noarch.rpm

Executing this command will tell Yum where to look for CUBRID packages.

For older versions of CUBRID replace 8.4.1 with 8.4.0. To find your precise link please visit:

http://www.cubrid.org/yum_repository

Installing CUBRID PHP Driver

After you have installed the cubrid repository, in order to install CUBRID PHP Driver, type the following command.

yum install php-cubrid

Finally, restart your Web server.

service httpd restart
comments powered by Disqus
Page info
viewed 4277 times
translations en
Author
posted 2 years ago by
CUBRID
Contributors
updated 2 years ago by
View revisions
Share this article