内需新建temp目录(并检讨下权限)

多年来小编开始攻读商量win二零一零r2的php情形布署,开掘护卫神的php套件相当好用,安装简便,但是因为php版本不是流行的本子,所以就想将php晋级下,因为新版的php修复了一些bug所以这里就享受下方法,须求的情侣可以参照下。

只顾:须求下载67位的

下载安装以往:

1、先将php目录备份一下

2、解压到php目录,要求新建temp目录(并检查下权限)

3、改革php.ini配置文件,能够参见下搜寻并修过

1、dll文件

extension=php_bz2.dll
extension=php_curl.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.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

; The MIBS data available in the PHP distribution must be installed. 
; See http://www.php.net/manual/en/snmp.installation.php 
;extension=php_snmp.dll

;extension=php_soap.dll
;extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll

2、时区问题
date.timezone = PRC


3、其他设置

short_open_tag = Off

disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod

max_input_vars = 1000

error_log = syslog 开启日志

request_order = "CGP" 

post_max_size = 200M

extension_dir ="e:Program FilesPHPWEBphpext"

cgi.force_redirect = 0
cgi.fix_pathinfo=1
fastcgi.impersonate = 1

upload_tmp_dir ="e:Program FilesPHPWEBphptemp"
upload_max_filesize = 200M
max_file_uploads = 200

session.save_path ="e:Program FilesPHPWEBphptemp"

session.auto_start = 1

来个功用图:

图片 1

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*
*
Website