A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

httpd.conf - Stikked
From Generic, 13 Years ago, written in Apache.
Embed
  1. ServerTokens Prod
  2. ServerRoot "/etc/httpd"
  3. PidFile run/httpd.pid
  4. Timeout 120
  5. KeepAlive On
  6. MaxKeepAliveRequests 200
  7. KeepAliveTimeout 5
  8.  
  9. <IfModule prefork.c>
  10. StartServers       5
  11. MinSpareServers    5
  12. MaxSpareServers   20
  13. ServerLimit      256
  14. MaxClients       256
  15. MaxRequestsPerChild  400
  16. </IfModule>
  17.  
  18.  
  19. Listen 80
  20.  
  21.  
  22. LoadModule auth_basic_module modules/mod_auth_basic.so
  23. LoadModule auth_digest_module modules/mod_auth_digest.so
  24. LoadModule authn_file_module modules/mod_authn_file.so
  25. LoadModule authn_alias_module modules/mod_authn_alias.so
  26. LoadModule authn_anon_module modules/mod_authn_anon.so
  27. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  28. LoadModule authn_default_module modules/mod_authn_default.so
  29. LoadModule authz_host_module modules/mod_authz_host.so
  30. LoadModule authz_user_module modules/mod_authz_user.so
  31. LoadModule authz_owner_module modules/mod_authz_owner.so
  32. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  33. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  34. LoadModule authz_default_module modules/mod_authz_default.so
  35. #LoadModule ldap_module modules/mod_ldap.so
  36. #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  37. LoadModule include_module modules/mod_include.so
  38. LoadModule log_config_module modules/mod_log_config.so
  39. LoadModule logio_module modules/mod_logio.so
  40. LoadModule env_module modules/mod_env.so
  41. LoadModule ext_filter_module modules/mod_ext_filter.so
  42. LoadModule mime_magic_module modules/mod_mime_magic.so
  43. LoadModule expires_module modules/mod_expires.so
  44. LoadModule deflate_module modules/mod_deflate.so
  45. LoadModule headers_module modules/mod_headers.so
  46. #LoadModule usertrack_module modules/mod_usertrack.so
  47. LoadModule setenvif_module modules/mod_setenvif.so
  48. LoadModule mime_module modules/mod_mime.so
  49. #LoadModule dav_module modules/mod_dav.so
  50. #LoadModule status_module modules/mod_status.so
  51. #LoadModule autoindex_module modules/mod_autoindex.so
  52. #LoadModule info_module modules/mod_info.so
  53. #LoadModule dav_fs_module modules/mod_dav_fs.so
  54. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  55. LoadModule negotiation_module modules/mod_negotiation.so
  56. LoadModule dir_module modules/mod_dir.so
  57. #LoadModule actions_module modules/mod_actions.so
  58. #LoadModule speling_module modules/mod_speling.so
  59. #LoadModule userdir_module modules/mod_userdir.so
  60. LoadModule alias_module modules/mod_alias.so
  61. LoadModule rewrite_module modules/mod_rewrite.so
  62. #LoadModule proxy_module modules/mod_proxy.so
  63. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  64. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  65. #LoadModule proxy_http_module modules/mod_proxy_http.so
  66. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  67. #LoadModule cache_module modules/mod_cache.so
  68. #LoadModule suexec_module modules/mod_suexec.so
  69. #LoadModule disk_cache_module modules/mod_disk_cache.so
  70. #LoadModule file_cache_module modules/mod_file_cache.so
  71. #LoadModule mem_cache_module modules/mod_mem_cache.so
  72. #LoadModule cgi_module modules/mod_cgi.so
  73. #LoadModule version_module modules/mod_version.so
  74.  
  75. Include conf.d/*.conf
  76.  
  77. User apache
  78. Group apache
  79.  
  80. ServerAdmin root@localhost
  81.  
  82. UseCanonicalName Off
  83.  
  84. DocumentRoot "/var/www/html"
  85.  
  86. <Directory />
  87.     Options FollowSymLinks
  88.     AllowOverride None
  89. </Directory>
  90.  
  91. <Directory "/var/www/html">
  92.     Options Indexes FollowSymLinks
  93.     AllowOverride None
  94.     Order allow,deny
  95.     Allow from all
  96. </Directory>
  97.  
  98. <IfModule mod_userdir.c>
  99.     UserDir disable
  100. </IfModule>
  101.  
  102. DirectoryIndex index.php index.html
  103. AccessFileName .htaccess
  104.  
  105. <Files ~ "^\.ht">
  106.     Order allow,deny
  107.     Deny from all
  108. </Files>
  109.  
  110. TypesConfig /etc/mime.types
  111. DefaultType text/plain
  112.  
  113. <IfModule mod_mime_magic.c>
  114.     MIMEMagicFile conf/magic
  115. </IfModule>
  116.  
  117. HostnameLookups Off
  118.  
  119. ErrorLog logs/error_log
  120. LogLevel warn
  121. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  122. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  123. LogFormat "%{Referer}i -> %U" referer
  124. LogFormat "%{User-agent}i" agent
  125. CustomLog logs/access_log combined
  126. ServerSignature Off
  127.  
  128. Alias /icons/ "/var/www/icons/"
  129.  
  130. <Directory "/var/www/icons">
  131.     Options Indexes MultiViews
  132.     AllowOverride None
  133.     Order allow,deny
  134.     Allow from all
  135. </Directory>
  136.  
  137. <IfModule mod_dav_fs.c>
  138.     DAVLockDB /var/lib/dav/lockdb
  139. </IfModule>
  140.  
  141. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  142.  
  143. <Directory "/var/www/cgi-bin">
  144.     AllowOverride None
  145.     Options None
  146.     Order allow,deny
  147.     Allow from all
  148. </Directory>
  149.  
  150. <IfModule mod_autoindex.c>
  151. IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
  152.  
  153. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  154.  
  155. AddIconByType (TXT,/icons/text.gif) text/*
  156. AddIconByType (IMG,/icons/image2.gif) image/*
  157. AddIconByType (SND,/icons/sound2.gif) audio/*
  158. AddIconByType (VID,/icons/movie.gif) video/*
  159.  
  160. AddIcon /icons/binary.gif .bin .exe
  161. AddIcon /icons/binhex.gif .hqx
  162. AddIcon /icons/tar.gif .tar
  163. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  164. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  165. AddIcon /icons/a.gif .ps .ai .eps
  166. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  167. AddIcon /icons/text.gif .txt
  168. AddIcon /icons/c.gif .c
  169. AddIcon /icons/p.gif .pl .py
  170. AddIcon /icons/f.gif .for
  171. AddIcon /icons/dvi.gif .dvi
  172. AddIcon /icons/uuencoded.gif .uu
  173. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  174. AddIcon /icons/tex.gif .tex
  175. AddIcon /icons/bomb.gif core
  176.  
  177. AddIcon /icons/back.gif ..
  178. AddIcon /icons/hand.right.gif README
  179. AddIcon /icons/folder.gif ^^DIRECTORY^^
  180. AddIcon /icons/blank.gif ^^BLANKICON^^
  181.  
  182. DefaultIcon /icons/unknown.gif
  183.  
  184. ReadmeName README.html
  185. HeaderName HEADER.html
  186. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  187. </IfModule>
  188.  
  189. AddLanguage ca .ca
  190. AddLanguage cs .cz .cs
  191. AddLanguage da .dk
  192. AddLanguage de .de
  193. AddLanguage el .el
  194. AddLanguage en .en
  195. AddLanguage eo .eo
  196. AddLanguage es .es
  197. AddLanguage et .et
  198. AddLanguage fr .fr
  199. AddLanguage he .he
  200. AddLanguage hr .hr
  201. AddLanguage it .it
  202. AddLanguage ja .ja
  203. AddLanguage ko .ko
  204. AddLanguage ltz .ltz
  205. AddLanguage nl .nl
  206. AddLanguage nn .nn
  207. AddLanguage no .no
  208. AddLanguage pl .po
  209. AddLanguage pt .pt
  210. AddLanguage pt-BR .pt-br
  211. AddLanguage ru .ru
  212. AddLanguage sv .sv
  213. AddLanguage zh-CN .zh-cn
  214. AddLanguage zh-TW .zh-tw
  215.  
  216. LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
  217. ForceLanguagePriority Prefer Fallback
  218.  
  219. AddDefaultCharset UTF-8
  220.  
  221. AddType application/x-compress .Z
  222. AddType application/x-gzip .gz .tgz
  223.  
  224. AddHandler type-map var
  225.  
  226. AddType text/html .shtml
  227. AddOutputFilter INCLUDES .shtml
  228.  
  229. Alias /error/ "/var/www/error/"
  230.  
  231. <IfModule mod_negotiation.c>
  232.         <IfModule mod_include.c>
  233.                 <Directory "/var/www/error">
  234.                         AllowOverride None
  235.                         Options IncludesNoExec
  236.                         AddOutputFilter Includes html
  237.                         AddHandler type-map var
  238.                         Order allow,deny
  239.                         Allow from all
  240.                         LanguagePriority en es de fr
  241.                         ForceLanguagePriority Prefer Fallback
  242.                 </Directory>
  243.         </IfModule>
  244. </IfModule>
  245.  
  246. BrowserMatch "Mozilla/2" nokeepalive
  247. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  248. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  249. BrowserMatch "Java/1\.0" force-response-1.0
  250. BrowserMatch "JDK/1\.0" force-response-1.0
  251.  
  252. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  253. BrowserMatch "MS FrontPage" redirect-carefully
  254. BrowserMatch "^WebDrive" redirect-carefully
  255. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  256. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  257. BrowserMatch "^XML Spy" redirect-carefully
  258. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  259.  
  260.  
  261. NameVirtualHost *:80
  262.  
  263.  
  264. Include hosts/*
  265.  
  266.  
  267.  
  268.  
  269. <VirtualHost *:80>
  270.  
  271.         ServerName blog.n.com
  272.         ServerAdmin webmaster@n.com
  273.         DocumentRoot /var/www/blog.n.com/htdocs
  274.         ErrorLog logs/blog.n.com-error_log
  275.         CustomLog logs/blog.n.com-access_log common
  276.         <Directory "/var/www/blog.n.com/htdocs">
  277.                 Options +FollowSymLinks
  278.                 AllowOverride All
  279.                 Order allow,deny
  280.                 Allow from all
  281.         </Directory>
  282. </VirtualHost>
  283.  
  284.  
  285. <VirtualHost *:80>
  286.  
  287.         ServerName about.n.com
  288.         ServerAdmin webmaster@n.com
  289.         DocumentRoot /var/www/about.n.com/htdocs
  290.         ErrorLog logs/about.n.com-error_log
  291.         CustomLog logs/about.n.com-access_log common
  292.         <Directory "/var/www/about.n.com/htdocs">
  293.                 Options +FollowSymLinks
  294.                 AllowOverride All
  295.                 Order allow,deny
  296.                 Allow from all
  297.         </Directory>
  298. </VirtualHost>
  299.  
  300.  
  301. # ...
  302.