美好的一天.
我在php5上有网站.
所有查询都使用sqlsrv执行;
当我进行查询时,我得到错误:
[Microsoft][SQL Server Native Client 11.0]Shared Memory Provider: Timeout error [258]
如何修复错误?
最佳答案 >此错误可能是由于连接速度非常慢或SQL查询需要很长时间.
>这不是SQL Server问题.
>尝试在PHP中的connectionString中扩展超时值.
You need to change some setting in your php.ini : upload_max_filesize
= 2M ;or whatever size you wantmax_execution_time = 60 ; also, higher if you must
Were your PHP.ini is depends on your enviroment