In this post we will learn how to connect oracle database using PHP Yii framework. Following steps we need to follow to accomplish this Enable php_oci8.dll extension Restart the apache server Add connection string DB username DB Password Adding charset(optional) At first we need to enable php_oci8.dll extension. This extension is used to connect our application to Oracle Database. We