1. go http://pecl.php.net/package/oci8 PHP official extension library download extensions
http://pecl.php.net/package/oci8/2.0.8/windows
View phpinfo () to know which version to download extensions
2. Edit the php.ini file extensions introduced oci8
3. Download the corresponding version of the oracle client, and put c disk directory, the path into the environment variable, restart the computer
http://www.oracle.com/technetwork/topics/winsoft-085727.html
First, I have a 64-bit, but my php is 32, so easy to install 32-bit oracle client, and then oci extension php also be 32-bit.
4. Check phpinfo