Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19787 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26376 invoked by uid 1010); 28 Oct 2005 15:59:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26360 invoked from network); 28 Oct 2005 15:59:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2005 15:59:11 -0000 X-Host-Fingerprint: 217.8.241.112 ns1.synchromedia.co.uk OpenBSD 3.0-3.4 Received: from ([217.8.241.112:43214] helo=ns1.synchromedia.co.uk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A8/15-57990-ECA42634 for ; Fri, 28 Oct 2005 11:59:10 -0400 Received: (qmail 19164 invoked by uid 89); 28 Oct 2005 15:59:06 -0000 Received: from unknown (HELO ?10.0.0.1?) (marcus@synchromedia.co.uk@87.74.30.27) by mail.synchromedia.co.uk with SMTP; 28 Oct 2005 15:59:06 -0000 Mime-Version: 1.0 (Apple Message framework v734) To: PHP Internals Internals Message-ID: <92F91734-FE70-49B2-8AFB-9A62BB487AEB@synchromedia.co.uk> Content-Type: multipart/mixed; boundary=Apple-Mail-15--263392968 Date: Fri, 28 Oct 2005 16:59:05 +0100 X-Mailer: Apple Mail (2.734) Subject: php.ini-recommended patch From: marcus@synchromedia.co.uk (Marcus Bointon) --Apple-Mail-15--263392968 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed While rebuilding my php.ini, I noticed quite a few spelling mistakes in the current version, so I enclose a patch to fix the obvious ones (against php5-200510281430/php.ini-recommended). I worked on - recommended instead of -dist as I suspect that's the one which will see more use - is that OK? I've stuck to American spelling too. There are quite a few places in which 'compatibility' is spelled 'compatability', including in the names of some properties, so where they were in comments I've fixed them, but I've left the actual setting names untouched. There is one setting which I suspect should be called pfpro.defaulthost but seems to be called Apfpro.defaulthost - slip of a finger somewhere? I know it's just a little thing... Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk --Apple-Mail-15--263392968 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0777; name="php.ini-recommended.diff.txt" Content-Disposition: attachment; filename=php.ini-recommended.diff.txt --- php.ini-recommended.original 2005-10-28 16:39:49.767927533 +0100 +++ php.ini-recommended 2005-10-28 16:48:41.057364797 +0100 @@ -75,7 +75,7 @@ ; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending ; on where the input originates. Also, you can look at the ; import_request_variables() function. -; Note that register_globals is going to be depracated (i.e., turned off by +; Note that register_globals is going to be deprecated (i.e., turned off by ; default) in the next version of PHP, because it often leads to security bugs. ; Read http://php.net/manual/en/security.registerglobals.php for further ; information. @@ -112,7 +112,7 @@ ; The environment variables are not hashed into the $_ENV. To access ; environment variables, you can use getenv() instead. ; - error_reporting = E_ALL [Code Cleanliness, Security(?)] -; By default, PHP surpresses errors of type E_NOTICE. These error messages +; By default, PHP suppresses errors of type E_NOTICE. These error messages ; are emitted for non-critical errors, but that could be a symptom of a bigger ; problem. Most notably, this will cause error messages about the use ; of uninitialized variables to be displayed. @@ -197,7 +197,7 @@ ; The unserialize callback function will be called (with the undefined class' ; name as parameter), if the unserializer finds an undefined class -; which should be instanciated. +; which should be instantiated. ; A warning appears if the specified function is not defined, or if the ; function doesn't include/implement the missing class. ; So only set this entry, if you really want to implement such a @@ -751,7 +751,7 @@ ; file will be able to reveal the password as well. mysql.default_password = -; Maximum time (in secondes) for connect timeout. -1 means no limit +; Maximum time (in seconds) for connect timeout. -1 means no limit mysql.connect_timeout = 60 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and @@ -804,7 +804,7 @@ pgsql.allow_persistent = On ; Detect broken persistent links always with pg_pconnect(). -; Auto reset feature requires a little overheads. +; Auto reset feature requires a little overhead. pgsql.auto_reset_persistent = Off ; Maximum number of persistent links. -1 means no limit. @@ -813,12 +813,12 @@ ; Maximum number of links (persistent+non persistent). -1 means no limit. pgsql.max_links = -1 -; Ignore PostgreSQL backends Notice message or not. -; Notice message logging require a little overheads. +; Ignore PostgreSQL backend Notice messages or not. +; Notice message logging require a little overhead. pgsql.ignore_notice = 0 -; Log PostgreSQL backends Noitce message or not. -; Unless pgsql.ignore_notice=0, module cannot log notice message. +; Log PostgreSQL backend Notice messages or not. +; Unless pgsql.ignore_notice=0, module cannot log notice messages. pgsql.log_notice = 0 [Sybase] @@ -839,10 +839,10 @@ ; Minimum message severity to display. sybase.min_message_severity = 10 -; Compatability mode with old versions of PHP 3.0. +; Compatibility mode with old versions of PHP 3.0. ; If on, this will cause PHP to automatically assign types to results according ; to their Sybase type, instead of treating them all as strings. This -; compatability mode will probably not stay around forever, so try applying +; compatibility mode will probably not stay around forever, so try applying ; whatever necessary changes to your code, and turn it off. sybase.compatability_mode = Off @@ -1018,10 +1018,10 @@ ; trans sid support is disabled by default. ; Use of trans sid may risk your users security. ; Use this option with caution. -; - User may send URL contains active session ID -; to other person via. email/irc/etc. -; - URL that contains active session ID may be stored -; in publically accessible computer. +; - User may send URLs containing an active session ID +; to another person via. email/irc/etc. +; - URLs that contains active session IDs may be stored +; in publicly accessible computers. ; - User may access your site with the same session ID ; always using URL stored in browser's history or bookmarks. session.use_trans_sid = 0 @@ -1062,7 +1062,7 @@ ; Minimum message severity to display. mssql.min_message_severity = 10 -; Compatability mode with old versions of PHP 3.0. +; Compatibility mode with old versions of PHP 3.0. mssql.compatability_mode = Off ; Connect timeout @@ -1110,7 +1110,7 @@ [Verisign Payflow Pro] ; Default Payflow Pro server. -Apfpro.defaulthost = "test-payflow.verisign.com" +pfpro.defaulthost = "test-payflow.verisign.com" ; Default port to connect to. pfpro.defaultport = 443 @@ -1158,7 +1158,7 @@ ; registered as output buffer to function ;mbstring.http_output = SJIS -; enable automatic encoding translation accoding to +; enable automatic encoding translation according to ; mbstring.internal_encoding setting. Input chars are ; converted to internal encoding by setting this to On. ; Note: Do _not_ use automatic encoding translation for --Apple-Mail-15--263392968 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-15--263392968--