A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3469
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3043
Function: parse_non_string_part

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3469
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3043
Function: parse_non_string_part

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3469
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3043
Function: parse_non_string_part

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3469
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3043
Function: parse_non_string_part

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: geshi/geshi.php

Line Number: 3469

Backtrace:

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3469
Function: _error_handler

File: /www/wwwroot/paste.wenyinos/application/libraries/geshi/geshi.php
Line: 3060
Function: parse_non_string_part

File: /www/wwwroot/paste.wenyinos/application/libraries/Process.php
Line: 45
Function: parse_code

File: /www/wwwroot/paste.wenyinos/application/models/Pastes.php
Line: 517
Function: syntax

File: /www/wwwroot/paste.wenyinos/application/controllers/Main.php
Line: 693
Function: getPaste

File: /www/wwwroot/paste.wenyinos/index.php
Line: 315
Function: require_once

stikked nginx config - 玟茵开源社区代码粘贴板
来自 jiangzemin, 1 年 前, 写在 nginx.
嵌入
  1.     server_name stikked.domain.tld;
  2.     root /var/www/stikked/htdocs;
  3.     index  index.php;
  4.  
  5. #   access_log /var/log/nginx/localhost.access_log combined;
  6. #   error_log /var/log/nginx/localhost.error_log info;
  7.  
  8.     location / {
  9.         try_files $uri /index.php;
  10.     }
  11.  
  12.     location ~ \.php$ {
  13.         return 444;
  14.     }
  15.  
  16.     location = /index.php {
  17.         # fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
  18.         fastcgi_pass 127.0.0.1:9000;
  19.         fastcgi_split_path_info ^(.+\.php)(.*)$;
  20.         include fastcgi_params;
  21.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  22.     }
  23. }
  24.  
  25. # alternatively:
  26.  
  27.     server_name stikked.domain;
  28.     root /var/www/vhosts/stikked.domain/httpdocs;
  29.     index index.php;
  30.  
  31.     error_log /var/log/nginx/stikked.domain.error.log;
  32.     access_log /var/log/nginx/stikked.domain.access.log;
  33.  
  34.     # no caching
  35.     expires 0;
  36.  
  37.     if ($request_uri !~* ^/(static|favicon\.ico|robots\.txt))
  38.     {
  39.         rewrite ^/(.*)$ /index.php?/$1 last;
  40.         break;
  41.     }
  42.  
  43.     location ~* \.php$ {
  44.         include fastcgi_params;
  45.         fastcgi_pass unix://var/lib/php5/php5-fpm.sock;
  46.         fastcgi_split_path_info ^(.+\.php)(.*)$;
  47.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  48.     }
  49. }

回复 stikked nginx config rss

标题 提交者 语言 时间
JaMRyMklwEjxnnsb jvzohltzuw nginx 1 月 前.
captcha