From 018a086cdb47ee66f4d5f87618378dc066f0c9a4 Mon Sep 17 00:00:00 2001 From: webbuilder_pel7x64builder0 Date: Thu, 3 Jan 2019 01:37:22 +0100 Subject: [PATCH] php7 updates Signed-off-by: webbuilder_pel7x64builder0 --- SOURCES/php-fpm.service | 2 ++ SOURCES/php.ini | 45 ++++++++++++++--------------------------- 2 files changed, 17 insertions(+), 30 deletions(-) diff --git a/SOURCES/php-fpm.service b/SOURCES/php-fpm.service index e9ebb4a..2d96ce7 100644 --- a/SOURCES/php-fpm.service +++ b/SOURCES/php-fpm.service @@ -11,6 +11,8 @@ Type=notify ExecStart=/usr/sbin/php-fpm --nodaemonize ExecReload=/bin/kill -USR2 $MAINPID PrivateTmp=true +RuntimeDirectory=php-fpm +RuntimeDirectoryMode=0755 [Install] WantedBy=multi-user.target diff --git a/SOURCES/php.ini b/SOURCES/php.ini index fc457f2..ecc660c 100644 --- a/SOURCES/php.ini +++ b/SOURCES/php.ini @@ -294,7 +294,7 @@ implicit_flush = Off ; callback-function. 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 ; are decoded with unserialize, the data will remain the same. ; 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 ; the file operations performed. ; 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 ; 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 ; to On can assist in debugging and is appropriate for development servers. It should ; however be disabled on production servers. +; This directive is DEPRECATED. ; Default Value: Off -; Development Value: On +; Development Value: Off ; Production Value: Off ; http://php.net/track-errors -track_errors = Off +;track_errors = Off ; Turn off normal error reporting and emit XML-RPC error XML ; 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 ; syntax: ; -; extension=modulename.extension -; -; For example, on Windows: -; -; extension=msql.dll +; extension=modulename ; -; ... 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 -; default extension directory. +; Note : The syntax used in previous PHP versions ('extension=.so' and +; 'extension='php_.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=) syntax. ;;;; ; Note: packaged extension modules are now loaded via the .ini files @@ -1010,10 +1010,6 @@ mail.add_x_header = On ; Log mail to syslog; ;mail.log = syslog -[SQL] -; http://php.net/sql.safe-mode -sql.safe_mode = Off - [ODBC] ; http://php.net/odbc.default-db ;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. 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.default_handler=