Home > Article > Backend Development > Guardian God PHP Suite PHP version upgrade method_PHP tutorial
This article mainly introduces the method of upgrading the php version of the Guardian God php suite (php5.5.24). Friends who need it can refer to it
Recently, the editor began to study the PHP environment configuration of win2008 r2. I found that the PHP suite of Guardian God is very easy to use and easy to install. However, because the PHP version is not the latest version, I want to upgrade PHP because the new version of PHP Some bugs have been fixed, so I will share the method here, friends who need it can refer to it.
PHP suite is suitable for 64-bit systems (win2008 r2 /win2012)
Download the new version of php file, here php5.5.24
Note: You need to download 64-bit version
After downloading and installing:
1. Back up the php directory first
2. Unzip to the php directory, you need to create a new temp directory (and check the permissions)
3. Modify the php.ini configuration file. You can search and modify it by referring to
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
1. dll file
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. Time zone issue date.timezone = PRC
3. Other settings
short_open_tag = Off
disable_functions =exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod
max_input_vars = 1000
error_log = syslog enable log
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 |
Here’s a rendering:
Original article from Script House. If you have better methods and software, you can share it with us. Thanks.