Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] php.ini-recommended patch [RSS Feed]

#1 Oct. 28, 2005 16:59:39

Marcus B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] php.ini-recommended patch


While rebuilding my php.ini, I noticed quite a few spelling mistakesin 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 willsee 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 wherethey were in comments I've fixed them, but I've left the actualsetting names untouched.There is one setting which I suspect should be calledpfpro.defaulthost but seems to be called Apfpro.defaulthost - slip ofa finger somewhere?I know it's just a little thing...

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
|http://www.synchromedia.co.uk--- 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, $_POST, $_COOKIE or $_FILES, 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.
; Readhttp://php.net/manual/en/security.registerglobals.phpfor 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

-; 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--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] php.ini-recommended patch [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support