首页 > 服务器 > Win服务器 > 正文

win2008 r2 服务器php+mysql+sqlserver2008运行环境配置(从安装、优化、

2024-09-10 00:03:57
字体:
来源:转载
供稿:网友

win2008 r2 安装

//www.Vevb.com/article/38048.htm

iis的安装

//www.Vevb.com/article/86390.htm

php的安装注意事项:

下载非安全线程 版本
nts
php 5.2.17 //www.Vevb.com/softs/268745.html
其它版本可以到 http://museum.php.net/php5/里面很多经典的老版本。
PHP 5.5 (5.5.36) VC11 x64 Non Thread Safe
http://windows.php.net/downloads/releases/php-5.5.36-Win32-VC11-x86.zip

http://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
http://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-5.6.31.0.msi

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表