ciusss89

php openwrt

Oct 17th, 2011
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.20 KB | None | 0 0
  1. [PHP]
  2.  
  3. zend.ze1_compatibility_mode = Off
  4.  
  5. ; Language Options
  6.  
  7. engine = On
  8. ;short_open_tag = Off
  9. precision    =  12
  10. y2k_compliance = On
  11. output_buffering = Off
  12. ;output_handler =
  13. zlib.output_compression = Off
  14. ;zlib.output_compression_level = -1
  15. ;zlib.output_handler =
  16. implicit_flush = Off
  17. unserialize_callback_func =
  18. serialize_precision = 100
  19. allow_call_time_pass_reference = On
  20.  
  21. safe_mode = Off
  22. safe_mode_gid = Off
  23. safe_mode_include_dir =
  24. safe_mode_exec_dir =
  25. safe_mode_allowed_env_vars = PHP_
  26. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  27. ;open_basedir =
  28. disable_functions =
  29. disable_classes =
  30.  
  31. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  32. ; <span style="color: ???????"> would work.
  33. ;highlight.string  = #DD0000
  34. ;highlight.comment = #FF9900
  35. ;highlight.keyword = #007700
  36. ;highlight.bg      = #FFFFFF
  37. ;highlight.default = #0000BB
  38. ;highlight.html    = #000000
  39.  
  40. ;ignore_user_abort = On
  41. ;realpath_cache_size = 16k
  42. ;realpath_cache_ttl = 120
  43.  
  44. ; Miscellaneous
  45.  
  46. expose_php = On
  47.  
  48. ; Resource Limits
  49.  
  50. max_execution_time = 30 ; Maximum execution time of each script, in seconds.
  51. max_input_time = 60     ; Maximum amount of time each script may spend parsing request data.
  52. ;max_input_nesting_level = 64
  53. memory_limit = 12M      ; Maximum amount of memory a script may consume.
  54.  
  55. ; Error handling and logging
  56.  
  57. ; Error Level Constants:
  58. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  59. ; E_ERROR           - fatal run-time errors
  60. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  61. ; E_WARNING         - run-time warnings (non-fatal errors)
  62. ; E_PARSE           - compile-time parse errors
  63. ; E_NOTICE          - run-time notices (these are warnings which often result
  64. ;                     from a bug in your code, but it's possible that it was
  65. ;                     intentional (e.g., using an uninitialized variable and
  66. ;                     relying on the fact it's automatically initialized to an
  67. ;                     empty string)
  68. ; E_STRICT                      - run-time notices, enable to have PHP suggest changes
  69. ;                     to your code which will ensure the best interoperability
  70. ;                     and forward compatibility of your code
  71. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  72. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  73. ;                     initial startup
  74. ; E_COMPILE_ERROR   - fatal compile-time errors
  75. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  76. ; E_USER_ERROR      - user-generated error message
  77. ; E_USER_WARNING    - user-generated warning message
  78. ; E_USER_NOTICE     - user-generated notice message
  79. ; E_DEPRECATED      - warn about code that will not work in future versions
  80. ;                     of PHP
  81. ; E_USER_DEPRECATED - user-generated deprecation warnings
  82. ;
  83. ; Common Values:
  84. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
  85. ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
  86. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
  87. ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
  88. ; Default Value: E_ALL & ~E_NOTICE
  89. error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT
  90.  
  91. display_errors = On
  92. display_startup_errors = Off
  93. log_errors = Off
  94. log_errors_max_len = 1024
  95. ignore_repeated_errors = Off
  96. ignore_repeated_source = Off
  97. report_memleaks = On
  98. ;report_zend_debug = 0
  99. track_errors = Off
  100. ;html_errors = Off
  101. ;docref_root = "/phpmanual/"
  102. ;docref_ext = .html
  103. ;error_prepend_string = "<font color=#ff0000>"
  104. ;error_append_string = "</font>"
  105. ; Log errors to specified file.
  106. ;error_log = /var/log/php_errors.log
  107. ; Log errors to syslog.
  108. error_log = syslog
  109.  
  110. ; Data Handling
  111.  
  112. ;arg_separator.output = "&amp;"
  113. ;arg_separator.input = ";&"
  114. variables_order = "EGPCS"
  115. request_order = "GP"
  116. register_globals = Off
  117. register_long_arrays = Off
  118. register_argc_argv = On
  119. auto_globals_jit = On
  120. post_max_size = 8M
  121. ;magic_quotes_gpc = Off
  122. magic_quotes_runtime = Off
  123. magic_quotes_sybase = Off
  124. auto_prepend_file =
  125. auto_append_file =
  126. default_mimetype = "text/html"
  127. ;default_charset = "iso-8859-1"
  128. ;always_populate_raw_post_data = On
  129.  
  130. ; Paths and Directories
  131.  
  132. ; UNIX: "/path1:/path2"
  133. ;include_path = ".:/php/includes"
  134. doc_root = "/home/04_WWW/"
  135. user_dir =
  136. extension_dir = "/usr/lib/php"
  137. enable_dl = On
  138. ;cgi.force_redirect = 1
  139. ;cgi.nph = 1
  140. ;cgi.redirect_status_env = ;
  141. cgi.fix_pathinfo=1
  142. ;fastcgi.impersonate = 1;
  143. ;fastcgi.logging = 0
  144. ;cgi.rfc2616_headers = 0
  145.  
  146. ; File Uploads
  147.  
  148. file_uploads = On
  149. upload_tmp_dir = "/home/05_UPLOAD"
  150. upload_max_filesize = 12M
  151. max_file_uploads = 20
  152.  
  153. ; Fopen wrappers
  154.  
  155. allow_url_fopen = On
  156. allow_url_include = Off
  157. ;user_agent="PHP"
  158. default_socket_timeout = 60
  159. ;auto_detect_line_endings = Off
  160.  
  161. ; Dynamic Extensions
  162.  
  163. ;extension=ctype.so
  164. ;extension=curl.so
  165. ;extension=dom.so
  166. ;extension=exif.so
  167. ;extension=ftp.so
  168. extension=gd.so
  169. ;extension=gmp.so
  170. ;extension=hash.so
  171. ;extension=iconv.so
  172. ;extension=json.so
  173. ;extension=ldap.so
  174. ;extension=mbstring.so
  175. ;extension=mcrypt.so
  176. ;extension=mysql.so
  177. ;extension=openssl.so
  178. ;extension=pcre.so
  179. ;extension=pdo.so
  180. ;extension=pdo-mysql.so
  181. ;extension=pdo-pgsql.so
  182. ;extension=pdo_sqlite.so
  183. ;extension=pgsql.so
  184. extension=session.so
  185. ;extension=soap.so
  186. ;extension=sockets.so
  187. ;extension=sqlite.so
  188. ;extension=sqlite3.so
  189. ;extension=tokenizer.so
  190. extension=xml.so
  191. extension=xmlreader.so
  192. extension=xmlwriter.so
  193.  
  194. ; Module Settings
  195.  
  196. [APC]
  197. apc.enabled = 1
  198. apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
  199. apc.shm_size = 4M   ;The size of each shared memory segment.
  200.  
  201. [Date]
  202. date.timezone = 'Europe/Rome'
  203. ;date.default_latitude = 31.7667
  204. ;date.default_longitude = 35.2333
  205. ;date.sunrise_zenith = 90.583333
  206. ;date.sunset_zenith = 90.583333
  207.  
  208. [filter]
  209. ;filter.default = unsafe_raw
  210. ;filter.default_flags =
  211.  
  212. [iconv]
  213. ;iconv.input_encoding = ISO-8859-1
  214. ;iconv.internal_encoding = ISO-8859-1
  215. ;iconv.output_encoding = ISO-8859-1
  216.  
  217. [sqlite]
  218. ;sqlite.assoc_case = 0
  219.  
  220. [sqlite3]
  221. ;sqlite3.extension_dir =
  222.  
  223. [Pdo_mysql]
  224. pdo_mysql.cache_size = 2000
  225. pdo_mysql.default_socket=
  226.  
  227. [MySQL]
  228. mysql.allow_local_infile = On
  229. mysql.allow_persistent = On
  230. mysql.cache_size = 2000
  231. mysql.max_persistent = -1
  232. mysql.max_links = -1
  233. mysql.default_port =
  234. mysql.default_socket =
  235. mysql.default_host =
  236. mysql.default_user =
  237. mysql.default_password =
  238. mysql.connect_timeout = 60
  239. mysql.trace_mode = Off
  240.  
  241. [PostgresSQL]
  242. pgsql.allow_persistent = On
  243. pgsql.auto_reset_persistent = Off
  244. pgsql.max_persistent = -1
  245. pgsql.max_links = -1
  246. pgsql.ignore_notice = 0
  247. pgsql.log_notice = 0
  248.  
  249. [Session]
  250. session.save_handler = files
  251. session.save_path = "/tmp"
  252. session.use_cookies = 1
  253. ;session.cookie_secure =
  254. session.use_only_cookies = 1
  255. session.name = PHPSESSID
  256. session.auto_start = 0
  257. session.cookie_lifetime = 0
  258. session.cookie_path = /
  259. session.cookie_domain =
  260. session.cookie_httponly =
  261. session.serialize_handler = php
  262. session.gc_probability = 1
  263. session.gc_divisor     = 100
  264. session.gc_maxlifetime = 1440
  265. session.bug_compat_42 = On
  266. session.bug_compat_warn = On
  267. session.referer_check =
  268. session.entropy_length = 0
  269. ;session.entropy_file = /dev/urandom
  270. session.entropy_file =
  271. ;session.entropy_length = 16
  272. session.cache_limiter = nocache
  273. session.cache_expire = 180
  274. session.use_trans_sid = 0
  275. session.hash_function = 0
  276. session.hash_bits_per_character = 4
  277. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  278.  
  279. [mbstring]
  280. ;mbstring.language = Japanese
  281. ;mbstring.internal_encoding = EUC-JP
  282. ;mbstring.http_input = auto
  283. ;mbstring.http_output = SJIS
  284. ;mbstring.encoding_translation = Off
  285. ;mbstring.detect_order = auto
  286. ;mbstring.substitute_character = none;
  287. ;mbstring.func_overload = 0
  288. ;mbstring.strict_detection = Off
  289. root@VodafoneStation:~# cat /etc/php.ini
  290. [PHP]
  291.  
  292. zend.ze1_compatibility_mode = Off
  293.  
  294. ; Language Options
  295.  
  296. engine = On
  297. ;short_open_tag = Off
  298. precision    =  12
  299. y2k_compliance = On
  300. output_buffering = Off
  301. ;output_handler =
  302. zlib.output_compression = Off
  303. ;zlib.output_compression_level = -1
  304. ;zlib.output_handler =
  305. implicit_flush = Off
  306. unserialize_callback_func =
  307. serialize_precision = 100
  308. allow_call_time_pass_reference = On
  309.  
  310. safe_mode = Off
  311. safe_mode_gid = Off
  312. safe_mode_include_dir =
  313. safe_mode_exec_dir =
  314. safe_mode_allowed_env_vars = PHP_
  315. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  316. ;open_basedir =
  317. disable_functions =
  318. disable_classes =
  319.  
  320. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  321. ; <span style="color: ???????"> would work.
  322. ;highlight.string  = #DD0000
  323. ;highlight.comment = #FF9900
  324. ;highlight.keyword = #007700
  325. ;highlight.bg      = #FFFFFF
  326. ;highlight.default = #0000BB
  327. ;highlight.html    = #000000
  328.  
  329. ;ignore_user_abort = On
  330. ;realpath_cache_size = 16k
  331. ;realpath_cache_ttl = 120
  332.  
  333. ; Miscellaneous
  334.  
  335. expose_php = On
  336.  
  337. ; Resource Limits
  338.  
  339. max_execution_time = 30 ; Maximum execution time of each script, in seconds.
  340. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
  341. ;max_input_nesting_level = 64
  342. memory_limit = 12M  ; Maximum amount of memory a script may consume.
  343.  
  344. ; Error handling and logging
  345.  
  346. ; Error Level Constants:
  347. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  348. ; E_ERROR           - fatal run-time errors
  349. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
  350. ; E_WARNING         - run-time warnings (non-fatal errors)
  351. ; E_PARSE           - compile-time parse errors
  352. ; E_NOTICE          - run-time notices (these are warnings which often result
  353. ;                     from a bug in your code, but it's possible that it was
  354. ;                     intentional (e.g., using an uninitialized variable and
  355. ;                     relying on the fact it's automatically initialized to an
  356. ;                     empty string)
  357. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
  358. ;                     to your code which will ensure the best interoperability
  359. ;                     and forward compatibility of your code
  360. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  361. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  362. ;                     initial startup
  363. ; E_COMPILE_ERROR   - fatal compile-time errors
  364. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  365. ; E_USER_ERROR      - user-generated error message
  366. ; E_USER_WARNING    - user-generated warning message
  367. ; E_USER_NOTICE     - user-generated notice message
  368. ; E_DEPRECATED      - warn about code that will not work in future versions
  369. ;                     of PHP
  370. ; E_USER_DEPRECATED - user-generated deprecation warnings
  371. ;
  372. ; Common Values:
  373. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
  374. ;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
  375. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
  376. ;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
  377. ; Default Value: E_ALL & ~E_NOTICE
  378. error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT
  379.  
  380. display_errors = On
  381. display_startup_errors = Off
  382. log_errors = Off
  383. log_errors_max_len = 1024
  384. ignore_repeated_errors = Off
  385. ignore_repeated_source = Off
  386. report_memleaks = On
  387. ;report_zend_debug = 0
  388. track_errors = Off
  389. ;html_errors = Off
  390. ;docref_root = "/phpmanual/"
  391. ;docref_ext = .html
  392. ;error_prepend_string = "<font color=#ff0000>"
  393. ;error_append_string = "</font>"
  394. ; Log errors to specified file.
  395. ;error_log = /var/log/php_errors.log
  396. ; Log errors to syslog.
  397. error_log = syslog
  398.  
  399. ; Data Handling
  400.  
  401. ;arg_separator.output = "&amp;"
  402. ;arg_separator.input = ";&"
  403. variables_order = "EGPCS"
  404. request_order = "GP"
  405. register_globals = Off
  406. register_long_arrays = Off
  407. register_argc_argv = On
  408. auto_globals_jit = On
  409. post_max_size = 8M
  410. ;magic_quotes_gpc = Off
  411. magic_quotes_runtime = Off
  412. magic_quotes_sybase = Off
  413. auto_prepend_file =
  414. auto_append_file =
  415. default_mimetype = "text/html"
  416. ;default_charset = "iso-8859-1"
  417. ;always_populate_raw_post_data = On
  418.  
  419. ; Paths and Directories
  420.  
  421. ; UNIX: "/path1:/path2"
  422. ;include_path = ".:/php/includes"
  423. doc_root = "/home/04_WWW/"
  424. user_dir =
  425. extension_dir = "/usr/lib/php"
  426. enable_dl = On
  427. ;cgi.force_redirect = 1
  428. ;cgi.nph = 1
  429. ;cgi.redirect_status_env = ;
  430. cgi.fix_pathinfo=1
  431. ;fastcgi.impersonate = 1;
  432. ;fastcgi.logging = 0
  433. ;cgi.rfc2616_headers = 0
  434.  
  435. ; File Uploads
  436.  
  437. file_uploads = On
  438. upload_tmp_dir = "/home/05_UPLOAD"
  439. upload_max_filesize = 12M
  440. max_file_uploads = 20
  441.  
  442. ; Fopen wrappers
  443.  
  444. allow_url_fopen = On
  445. allow_url_include = Off
  446. ;user_agent="PHP"
  447. default_socket_timeout = 60
  448. ;auto_detect_line_endings = Off
  449.  
  450. ; Dynamic Extensions
  451.  
  452. ;extension=ctype.so
  453. ;extension=curl.so
  454. ;extension=dom.so
  455. ;extension=exif.so
  456. ;extension=ftp.so
  457. extension=gd.so
  458. ;extension=gmp.so
  459. ;extension=hash.so
  460. ;extension=iconv.so
  461. ;extension=json.so
  462. ;extension=ldap.so
  463. ;extension=mbstring.so
  464. ;extension=mcrypt.so
  465. ;extension=mysql.so
  466. ;extension=openssl.so
  467. ;extension=pcre.so
  468. ;extension=pdo.so
  469. ;extension=pdo-mysql.so
  470. ;extension=pdo-pgsql.so
  471. ;extension=pdo_sqlite.so
  472. ;extension=pgsql.so
  473. extension=session.so
  474. ;extension=soap.so
  475. ;extension=sockets.so
  476. ;extension=sqlite.so
  477. ;extension=sqlite3.so
  478. ;extension=tokenizer.so
  479. extension=xml.so
  480. extension=xmlreader.so
  481. extension=xmlwriter.so
  482.  
  483. ; Module Settings
  484.  
  485. [APC]
  486. apc.enabled = 1
  487. apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
  488. apc.shm_size = 4M   ;The size of each shared memory segment.
  489.  
  490. [Date]
  491. date.timezone = 'Europe/Rome'
  492. ;date.default_latitude = 31.7667
  493. ;date.default_longitude = 35.2333
  494. ;date.sunrise_zenith = 90.583333
  495. ;date.sunset_zenith = 90.583333
  496.  
  497. [filter]
  498. ;filter.default = unsafe_raw
  499. ;filter.default_flags =
  500.  
  501. [iconv]
  502. ;iconv.input_encoding = ISO-8859-1
  503. ;iconv.internal_encoding = ISO-8859-1
  504. ;iconv.output_encoding = ISO-8859-1
  505.  
  506. [sqlite]
  507. ;sqlite.assoc_case = 0
  508.  
  509. [sqlite3]
  510. ;sqlite3.extension_dir =
  511.  
  512. [Pdo_mysql]
  513. pdo_mysql.cache_size = 2000
  514. pdo_mysql.default_socket=
  515.  
  516. [MySQL]
  517. mysql.allow_local_infile = On
  518. mysql.allow_persistent = On
  519. mysql.cache_size = 2000
  520. mysql.max_persistent = -1
  521. mysql.max_links = -1
  522. mysql.default_port =
  523. mysql.default_socket =
  524. mysql.default_host =
  525. mysql.default_user =
  526. mysql.default_password =
  527. mysql.connect_timeout = 60
  528. mysql.trace_mode = Off
  529.  
  530. [PostgresSQL]
  531. pgsql.allow_persistent = On
  532. pgsql.auto_reset_persistent = Off
  533. pgsql.max_persistent = -1
  534. pgsql.max_links = -1
  535. pgsql.ignore_notice = 0
  536. pgsql.log_notice = 0
  537.  
  538. [Session]
  539. session.save_handler = files
  540. session.save_path = "/tmp"
  541. session.use_cookies = 1
  542. ;session.cookie_secure =
  543. session.use_only_cookies = 1
  544. session.name = PHPSESSID
  545. session.auto_start = 0
  546. session.cookie_lifetime = 0
  547. session.cookie_path = /
  548. session.cookie_domain =
  549. session.cookie_httponly =
  550. session.serialize_handler = php
  551. session.gc_probability = 1
  552. session.gc_divisor     = 100
  553. session.gc_maxlifetime = 1440
  554. session.bug_compat_42 = On
  555. session.bug_compat_warn = On
  556. session.referer_check =
  557. session.entropy_length = 0
  558. ;session.entropy_file = /dev/urandom
  559. session.entropy_file =
  560. ;session.entropy_length = 16
  561. session.cache_limiter = nocache
  562. session.cache_expire = 180
  563. session.use_trans_sid = 0
  564. session.hash_function = 0
  565. session.hash_bits_per_character = 4
  566. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  567.  
  568. [mbstring]
  569. ;mbstring.language = Japanese
  570. ;mbstring.internal_encoding = EUC-JP
  571. ;mbstring.http_input = auto
  572. ;mbstring.http_output = SJIS
  573. ;mbstring.encoding_translation = Off
  574. ;mbstring.detect_order = auto
  575. ;mbstring.substitute_character = none;
  576. ;mbstring.func_overload = 0
  577. ;mbstring.strict_detection = Off
  578. ;mbstring.http_output_conv_mimetype=
  579. ;mbstring.script_encoding=
  580.  
  581. [gd]
  582. ;gd.jpeg_ignore_warning = 0
  583.  
  584. [exif]
  585. ;exif.encode_unicode = ISO-8859-15
  586. ;exif.decode_unicode_motorola = UCS-2BE
  587. ;exif.decode_unicode_intel    = UCS-2LE
  588. ;exif.encode_jis =
  589. ;exif.decode_jis_motorola = JIS
  590. ;exif.decode_jis_intel    = JIS
  591.  
  592. [soap]
  593. soap.wsdl_cache_enabled=1
  594. soap.wsdl_cache_dir="/tmp"
  595. soap.wsdl_cache_ttl=86400
  596. soap.wsdl_cache_limit = 5
  597.  
  598. [sysvshm]
  599. ;sysvshm.init_mem = 10000
  600.  
  601. [ldap]
  602. ldap.max_links = -1
  603.  
  604. [mcrypt]
  605. ;mcrypt.algorithms_dir=
  606. ;mcrypt.modes_dir=
  607.  
Advertisement
Add Comment
Please, Sign In to add comment