If you don't know yet how you can obtain the PHP version, we will guide now by presenting a couple of approaches.
Method #1. Obtain the values from "php -info". If you have grep installed, you can simply run:
php -info | grep "PHP Version" php -info | grep "Architecture" php -info | grep "PHP Extension Build"
The first command returns the PHP version (ex. 5.3.6), the second returns the PHP architecture (x86 for 32 bit or x64 for 64 bit) and the last command returns the build type. You should look for TS or NTS and VC6 or VC9 on Windows.
If you do not have grep installed you can output the result into a file using the command:
php -info > phpinfo.txt
Then, just check the phpinfo.txt file created and look for PHP Version, Architecture and PHP Extension Build.
Now that you know the version, architecture and PHP Extension Build, all that remains is to download the CUBRID PHP driver that corresponds to your system and install it using the procedure below:
You will see a php_cubrid.dll file inside the archive on Windows. On Linux it is cubrid.so.
Edit php.ini (C:\Program Files (x86)\PHP\php.ini) and add the following two lines at the end of the php.ini file.