PHP访问SQL Server驱动对应关系
引用地址:
https://docs.microsoft.com/en-us/sql/connect/php/system-requirements-for-the-php-sql-driver?view=sql-server-2017
System Requirements for the Microsoft Drivers for PHP for SQL Server
In this article
This document lists the components that must be installed on your system to access data in a SQL Server or Azure SQL Database using the Microsoft Drivers for PHP for SQL Server.
Versions 3.1 and later of the Microsoft PHP Drivers for SQL Server are officially supported. For full details on support lifecycles and requirements including earlier versions of the PHP drivers, see the support matrix.
PHP
For information about how to download and install the latest stable PHP binaries, see the PHP web site. The Microsoft Drivers for PHP for SQL Server require the following versions of PHP:
| PHP for SQL Server driver version → ↓ PHP version |
5.6 | 5.3 | 5.2 | 4.3 | 4.0 | 3.2 | 3.1 |
|---|---|---|---|---|---|---|---|
| 7.3 | 7.3.0+ | ||||||
| 7.2 | 7.2+1 | 7.2+1 | 7.2+1 | ||||
| 7.1 | 7.1.0+ | 7.1.0+ | 7.1.0+ | 7.1.0+ | |||
| 7.0 | 7.0.0+ | 7.0.0+ | 7.0.0+ | 7.0.0+ | |||
| 5.6 | 5.6.4+ | ||||||
| 5.5 | 5.5.16+ | 5.5.16+ | |||||
| 5.4 | 5.4.32 | 5.4.32 |
- Versions 7.2.1 and later are supported on Windows, while versions 7.2.0 and later are supported on Linux and macOS.
A version of the driver file must be in your PHP extension directory. See Driver Versions for information about the different driver files. To download the drivers, see Download the Microsoft Drivers for PHP for SQL Server. For information on configuring the driver for the PHP, see Loading the Microsoft Drivers for PHP for SQL Server.
A Web server is required. Your Web server must be configured to run PHP. For information about hosting PHP applications with IIS, see the tutorial on PHP's web site.
The Microsoft Drivers for PHP for SQL Server has been tested using IIS 10 with FastCGI.
Note
Microsoft provides support only for IIS.
ODBC Driver
The correct version of the Microsoft ODBC Driver for SQL Server is required on the computer on which PHP is running. You can download all supported versions of the driver for supported platforms on this page.
If you are downloading the Windows version of the driver on a 64-bit version of Windows, the ODBC 64-bit installer installs both 32-bit and 64-bit ODBC drivers. If you use a 32-bit version of Windows, use the ODBC x86 installer. On non-Windows platforms, only 64-bit versions of the driver are available.
| PHP for SQL Server driver version → ↓ ODBC Driver version |
5.6 | 5.3 | 5.2 | 4.3 | 4.0 | 3.2 | 3.1 |
|---|---|---|---|---|---|---|---|
| ODBC Driver 17+ | Y | Y | Y | ||||
| ODBC Driver 13.1 | Y | Y | Y | Y | Y | ||
| ODBC Driver 13 | Y | ||||||
| ODBC Driver 11 | Y | Y | Y | Y | Y | Y | Y |
If you are using the SQLSRV driver, sqlsrv_client_info returns information about which version of SQL Server Microsoft ODBC Driver for SQL Server is being used by the Microsoft Drivers for PHP for SQL Server. If you are using the PDO_SQLSRV driver, you can use PDO::getAttribute to discover the version.
SQL Server
Azure SQL Databases are supported. For information, see Connecting to Microsoft Azure SQL Database.
| PHP for SQL Server driver version → ↓ SQL Server version |
5.6 | 5.3 | 5.2 | 4.3 | 4.0 | 3.2 | 3.1 |
|---|---|---|---|---|---|---|---|
| Azure SQL Database | Y | Y | Y | Y | |||
| Azure SQL Managed Instance | Y | Y | Y | Y | |||
| Azure SQL Data Warehouse | Y | Y | Y | Y | |||
| SQL Server 2017 | Y | Y | Y | Y | |||
| SQL Server 2016 | Y | Y | Y | Y | Y | ||
| SQL Server 2014 | Y | Y | Y | Y | Y | Y | Y |
| SQL Server 2012 | Y | Y | Y | Y | Y | Y | Y |
| SQL Server 2008 R2 | Y | Y | Y | Y | Y | Y | Y |
| SQL Server 2008 | Y | Y | Y |
Operating Systems
Supported operating systems for each version of the driver are as follows:
| PHP for SQL Server driver version → ↓ Operating system |
5.6 | 5.3 | 5.2 | 4.3 | 4.0 | 3.2 | 3.1 |
|---|---|---|---|---|---|---|---|
| Windows Server 2016 | Y | Y | Y | Y | |||
| Windows Server 2012 R2 | Y | Y | Y | Y | Y | Y | Y |
| Windows Server 2012 | Y | Y | Y | Y | Y | Y | Y |
| Windows Server 2008 R2 SP1 | Y | Y | Y | ||||
| Windows Server 2008 SP2 | Y | Y | Y | ||||
| Windows 10 | Y | Y | Y | Y | Y | ||
| Windows 8.1 | Y | Y | Y | Y | Y | Y | Y |
| Windows 8 | Y | Y | Y | Y | |||
| Windows 7 SP1 | Y | Y | Y | ||||
| Windows Vista SP2 | Y | Y | Y | ||||
| Ubuntu 18.10 (64-bit) | Y | ||||||
| Ubuntu 18.04 (64-bit) | Y | Y | |||||
| Ubuntu 17.10 (64-bit) | Y | Y | |||||
| Ubuntu 16.04 (64-bit) | Y | Y | Y | Y | Y | ||
| Ubuntu 15.10 (64-bit) | Y | ||||||
| Ubuntu 15.04 (64-bit) | Y | ||||||
| Debian 9 (64-bit) | Y | Y | Y | ||||
| Debian 8 (64-bit) | Y | Y | Y | Y | |||
| Red Hat Enterprise Linux 7 (64-bit) | Y | Y | Y | Y | Y | ||
| Suse Enterprise Linux 15 (64-bit) | Y | ||||||
| Suse Enterprise Linux 12 (64-bit) | Y | Y | Y | ||||
| macOS Mojave (64-bit) | Y | ||||||
| macOS High Sierra (64-bit) | Y | Y | |||||
| macOS Sierra (64-bit) | Y | Y | Y | Y | |||
| macOS El Capitan (64-bit) | Y | Y | Y |
Driver Versions
This section lists the driver files that are included with each version of the Microsoft Drivers for PHP for SQL Server. Each installation package contains SQLSRV and PDO_SQLSRV driver files in threaded and non-threaded variants. On Windows, they are also available in 32-bit and 64-bit variants. To configure the driver for use with the PHP runtime, follow the installation instructions in Loading the Microsoft Drivers for PHP for SQL Server.
On supported versions of Linux and macOS, the appropriate drivers can be installed using PHP's PECL package system, following the Linux and macOS installation instructions. Alternatively, you can download prebuilt binaries for your platform from the Microsoft Drivers for PHP for SQL Server Github project page -- the tables below list the files found in the prebuilt binary packages.
Microsoft Drivers 5.6 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| 32-bit php_sqlsrv_71_nts.dll 32-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_71_ts.dll 32-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_71_nts.dll 64-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_71_ts.dll 64-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_72_nts.dll 32-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_72_ts.dll 32-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_72_nts.dll 64-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_72_ts.dll 64-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_73_nts.dll 32-bit php_pdo_sqlsrv_73_nts.dll |
7.3 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_73_ts.dll 32-bit php_pdo_sqlsrv_73_ts.dll |
7.3 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_73_nts.dll 64-bit php_pdo_sqlsrv_73_nts.dll |
7.3 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_73_ts.dll 64-bit php_pdo_sqlsrv_73_ts.dll |
7.3 | yes | 64-bit php7ts.dll |
On Linux, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? |
|---|---|---|
| php_sqlsrv_71_nts.so php_pdo_sqlsrv_71_nts.so |
7.1 | no |
| php_sqlsrv_71_ts.so php_pdo_sqlsrv_71_ts.so |
7.1 | yes |
| php_sqlsrv_72_nts.so php_pdo_sqlsrv_72_nts.so |
7.2 | no |
| php_sqlsrv_72_ts.so php_pdo_sqlsrv_72_ts.so |
7.2 | yes |
| php_sqlsrv_73_nts.so php_pdo_sqlsrv_73_nts.so |
7.3 | no |
| php_sqlsrv_73_ts.so php_pdo_sqlsrv_73_ts.so |
7.3 | yes |
Microsoft Drivers 5.3 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| 32-bit php_sqlsrv_7_nts.dll 32-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_7_ts.dll 32-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_7_nts.dll 64-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_7_ts.dll 64-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_71_nts.dll 32-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_71_ts.dll 32-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_71_nts.dll 64-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_71_ts.dll 64-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_72_nts.dll 32-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_72_ts.dll 32-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_72_nts.dll 64-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_72_ts.dll 64-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 64-bit php7ts.dll |
On Linux, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? |
|---|---|---|
| php_sqlsrv_7_nts.so php_pdo_sqlsrv_7_nts.so |
7.0 | no |
| php_sqlsrv_7_ts.so php_pdo_sqlsrv_7_ts.so |
7.0 | yes |
| php_sqlsrv_71_nts.so php_pdo_sqlsrv_71_nts.so |
7.1 | no |
| php_sqlsrv_71_ts.so php_pdo_sqlsrv_71_ts.so |
7.1 | yes |
| php_sqlsrv_72_nts.so php_pdo_sqlsrv_72_nts.so |
7.2 | no |
| php_sqlsrv_72_ts.so php_pdo_sqlsrv_72_ts.so |
7.2 | yes |
Microsoft Drivers 5.2 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| 32-bit php_sqlsrv_7_nts.dll 32-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_7_ts.dll 32-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_7_nts.dll 64-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_7_ts.dll 64-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_71_nts.dll 32-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_71_ts.dll 32-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_71_nts.dll 64-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_71_ts.dll 64-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_72_nts.dll 32-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_72_ts.dll 32-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_72_nts.dll 64-bit php_pdo_sqlsrv_72_nts.dll |
7.2 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_72_ts.dll 64-bit php_pdo_sqlsrv_72_ts.dll |
7.2 | yes | 64-bit php7ts.dll |
On Linux, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? |
|---|---|---|
| php_sqlsrv_7_nts.so php_pdo_sqlsrv_7_nts.so |
7.0 | no |
| php_sqlsrv_7_ts.so php_pdo_sqlsrv_7_ts.so |
7.0 | yes |
| php_sqlsrv_71_nts.so php_pdo_sqlsrv_71_nts.so |
7.1 | no |
| php_sqlsrv_71_ts.so php_pdo_sqlsrv_71_ts.so |
7.1 | yes |
| php_sqlsrv_72_nts.so php_pdo_sqlsrv_72_nts.so |
7.2 | no |
| php_sqlsrv_72_ts.so php_pdo_sqlsrv_72_ts.so |
7.2 | yes |
Microsoft Drivers 4.3 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| 32-bit php_sqlsrv_7_nts.dll 32-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_7_ts.dll 32-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_7_nts.dll 64-bit php_pdo_sqlsrv_7_nts.dll |
7.0 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_7_ts.dll 64-bit php_pdo_sqlsrv_7_ts.dll |
7.0 | yes | 64-bit php7ts.dll |
| 32-bit php_sqlsrv_71_nts.dll 32-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 32-bit php7.dll |
| 32-bit php_sqlsrv_71_ts.dll 32-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 32-bit php7ts.dll |
| 64-bit php_sqlsrv_71_nts.dll 64-bit php_pdo_sqlsrv_71_nts.dll |
7.1 | no | 64-bit php7.dll |
| 64-bit php_sqlsrv_71_ts.dll 64-bit php_pdo_sqlsrv_71_ts.dll |
7.1 | yes | 64-bit php7ts.dll |
On Linux, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? |
|---|---|---|
| php_sqlsrv_7_nts.so php_pdo_sqlsrv_7_nts.so |
7.0 | no |
| php_sqlsrv_7_ts.so php_pdo_sqlsrv_7_ts.so |
7.0 | yes |
| php_sqlsrv_71_nts.so php_pdo_sqlsrv_71_nts.so |
7.1 | no |
| php_sqlsrv_71_ts.so php_pdo_sqlsrv_71_ts.so |
7.1 | yes |
Microsoft Drivers 4.0 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| php_sqlsrv_7_nts_x86.dll php_pdo_sqlsrv_7_nts_x86.dll |
7.0 | no | 32-bit php7.dll |
| php_sqlsrv_7_ts_x86.dll php_pdo_sqlsrv_7_ts_x86.dll |
7.0 | yes | 32-bit php7ts.dll |
| php_sqlsrv_7_nts_x64.dll php_pdo_sqlsrv_7_nts_x64.dll |
7.0 | no | 64-bit php7.dll |
| php_sqlsrv_7_ts_x64.dll php_pdo_sqlsrv_7_ts_x64.dll |
7.0 | yes | 64-bit php7ts.dll |
On Linux, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? |
|---|---|---|
| php_sqlsrv_7_nts.so php_pdo_sqlsrv_7_nts.so |
7.0 | no |
| php_sqlsrv_7_ts.so php_pdo_sqlsrv_7_ts.so |
7.0 | yes |
Microsoft Drivers 3.2 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| php_sqlsrv_54_nts.dll php_pdo_sqlsrv_54_nts.dll |
5.4 | no | php5.dll |
| php_sqlsrv_54_ts.dll php_pdo_sqlsrv_54_ts.dll |
5.4 | yes | php5ts.dll |
| php_sqlsrv_55_nts.dll php_pdo_sqlsrv_55_nts.dll |
5.5 | no | php5.dll |
| php_sqlsrv_55_ts.dll php_pdo_sqlsrv_55_ts.dll |
5.5 | yes | php5ts.dll |
| php_sqlsrv_56_nts.dll php_pdo_sqlsrv_56_nts.dll |
5.6 | no | php5.dll |
| php_sqlsrv_56_ts.dll php_pdo_sqlsrv_56_ts.dll |
5.6 | yes | php5ts.dll |
Microsoft Drivers 3.1 for PHP for SQL Server:
On Windows, the following versions of the driver are included:
| Driver file | PHP version | Thread safe? | Use with PHP .dll |
|---|---|---|---|
| php_sqlsrv_54_nts.dll php_pdo_sqlsrv_54_nts.dll |
5.4 | no | php5.dll |
| php_sqlsrv_54_ts.dll php_pdo_sqlsrv_54_ts.dll |
5.4 | yes | php5ts.dll |
| php_sqlsrv_55_nts.dll php_pdo_sqlsrv_55_nts.dll |
5.5 | no | php5.dll |
| php_sqlsrv_55_ts.dll php_pdo_sqlsrv_55_ts.dll |
5.5 | yes | php5ts.dll |
See Also
Getting Started with the Microsoft Drivers for PHP for SQL Server
Programming Guide for the Microsoft Drivers for PHP for SQL Server
PDO_SQLSRV Driver API Reference
PHP访问SQL Server驱动对应关系的更多相关文章
- ODBC database driver for Go:Go语言通过ODBC 访问SQL server
Go语言通过ODBC 访问SQL server,这里需要用到go-odbc库,开源地址::https://github.com/weigj/go-odbc 一.驱动安装 在cmd中打开GOPATH: ...
- ORACLE透明网关访问SQL Server配置总结
透明网关概念 ORACLE透明网关(Oracle Transparent Gateway)可以解决ORACLE数据库和非ORACLE数据库交互数据的需求.在一个异构的分布式环境中,通过ORACLE ...
- Ubuntu12.10下Python(pyodbc)访问SQL Server解决方案
一.基本原理 请查看这个网址,讲得灰常详细:http://www.jeffkit.info/2010/01/476/ 二.实现步骤 1.安装linux下SQL Server的驱动程序 安装Free ...
- .NET跨平台之旅:升级至ASP.NET 5 RC1,Linux上访问SQL Server数据库
今天微软正式发布了ASP.NET 5 RC1(详见Announcing ASP.NET 5 Release Candidate 1),.NET跨平台迈出了关键一步. 紧跟这次RC1的发布,我们成功地将 ...
- EF 数据库连接字符串-集成安全性访问 SQL Server
使用 Windows 集成安全性访问 SQL Server 如果您的应用程序运行在基于 Windows 的 Intranet 上,则也许可以将 Windows 集成身份验证用于数据库访问.集成安全性使 ...
- 在oracle中通过链接服务器(dblink)访问sql server
在oracle中通过链接服务器(dblink)访问sql server 2013-10-16 一. 工作环境: <1> Oracle数据库版本:Oracle 11g 运行环境 :IB ...
- Oracle Gateways透明网关访问SQL Server
自己的本机安装了Oracle 12c,公司的平台需要同时支持Oracle与SQL Server,很多时候都有将数据从Oracle同步到SQL Server的需求.通过SQL Server的link S ...
- ADO.NET访问SQL Server调用存储过程带回参
1,ADO.NET访问SQL Server调用存储过程带回参 2,DatabaseDesign use northwind go --存储过程1 --插入一条商品 productname=芹菜 un ...
- unidac 访问sql server 字符查询参数失效问题及解决办法
在帮朋友调试kbmmw 服务器的时候,发现用uindac 访问sql server作为后台时,碰见一个问题. 具体如下: cx.Close; cx.sql.add('select * from T w ...
随机推荐
- ECMAScript 原始类型
---恢复内容开始--- ECMAScript 有 5 种原始类型(primitive type),即 Undefined.Null.Boolean.Number 和 String. 1.typeof ...
- Number String(DP)
题目: 题意: 给你一个字符串s,s[i] = 'D'表示排列中a[i] > a[i+1],s[i] = 'I'表示排列中a[i] < a[i+1]. 比如排列 {3, 1, 2, 7, ...
- HDU-2032解题报告
Hdu-2032解题报告题意:实现给定行数的杨辉三角的输出. 杨辉三角的特点:每一行数据的开头和结尾是1,然后其他的数据是由其上一个数据与其左上角的数据之和组成11 11 2 11 3 3 11 4 ...
- 002.Zabbix简介
一 Zabbix简介 1.1 概述 Zabbix是一个企业级的高度集成开源监控软件,提供分布式监控解决方案.可以用来监控设备.服务等可用性和性能. 1.2 所支持监控方式 目前由zabbix提供包括但 ...
- 多媒体开发(7):编译Android与iOS平台的FFmpeg
编译FFmpeg,一个古老的话题,但小程还是介绍一遍,就当记录.之前介绍怎么给视频添加水印时,就已经提到FFmpeg的编译,并且在编译时指定了滤镜的功能. 但是,在手机盛行的时代,读者可能更需要的是能 ...
- JMeter快速入门
今天的年会已过,仍然是空手而归,不过俺坚信能让生活稳定永远都是努力.由于隔壁组负责年会的抢红包项目,因而趁此机会把通过工具模拟高并发的知识补了补,通过和身边大师的交流,总算是对压力测试有了个简要的了解 ...
- 222. Getter与Setter
Description Implement a class School, including the following attributes and methods: A private attr ...
- 潭州课堂25班:Ph201805201 django 项目 第十课 自定义错误码,完成图片验证码,用户是否被注册功能 (课堂笔记)
把 视图传到前台的 JsonResponse(data=data) 先进行处理,之后再传到前台, 处理:引用自定义错误代码,把错误代码返回给前台,前台根据错误代码中文提示 class Code: O ...
- 编程菜鸟的日记-初学尝试编程-C++ Primer Plus 第4章编程练习6
#include <iostream>using namespace std;struct CandyBar{ char kind[20]; float weight; int calor ...
- PAT Basic 1020
1020 月饼 (25 分) 月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼.现给定所有种类月饼的库存量.总售价.以及市场的最大需求量,请你计算可以获得的最大收益是多少. 注意 ...
