Browse Source

php7 updates

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 5 years ago
parent
commit
018a086cdb
  1. 2
      SOURCES/php-fpm.service
  2. 45
      SOURCES/php.ini

2
SOURCES/php-fpm.service

@ -11,6 +11,8 @@ Type=notify
ExecStart=/usr/sbin/php-fpm --nodaemonize ExecStart=/usr/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID ExecReload=/bin/kill -USR2 $MAINPID
PrivateTmp=true PrivateTmp=true
RuntimeDirectory=php-fpm
RuntimeDirectoryMode=0755


[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

45
SOURCES/php.ini

@ -294,7 +294,7 @@ implicit_flush = Off
; callback-function. ; callback-function.
unserialize_callback_func = unserialize_callback_func =


; When floats & doubles are serialized store serialize_precision significant ; When floats & doubles are serialized, store serialize_precision significant
; digits after the floating point. The default value ensures that when floats ; digits after the floating point. The default value ensures that when floats
; are decoded with unserialize, the data will remain the same. ; are decoded with unserialize, the data will remain the same.
; The value is also used for json_encode when encoding double values. ; The value is also used for json_encode when encoding double values.
@ -338,7 +338,7 @@ disable_classes =
; be increased on systems where PHP opens many files to reflect the quantity of ; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed. ; the file operations performed.
; http://php.net/realpath-cache-size ; http://php.net/realpath-cache-size
;realpath_cache_size = 16k ;realpath_cache_size = 4096k


; Duration of time, in seconds for which to cache realpath information for a given ; Duration of time, in seconds for which to cache realpath information for a given
; file or directory. For systems with rarely changing files, consider increasing this ; file or directory. For systems with rarely changing files, consider increasing this
@ -525,11 +525,12 @@ report_memleaks = On
; Store the last error/warning message in $php_errormsg (boolean). Setting this value ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
; to On can assist in debugging and is appropriate for development servers. It should ; to On can assist in debugging and is appropriate for development servers. It should
; however be disabled on production servers. ; however be disabled on production servers.
; This directive is DEPRECATED.
; Default Value: Off ; Default Value: Off
; Development Value: On ; Development Value: Off
; Production Value: Off ; Production Value: Off
; http://php.net/track-errors ; http://php.net/track-errors
track_errors = Off ;track_errors = Off


; Turn off normal error reporting and emit XML-RPC error XML ; Turn off normal error reporting and emit XML-RPC error XML
; http://php.net/xmlrpc-errors ; http://php.net/xmlrpc-errors
@ -866,22 +867,21 @@ default_socket_timeout = 60
; If you wish to have an extension loaded automatically, use the following ; If you wish to have an extension loaded automatically, use the following
; syntax: ; syntax:
; ;
; extension=modulename.extension ; extension=modulename
;
; For example, on Windows:
;
; extension=msql.dll
; ;
; ... or under UNIX: ; For example:
; ;
; extension=msql.so ; extension=mysqli
; ;
; ... or with a path: ; When the extension library to load is not located in the default extension
; directory, You may specify an absolute path to the library file:
; ;
; extension=/path/to/extension/msql.so ; extension=/path/to/extension/mysqli.so
; ;
; If you only provide the name of the extension, PHP will look for it in its ; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
; default extension directory. ; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=<ext>) syntax.


;;;; ;;;;
; Note: packaged extension modules are now loaded via the .ini files ; Note: packaged extension modules are now loaded via the .ini files
@ -1010,10 +1010,6 @@ mail.add_x_header = On
; Log mail to syslog; ; Log mail to syslog;
;mail.log = syslog ;mail.log = syslog


[SQL]
; http://php.net/sql.safe-mode
sql.safe_mode = Off

[ODBC] [ODBC]
; http://php.net/odbc.default-db ; http://php.net/odbc.default-db
;odbc.default_db = Not yet implemented ;odbc.default_db = Not yet implemented
@ -1646,17 +1642,6 @@ soap.wsdl_cache_limit = 5
; Sets the maximum number of open links or -1 for unlimited. ; Sets the maximum number of open links or -1 for unlimited.
ldap.max_links = -1 ldap.max_links = -1


[mcrypt]
; For more information about mcrypt settings see http://php.net/mcrypt-module-open

; Directory where to load mcrypt algorithms
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.algorithms_dir=

; Directory where to load mcrypt modes
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.modes_dir=

[dba] [dba]
;dba.default_handler= ;dba.default_handler=



Loading…
Cancel
Save