Home >Backend Development >PHP Tutorial >Solve the problem of being unable to load php_oci8.dll:_PHP Tutorial

Solve the problem of being unable to load php_oci8.dll:_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 10:59:351323browse

Later, I thought it might be a problem with the system path environment variable setting, so I referred to the path variable value under Winnt with Oracle installed, and found that there was no "%driver%:oracleora81 in;" in the path variable value of W2K (maybe the operating system is different) caused), and oci.dll was found under bin! !
Immediately add this string to the path manually, restart the server, and the problem is solved!
Note: For driver%:oracleora81 in, please change it according to the Oracle installation path
erquan Note: Please first make sure that your php.ini is configured correctly and the WEB service has been restarted, such as
extension_dir=%PHP_Path%extensions
extension=php_oci8.dll

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631870.htmlTechArticle Later I thought it might be a problem with the system path environment variable setting, so I referred to the path variable under Winnt with oracle installed. value, it is found that there is no "%driver%:oracleora81in;" in the path variable value of W2K (...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn