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