منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   NameCheap vBulletin php.ini settings (http://vb.ma7room.com/showthread.php?t=201713)

محروم.كوم 08-07-2009 08:10 PM

NameCheap vBulletin php.ini settings
 
I've noticed something with my host NameCheap that's got me wondering how good a set-up they have for vBulletin. In my cPanel I have a button called "Tweak php.ini" (image included). If I click that button it takes to to a screen were I can choose between 3 different configured php.ini settings to choose.

1: Default
3: vB
3: Magentoo

If I choose vB it creates a php.ini file in my ROOT directory, which is supposed to be pre-configured for use with vBulletin. Here are the full settings below taken from it. What do you think?

vBulletin php.ini Setup

PHP Code:

;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.


;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
; foo = ; sets foo to an empty string
; foo = none ; sets foo to an empty string
; foo = "none" ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).


;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache.
engine = On

; Allow the Returns data converted to SQL server settings
; Off => Returns values as YYYY-MM-DD hh:mm:ss
;mssql.datetimeconvert = On

; Use NT authentication when connecting to the server
mssql
.secure_connection = Off

; Specify max number of processes. Default = 25
;mssql.max_procs = 25

[Assertion]
;
Assert(expr); active by default.
;
assert.active = On

; Issue a PHP warning for each failed assertion.
;
assert.warning = On

; Dont bail out by default.
;
assert.bail = Off

; User-function to be called if an assertion fails.
;
assert.callback = 0

; Eval the expression with current error_reporting(). Set to true if you want
; error_reporting(0) around the eval().
;
assert.quiet_eval = 0

[Ingres II]
;
Allow or prevent persistent links.
ingres.allow_persistent = On

; Maximum number of persistent links. -1 means no limit.
ingres.max_persistent = -1

; Maximum number of links, including persistents. -1 means no limit.
ingres.max_links = -1

; Default database (format: [node_id::]dbname[/srv_class]).
ingres.default_database =

; Default
user.
ingres.default_user =

; Default
password.
ingres.default_password =

[
Verisign Payflow Pro]
; Default
Payflow Pro server.
pfpro.defaulthost = "test-payflow.verisign.com"

; Default port to connect to.
pfpro.defaultport = 443

; Default timeout in seconds.
pfpro.defaulttimeout = 30

; Default proxy IP address (if required).
;
pfpro.proxyaddress =

; Default
proxy port.
;
pfpro.proxyport =

; Default
proxy logon.
;
pfpro.proxylogon =

; Default
proxy password.
;
pfpro.proxypassword =

[
com]
;
path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
;com.typelib_file =
;
allow Distributed-COM calls
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
;
com.autoregister_typelib = true
; register constants casesensitive
;com.autoregister_casesensitive = false
; show warnings on duplicate constat registrations
;com.autoregister_verbose = true

[Printer]
;
printer.default_printer = ""

[mbstring]
;
language for internal character representation.
;
mbstring.language = Japanese

; internal/script encoding.
;
Some encoding cannot work as internal encoding.
; (
e.g. SJIS, BIG5, ISO-2022-*)
;
mbstring.internal_encoding = EUC-JP

; http input encoding.
;
mbstring.http_input = auto

; http output encoding. mb_output_handler must be
; registered as output buffer to function
;
mbstring.http_output = SJIS

; enable automatic encoding translation accoding 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
;
portable libs/applications.
;
mbstring.encoding_translation = Off

; automatic encoding detection order.
;
auto means
;mbstring.detect_order = auto

; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;

;
overload(replace) single byte functions by mbstring functions.
;
mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
;
etc. Possible values are 0,1,2,4 or combination of them.
; For
example, 7 for overload everything.
;
0: No overload
; 1: Overload mail() function
;
2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0

[FrontBase]
;
fbsql.allow_persistent = On
;fbsql.autocommit = On
;fbsql.default_database =
;
fbsql.default_database_password =
;
fbsql.default_host =
;
fbsql.default_password =
;
fbsql.default_user = "_SYSTEM"
;fbsql.generate_warnings = Off
;fbsql.max_connections = 128
;fbsql.max_links = 128
;fbsql.max_persistent = -1
;fbsql.max_results = 128
;fbsql.batchSize = 1000

[Crack]
;
Modify the setting below to match the directory location of the cracklib
; dictionary files. Include the base filename, but not the file extension.
;
crack.default_dictionary = "c:\php\lib\cracklib_dict"

[exif]
;
Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
;
With mbstring support this will automatically be converted into the encoding
; given by corresponding encode setting. When empty mbstring.internal_encoding
; is used. For the decode settings you can distinguish between motorola and
;
intel byte order. A decode setting cannot be empty.
;
exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel = UCS-2LE
;exif.encode_jis =
;
exif.decode_jis_motorola = JIS
;exif.decode_jis_intel = JIS

; Local Variables:
;
tab-width: 4
; End:


[
Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager
.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer
.version=3.3.3












extension
=pdo.so
extension
=pdo_sqlite.so
extension
=sqlite.so
extension
=pdo_mysql.so



zend_extension
=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts
=/usr/local/Zend/lib/ZendExtensionManager_TS.so
[SUHOSIN]
suhosin.post.max_vars = 2048
suhosin
.request.max_vars = 2048


الساعة الآن 09:34 AM

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227