Versions available for this page: CUBRID 8.4.3 | CUBRID 9.0.0 |
If PECL package has bee installed on your system, the installation of CUBRID PDO driver is straightforward. PECL will download and compile the driver for you. If you do not have PECL installed, follow the instructions at http://www.cubrid.org/wiki_apis/entry/installing-cubrid-php-driver-using-pecl to get it installed.
sudo pecl install pdo_cubrid
If you need earlier versions of the driver, you can install exact versions as follows:
sudo pecl install pdo_cubrid-8.3.1.0003
During the installation, you will be prompted to enter CUBRID base install dir autodetect :. Just to make sure your installation goes smootyly, enter the full path to the directory where you have CUBRID installed. For example, if CUBRID has been installed at /home/cubridtest/CUBRID, then enter /home/cubridtest/CUBRID.
First, download CUBRID PHP/PDO driver of which versions match the versions of your operating system and PHP installed at http://www.cubrid.org/?mid=downloads&item=php_driver&os=windows&ostype=any&php=any&driver_type=pdo.
After you download the driver, you will see the php_cubrid.dll file for CUBRID PHP driver or the php_pdo_cubrid.dll file for CUBRID PDO driver. Follow the steps below to install it.
For CUBRID PHP driver, add command lines below.
extension = php_cubrid.dll
Note To get the latest information about PDO driver, click http://www.cubrid.org/wiki_apis/entry/cubrid-pdo-driver.