如何使用xampp与php连接到oracle 12c

I am currently trying yo connect to oracle 12c, which has been installed on my local machine via php, using a XAMPP server. I am getting an error stating:

fatal error call to undefined function oci_connect() in php xampp

PLS help.

You need to enable the below extension in your php.ini

;extension=php_oci8.dll
;extension=php_oci8_11.g.dll

by removing the ";" so that the results will below:

extension=php_oci8.dll
extension=php_oci8_11.g.dll

restart the server after applying changes