From add8abba95d9b86a0a1241afdfcb5ce98f95e6e8 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 3 Dec 2017 21:23:53 -0500 Subject: [PATCH] Update php.ini and remove the leading blank line from the nginx mime.types --- nginx/mime.types | 1 - php/php.ini | 122 +++++++++++++++++++++-------------------------- 2 files changed, 54 insertions(+), 69 deletions(-) diff --git a/nginx/mime.types b/nginx/mime.types index 89be9a4..cd3d700 100644 --- a/nginx/mime.types +++ b/nginx/mime.types @@ -1,4 +1,3 @@ - types { text/html html htm shtml; text/css css; diff --git a/php/php.ini b/php/php.ini index cf28827..5afdcf6 100644 --- a/php/php.ini +++ b/php/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. @@ -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,62 +867,62 @@ default_socket_timeout = 60 ; If you wish to have an extension loaded automatically, use the following ; syntax: ; -; extension=modulename.extension +; extension=modulename ; -; For example, on Windows: +; For example: ; -; extension=msql.dll +; extension=mysqli ; -; ... or under UNIX: +; 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=msql.so +; extension=/path/to/extension/mysqli.so ; -; ... or with a path: +; 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. ; -; extension=/path/to/extension/msql.so -; -; If you only provide the name of the extension, PHP will look for it in its -; default extension directory. -; -;extension=bcmath.so -extension=bz2.so -;extension=calendar.so -extension=curl.so -;extension=dba.so -;extension=enchant.so -;extension=exif.so -;extension=ftp.so -extension=gd.so -;extension=gettext.so -extension=gmp.so -;extension=iconv.so -extension=imap.so -;extension=intl.so -;extension=ldap.so -extension=memcached.so -extension=mcrypt.so -extension=mysqli.so -;extension=odbc.so -;zend_extension=opcache.so -;extension=pdo_dblib.so -extension=pdo_mysql.so -;extension=pdo_odbc.so -;extension=pdo_pgsql.so -;extension=pdo_sqlite.so -;extension=pgsql.so -;extension=pspell.so -;extension=shmop.so -;extension=snmp.so -;extension=soap.so -;extension=sockets.so -;extension=sqlite3.so -;extension=sysvmsg.so -;extension=sysvsem.so -;extension=sysvshm.so -;extension=tidy.so -;extension=xmlrpc.so -;extension=xsl.so -extension=zip.so +;extension=bcmath +extension=bz2 +;extension=calendar +extension=curl +;extension=dba +;extension=enchant +;extension=exif +;extension=ftp +extension=gd +;extension=gettext +extension=gmp +;extension=iconv +extension=imap +;extension=intl +;extension=sodium +;extension=ldap +extension=memcached +extension=mcrypt +extension=mysqli +;extension=odbc +;zend_extension=opcache +;extension=pdo_dblib +extension=pdo_mysql +;extension=pdo_odbc +;extension=pdo_pgsql +;extension=pdo_sqlite +;extension=pgsql +;extension=pspell +;extension=shmop +;extension=snmp +;extension=soap +;extension=sockets +;extension=sqlite3 +;extension=sysvmsg +;extension=sysvsem +;extension=sysvshm +;extension=tidy +;extension=xmlrpc +;extension=xsl +extension=zip ;;;;;;;;;;;;;;;;;;; ; Module Settings ; @@ -1055,10 +1056,6 @@ mail.add_x_header = On ; Log mail to syslog (Event Log on Windows). ;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 @@ -1761,17 +1758,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=