sqlserver-2012 - thinkphp is extremely slow to connect to sqlserver

WBOY
Release: 2016-07-06 13:51:36
Original
1319 people have browsed it

Does anyone know why it is so slow to connect to sqlserver using thinkphp? The configuration is successful. I wrote a method to get the data, but it is very slow and the web page keeps spinning. What's going on?

Reply content:

Does anyone know why it is so slow to connect to sqlserver using thinkphp? The configuration is successful. I wrote a method to get the data, but it is very slow and the web page keeps spinning. What's going on?

Supplement: The version is thinkphp3.2.3. It is very slow to connect to sqlserver using the configuration that comes with tp. However, if you write a separate file and use pdo to connect, it will be no problem. Isn’t tp3.2.3 also connected to pdo? What caused it? Does anyone know?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template