湛蓝之海 发表于 2021-10-1 11:08:47

win2008 r2 服务器php+mysql+sqlserver2008运行环境配

win2008 r2 安装
https://www.uoften.com/article/38048.htm
iis的安装
https://www.uoften.com/article/86390.htm
php的安装注意事项:
下载非安全线程 版本
nts
php 5.2.17 https://www.uoften.com/softs/268745.html
其它版本可以到 https://museum.php.net/php5/里面很多经典的老版本。
PHP 5.5 (5.5.36) VC11 x64 Non Thread Safe
https://windows.php.net/downloads/releases/php-5.5.36-Win32-VC11-x86.zip
https://windows.php.net/downloads/releases/php-5.5.36-nts-Win32-VC11-x64.zip

php配置
ignore_user_abort = On 去掉前面的;
disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod
disable_classes =DOTNET,

default_socket_timeout = 60
error_log = "C:\Windows\Temp\php-5.2.17_errors.log"
upload_tmp_dir = "C:\Windows\Temp\"
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
fastcgi.logging = 0
extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_zip.dll
mysql安装注意事项:
mysql的安装可以下载x64位的,5.6版本的。解压版的安装非常简单
mysqld -install
将下载下来的mysql解压到指定目录下(如:d:\mysql)
安装服务
在命令行输入
d:\mysql\bin\mysqld -install
net start mysql
卸载服务
在命令行输入
net stop mysql
d:\mysql\bin\mysqld -remove
安全问题: mysql以普通权限运行。将mysql的几个安装目录全部弄成mysql普通用户可读写。服务中设置mysql的运行权限
官方安装版32/64
https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-5.6.31.0.msi
zip解压版 32位
https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.31-win32.zip
zip解压版 64位
https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.31-winx64.zip
官方网站:https://dev.mysql.com/downloads/mysql/5.6.html#downloads
安装注意实现:
mysql 5.6及以上版本不能安装在win2003系统,只能在2008 r2及以上版本安装。其实用解压版的安装使用也比较简单。
将下载下来的mysql解压到指定目录下(如:d:\mysql)
安装服务
在命令行输入
d:\mysql\bin\mysqld -install
net start mysql
卸载服务
在命令行输入
net stop mysql
d:\mysql\bin\mysqld -remove

mysql 5.6的配置优化可以参考这篇文章:https://www.uoften.com/article/84357.htm
mysql5.6安装版:https://www.uoften.com/article/86365.htm
sqlserver 2008 安装方法注意事项:
iis需要勾选asp.net、.net扩展性
https://www.uoften.com/article/86395.htm
wincache安装配置方法
https://www.uoften.com/article/86197.htm
Win2008 R2 64Bit下IIS环境安装memcache和memcached服务端的方法
https://www.uoften.com/article/86204.htm

wincache 32/x64位下载地址:
32位的wincache https://www.iis.net/downloads/microsoft/wincache-extension
64位的wincache https://dev.freshsite.pl/php-accelerators/wincache.html
伪静态
https://www.iis.net/learn/extensions/url-rewrite-module/url-rewrite-module-configuration-reference?amp;clcid=0x409
https://www.iis.net/download/URLRewrite(英文版)
https://www.microsoft.com/zh-CN/download/confirmation.aspx?id=7435 中文版
https://www.microsoft.com/en-us/download/confirmation.aspx?id=43129(补丁)
https://www.uoften.com/article/43627.htm
iis 7.5 假死
https://www.uoften.com/article/73546.htm
iis7.5 优化 10w
https://www.uoften.com/article/36073.htm
IIS7.5应用程序池集成模式和经典模式的区别
https://www.uoften.com/article/31010.htm
win2008 服务器安全加固
安装安全狗进行设置(删除以后好像容易出问题)
https://www.uoften.com/article/69567.htm
https://www.uoften.com/article/69576.htm
安全设置
Win2008 R2 WEB 服务器安全设置指南之修改3389端口与更新补丁
https://www.uoften.com/article/86396.htm
win2008 R2 WEB 服务器安全设置指南之组策略与用户设置
https://www.uoften.com/article/86400.htm
Win2008 R2 WEB 服务器安全设置指南之文件夹权限设置技巧
https://www.uoften.com/article/86402.htm
Win2008 R2 WEB 服务器安全设置指南之禁用不必要的服务和关闭端口
https://www.uoften.com/article/86408.htm
Windows Server 2008 R2通过IP安全策略阻止某个IP访问的设置方法
https://www.uoften.com/article/86271.htm
禁止执行脚本
https://www.uoften.com/article/86201.htm
win2008 R2中安装MySQL出现ODBC连接器安装错误
https://www.uoften.com/article/86626.htm
配置win2008防火墙 允许被Ping的设置方法
https://www.uoften.com/article/23569.htm
https://www.uoften.com/article/86527.htm
利用McAfee策略让入侵者无法创建用户+无法删除用户+无法改密码的设置方法
https://www.uoften.com/hack/39697.html
McAfee(麦咖啡)杀毒规则设置方法
https://www.uoften.com/softjc/468585.html
McAfee 8.7i 详细讲解教程--含安装、设置以及规则编写(参照原McAfee85i教程编写)
https://www.uoften.com/softjc/468585.html
CodeAE代码之家小编花了几天的时间整理的,堪称win2008 服务器配置手册。

https://www.uoften.com/serverhost/winhost/20180415/81139.html
页: [1]
查看完整版本: win2008 r2 服务器php+mysql+sqlserver2008运行环境配