Home  >  Article  >  Backend Development  >  sqlserver - xampp cannot find the php5.ini file, how to solve it?

sqlserver - xampp cannot find the php5.ini file, how to solve it?

WBOY
WBOYOriginal
2016-12-05 13:44:051319browse

1. Add two extension files connected to sqlserver in xampp's ext, php_sqlsrv_56_ts.dll and php_sqlsrv_56_nts.dll, and then add two sentences in the php.ini file, as shown in the figure

sqlserver - xampp cannot find the php5.ini file, how to solve it?

2.xampp will report an error, as shown in the picture

sqlserver - xampp cannot find the php5.ini file, how to solve it?

3. How should I solve this problem. Thanks in advance.

Reply content:

1. Add two extension files connected to sqlserver in xampp's ext, php_sqlsrv_56_ts.dll and php_sqlsrv_56_nts.dll, and then add two sentences in the php.ini file, as shown in the figure

sqlserver - xampp cannot find the php5.ini file, how to solve it?

2.xampp will report an error, as shown in the picture

sqlserver - xampp cannot find the php5.ini file, how to solve it?

3. How should I solve this problem. Thanks in advance.

The problem is because the sql server extension file I added in the PHP extension is not thread-safe and the added file is incorrect.

sqlserver - xampp cannot find the php5.ini file, how to solve it?

The configuration file added in my question is incorrect, which leads to this problem

After searching online, the php5.dll file is missing. You can download the php5.dll file and put it in the corresponding directory.

php5.dll file download

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