Commit f7dfc39c2e08a57696f29cc1109a7e8c4b2d813f

Authored by 鲜彤
1 parent ff095550

fix php.ini

Showing 1 changed file with 3 additions and 3 deletions
conf/php/php.ini
@@ -300,7 +300,7 @@ unserialize_callback_func = @@ -300,7 +300,7 @@ unserialize_callback_func =
300 ; The value is also used for json_encode when encoding double values. 300 ; The value is also used for json_encode when encoding double values.
301 ; If -1 is used, then dtoa mode 0 is used which automatically select the best 301 ; If -1 is used, then dtoa mode 0 is used which automatically select the best
302 ; precision. 302 ; precision.
303 -serialize_precision = -1 303 +serialize_precision = 17
304 304
305 ; open_basedir, if set, limits all file operations to the defined directory 305 ; open_basedir, if set, limits all file operations to the defined directory
306 ; and below. This directive makes most sense if used in a per-directory 306 ; and below. This directive makes most sense if used in a per-directory
@@ -772,12 +772,12 @@ enable_dl = Off @@ -772,12 +772,12 @@ enable_dl = Off
772 ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 772 ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
773 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 773 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
774 ; http://php.net/cgi.fix-pathinfo 774 ; http://php.net/cgi.fix-pathinfo
775 -;cgi.fix_pathinfo=1 775 +cgi.fix_pathinfo=1
776 776
777 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside 777 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
778 ; of the web tree and people will not be able to circumvent .htaccess security. 778 ; of the web tree and people will not be able to circumvent .htaccess security.
779 ; http://php.net/cgi.dicard-path 779 ; http://php.net/cgi.dicard-path
780 -cgi.discard_path=1 780 +;cgi.discard_path=1
781 781
782 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 782 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
783 ; security tokens of the calling client. This allows IIS to define the 783 ; security tokens of the calling client. This allows IIS to define the