config.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. <?php
  2. /*
  3. * ************** CAUTION **************
  4. *
  5. * DO NOT EDIT THIS FILE as it will be overridden by Composer as part of
  6. * the installation/update process. The original file resides in the
  7. * SensioDistributionBundle.
  8. *
  9. * ************** CAUTION **************
  10. */
  11. if (!isset($_SERVER['HTTP_HOST'])) {
  12. exit("This script cannot be run from the CLI. Run it from a browser.\n");
  13. }
  14. if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
  15. '127.0.0.1',
  16. '::1',
  17. ))) {
  18. header('HTTP/1.0 403 Forbidden');
  19. exit('This script is only accessible from localhost.');
  20. }
  21. require_once dirname(__FILE__).'/../var/SymfonyRequirements.php';
  22. $symfonyRequirements = new SymfonyRequirements();
  23. $majorProblems = $symfonyRequirements->getFailedRequirements();
  24. $minorProblems = $symfonyRequirements->getFailedRecommendations();
  25. $hasMajorProblems = (bool) count($majorProblems);
  26. $hasMinorProblems = (bool) count($minorProblems);
  27. ?>
  28. <!DOCTYPE html>
  29. <html>
  30. <head>
  31. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  32. <meta name="robots" content="noindex,nofollow" />
  33. <title>Symfony Configuration Checker</title>
  34. <style>
  35. /* styles copied from symfony framework bundle */
  36. html {
  37. background: #eee;
  38. }
  39. body {
  40. font: 11px Verdana, Arial, sans-serif;
  41. color: #333;
  42. }
  43. .sf-reset, .sf-reset .block, .sf-reset #message {
  44. margin: auto;
  45. }
  46. img {
  47. border: 0;
  48. }
  49. .clear {
  50. clear: both;
  51. height: 0;
  52. font-size: 0;
  53. line-height: 0;
  54. }
  55. .clear-fix:after {
  56. content: "\0020";
  57. display: block;
  58. height: 0;
  59. clear: both;
  60. visibility: hidden;
  61. }
  62. .clear-fix {
  63. display: inline-block;
  64. }
  65. * html .clear-fix {
  66. height: 1%;
  67. }
  68. .clear-fix {
  69. display: block;
  70. }
  71. .header {
  72. padding: 30px 30px 20px 30px;
  73. }
  74. .header-logo {
  75. float: left;
  76. }
  77. .search {
  78. float: right;
  79. padding-top: 20px;
  80. }
  81. .search label {
  82. line-height: 28px;
  83. vertical-align: middle;
  84. }
  85. .search input {
  86. width: 195px;
  87. font-size: 12px;
  88. border: 1px solid #dadada;
  89. background: #fff url(data:image/gif;base64,R0lGODlhAQAFAKIAAPX19e/v7/39/fr6+urq6gAAAAAAAAAAACH5BAAAAAAALAAAAAABAAUAAAMESAEjCQA7) repeat-x left top;
  90. padding: 5px 6px;
  91. color: #565656;
  92. }
  93. .search input[type="search"] {
  94. -webkit-appearance: textfield;
  95. }
  96. #content {
  97. width: 970px;
  98. margin: 0 auto;
  99. }
  100. #content pre {
  101. white-space: normal;
  102. font-family: Arial, Helvetica, sans-serif;
  103. }
  104. /*
  105. Copyright (c) 2010, Yahoo! Inc. All rights reserved.
  106. Code licensed under the BSD License:
  107. http://developer.yahoo.com/yui/license.html
  108. version: 3.1.2
  109. build: 56
  110. */
  111. .sf-reset div,.sf-reset dl,.sf-reset dt,.sf-reset dd,.sf-reset ul,.sf-reset ol,.sf-reset li,.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6,.sf-reset pre,.sf-reset code,.sf-reset form,.sf-reset fieldset,.sf-reset legend,.sf-reset input,.sf-reset textarea,.sf-reset p,.sf-reset blockquote,.sf-reset th,.sf-reset td{margin:0;padding:0;}.sf-reset table{border-collapse:collapse;border-spacing:0;}.sf-reset fieldset,.sf-reset img{border:0;}.sf-reset address,.sf-reset caption,.sf-reset cite,.sf-reset code,.sf-reset dfn,.sf-reset em,.sf-reset strong,.sf-reset th,.sf-reset var{font-style:normal;font-weight:normal;}.sf-reset li{list-style:none;}.sf-reset caption,.sf-reset th{text-align:left;}.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6{font-size:100%;font-weight:normal;}.sf-reset q:before,.sf-reset q:after{content:'';}.sf-reset abbr,.sf-reset acronym{border:0;font-variant:normal;}.sf-reset sup{vertical-align:text-top;}.sf-reset sub{vertical-align:text-bottom;}.sf-reset input,.sf-reset textarea,.sf-reset select{font-family:inherit;font-size:inherit;font-weight:inherit;}.sf-reset input,.sf-reset textarea,.sf-reset select{font-size:100%;}.sf-reset legend{color:#000;}
  112. .sf-reset abbr {
  113. border-bottom: 1px dotted #000;
  114. cursor: help;
  115. }
  116. .sf-reset p {
  117. font-size: 14px;
  118. line-height: 20px;
  119. padding-bottom: 20px;
  120. }
  121. .sf-reset strong {
  122. color: #313131;
  123. font-weight: bold;
  124. }
  125. .sf-reset a {
  126. color: #6c6159;
  127. }
  128. .sf-reset a img {
  129. border: none;
  130. }
  131. .sf-reset a:hover {
  132. text-decoration: underline;
  133. }
  134. .sf-reset em {
  135. font-style: italic;
  136. }
  137. .sf-reset h2,
  138. .sf-reset h3 {
  139. font-weight: bold;
  140. }
  141. .sf-reset h1 {
  142. font-family: Georgia, "Times New Roman", Times, serif;
  143. font-size: 20px;
  144. color: #313131;
  145. word-wrap: break-word;
  146. }
  147. .sf-reset li {
  148. padding-bottom: 10px;
  149. }
  150. .sf-reset .block {
  151. -moz-border-radius: 16px;
  152. -webkit-border-radius: 16px;
  153. border-radius: 16px;
  154. margin-bottom: 20px;
  155. background-color: #FFFFFF;
  156. border: 1px solid #dfdfdf;
  157. padding: 40px 50px;
  158. word-break: break-all;
  159. }
  160. .sf-reset h2 {
  161. font-size: 16px;
  162. font-family: Arial, Helvetica, sans-serif;
  163. }
  164. .sf-reset li a {
  165. background: none;
  166. color: #868686;
  167. text-decoration: none;
  168. }
  169. .sf-reset li a:hover {
  170. background: none;
  171. color: #313131;
  172. text-decoration: underline;
  173. }
  174. .sf-reset ol {
  175. padding: 10px 0;
  176. }
  177. .sf-reset ol li {
  178. list-style: decimal;
  179. margin-left: 20px;
  180. padding: 2px;
  181. padding-bottom: 20px;
  182. }
  183. .sf-reset ol ol li {
  184. list-style-position: inside;
  185. margin-left: 0;
  186. white-space: nowrap;
  187. font-size: 12px;
  188. padding-bottom: 0;
  189. }
  190. .sf-reset li .selected {
  191. background-color: #ffd;
  192. }
  193. .sf-button {
  194. display: -moz-inline-box;
  195. display: inline-block;
  196. text-align: center;
  197. vertical-align: middle;
  198. border: 0;
  199. background: transparent none;
  200. text-transform: uppercase;
  201. cursor: pointer;
  202. font: bold 11px Arial, Helvetica, sans-serif;
  203. }
  204. .sf-button span {
  205. text-decoration: none;
  206. display: block;
  207. height: 28px;
  208. float: left;
  209. }
  210. .sf-button .border-l {
  211. text-decoration: none;
  212. display: block;
  213. height: 28px;
  214. float: left;
  215. padding: 0 0 0 7px;
  216. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQtJREFUeNpiPHnyJAMakARiByDWYEGT8ADiYGVlZStubm5xlv///4MEQYoKZGRkQkRERLRYWVl5wYJQyXBZWdkwCQkJUxAHKgaWlAHSLqKiosb//v1DsYMFKGCvoqJiDmQzwXTAJYECulxcXNLoumCSoszMzDzoumDGghQwYZUECWIzkrAkSIIGOmlkLI10AiX//P379x8jIyMTNmPf/v79+ysLCwsvuiQoNi5//fr1Kch4dAyS3P/gwYMTQBP+wxwHw0xA4gkQ73v9+vUZdJ2w1Lf82bNn4iCHCQoKasHsZw4ODgbRIL8c+/Lly5M3b978Y2dn5wC6npkFLXnsAOKLjx49AmUHLYAAAwBoQubG016R5wAAAABJRU5ErkJggg==) no-repeat top left;
  217. }
  218. .sf-button .border-r {
  219. padding: 0 7px 0 0;
  220. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR1JREFUeNpiPHnyZCMDA8MNID5gZmb2nAEJMH7//v3N169fX969e/cYkL8WqGAHXPLv37//QYzfv39/fvPmzbUnT56sAXInmJub/2H5/x8sx8DCwsIrISFhDmQyPX78+CmQXs70798/BmQsKipqBNTgdvz4cWkmkE5kDATMioqKZkCFdiwg1eiAi4tLGqhQF24nMmBmZuYEigth1QkEbEBxTlySYPvJkwSJ00AnjYylgU6gxB8g/oFVEphkvgLF32KNMmCCewYUv4qhEyj47+HDhyeBzIMYOoEp8CxQw56wsLAncJ1//vz5/P79+2svX74EJc2V4BT58+fPd8CE/QKYHMGJOiIiAp6oWW7evDkNSF8DZYfIyEiU7AAQYACJ2vxVdJW4eQAAAABJRU5ErkJggg==) right top no-repeat;
  221. }
  222. .sf-button .btn-bg {
  223. padding: 0 14px;
  224. color: #636363;
  225. line-height: 28px;
  226. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAYAAACgXdXMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiPnny5EKGf//+/Wf6//8/A4QAcrGzKCZwGc9sa2urBBBgAIbDUoYVp9lmAAAAAElFTkSuQmCC) repeat-x top left;
  227. }
  228. .sf-button:hover .border-l,
  229. .sf-button-selected .border-l {
  230. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR9JREFUeNpi/P//PwMyOHfunDqQSgNiexZkibNnzxYBqZa3HOs5v7PcYQBLnjlzhg1IbfzIdsTjA/t+ht9Mr8GKwZL//v3r+sB+0OMN+zqIEf8gFMvJkyd1gXTOa9YNDP//otrPAtSV/Jp9HfPff78Z0AEL0LUeXxivMfxD0wXTqfjj/2ugkf+wSrL9/YtpJEyS4S8WI5Ek/+GR/POPFjr//cenE6/kP9q4Fo/kr39/mdj+M/zFkGQCSj5i+ccPjLJ/GBgkuYOHQR1sNDpmAkb2LBmWwL///zKCIxwZM0VHR18G6p4uxeLLAA4tJMwEshiou1iMxXaHLGswA+t/YbhORuQUv2DBAnCifvxzI+enP3dQJUFg/vz5sOzgBBBgAPxX9j0YnH4JAAAAAElFTkSuQmCC) no-repeat top left;
  231. }
  232. .sf-button:hover .border-r,
  233. .sf-button-selected .border-r {
  234. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAcCAYAAACtQ6WLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT5JREFUeNpiPHv27BkGBoaDQDzLyMjoJgMSYHrM3WX8hn1d0f///88DFRYhSzIuv2X5H8Rg/SfKIPDTkYH/l80OINffxMTkF9O/f/8ZQPgnwyuGl+wrGd6x7vf49+9fO9jYf3+Bkkj4NesmBqAV+SdPntQC6vzHgIz//gOawbqOGchOxtAJwp8Zr4F0e7D8/fuPAR38/P8eZIo0yz8skv8YvoIk+YE6/zNgAyD7sRqLkPzzjxY6/+HS+R+fTkZ8djLh08lCUCcuSWawJGbwMTGwg7zyBatX2Bj5QZKPsBrLzaICktzN8g/NWEYGZgYZjoC/wMiei5FMpFh8QPSU6Ojoy3Cd7EwiDBJsDgxiLNY7gLrKQGIsHAxSDHxAO2TZ/b8D+TVxcXF9MCtYtLiKLgDpfUDVsxITE1GyA0CAAQA2E/N8VuHyAAAAAABJRU5ErkJggg==) right top no-repeat;
  235. }
  236. .sf-button:hover .btn-bg,
  237. .sf-button-selected .btn-bg {
  238. color: #FFFFFF;
  239. text-shadow:0 1px 1px #6b9311;
  240. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEFJREFUeNpiPnv2LNMdvlymf///M/37B8R/QfQ/MP33L4j+B6Qh7L9//sHpf2h8MA1V+w/KRjYLaDaLCU8vQIABAFO3TxZriO4yAAAAAElFTkSuQmCC) repeat-x top left;
  241. }
  242. /* styles copied from bundles/sensiodistribution/webconfigurator/css/install.css */
  243. body {
  244. font-size: 14px;
  245. font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  246. }
  247. .sf-reset h1.title {
  248. font-size: 45px;
  249. padding-bottom: 30px;
  250. }
  251. .sf-reset h2 {
  252. font-weight: bold;
  253. color: #FFFFFF;
  254. /* Font is reset to sans-serif (like body) */
  255. font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  256. margin-bottom: 10px;
  257. background-color: #aacd4e;
  258. padding: 2px 4px;
  259. display: inline-block;
  260. text-transform: uppercase;
  261. }
  262. .sf-reset ul a,
  263. .sf-reset ul a:hover {
  264. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpiYACBjjOhDEiACSggCKTLgXQ5TJARqhIkcReIKxgqTGYxwvV0nDEGkmeAOIwJySiQ4HsgvseIpGo3ELsCtZ9lRDIvDCiwhwHJPEFkJwEEGACq6hdnax8y1AAAAABJRU5ErkJggg==) no-repeat right 7px;
  265. padding-right: 10px;
  266. }
  267. .sf-reset ul, ol {
  268. padding-left: 20px;
  269. }
  270. .sf-reset li {
  271. padding-bottom: 18px;
  272. }
  273. .sf-reset ol li {
  274. list-style-type: decimal;
  275. }
  276. .sf-reset ul li {
  277. list-style-type: none;
  278. }
  279. .sf-reset .symfony-blocks-install {
  280. overflow: hidden;
  281. }
  282. .sf-reset .symfony-install-continue {
  283. font-size: 0.95em;
  284. padding-left: 0;
  285. }
  286. .sf-reset .symfony-install-continue li {
  287. padding-bottom: 10px;
  288. }
  289. .sf-reset .ok {
  290. color: #fff;
  291. font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  292. background-color: #6d6;
  293. padding: 10px;
  294. margin-bottom: 20px;
  295. }
  296. .sf-reset .ko {
  297. background-color: #d66;
  298. }
  299. .sf-reset p.help {
  300. padding: 12px 16px;
  301. word-break: break-word;
  302. }
  303. .version {
  304. text-align: right;
  305. font-size: 10px;
  306. margin-right: 20px;
  307. }
  308. .sf-reset a,
  309. .sf-reset li a {
  310. color: #08C;
  311. text-decoration: none;
  312. }
  313. .sf-reset a:hover,
  314. .sf-reset li a:hover {
  315. color: #08C;
  316. text-decoration: underline;
  317. }
  318. .sf-reset textarea {
  319. padding: 7px;
  320. }
  321. </style>
  322. </head>
  323. <body>
  324. <div id="content">
  325. <div class="header clear-fix">
  326. <div class="header-logo">
  327. <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAAA+CAMAAACxzRGDAAAAUVBMVEX////Ly8yko6WLioxkYmVXVVkwLjLl5eWxsLJKSEzy8vJxcHLY2Ni+vb89Oz9XVVh+fH+Yl5n///+xsbLY2Nlxb3KkpKWXlph+fX+LiYy+vr/IZP61AAAAAXRSTlMAQObYZgAABRBJREFUeNrVmtuWoyAQRS1FEEQSzQU7//+hYxUiXsKQZLJWM+chsUloN+WhCuguYoKyYqzmvGasKqH4HyRKxndipcgcumH8qViTM7TkUclcwaHmf5XM0eWq4km1KjdqXfMXJHVe1J3hL8lk5fCGv6wmT+o0d87U+XNrk0Y9nfv+7LM6ZJH5ZBL6LAbSxQ3Q5FDr22Skr8PQSy4n7isnsQxSX4r6pobhjCHHeDNOKrO3yGmCvZOjV9jmt8ulTdXFKdbKLNh+kOMvBzuVRa4Y7MUsdEUSWQe7xxCfZmcwjHU83LqzFvSbJQOXQvptbPnEFoyZtUUGwTeKuLuTHyT1kaP0P6cR01OKvv448gtl61dqZfmJezQmU/t+1R2fJLtBwXV6uWGwB9SZPrn0fKO2WAvQN1PUhHjTom3xgXYTkvlSKHs19OhslETq6X3HrXbjt8XbGj9b4Gi+lUAnL6XxQj8Pyk9N4Bt1xUrsLVN/3isYMug8rODMdbgOvoHs8uAb2fcANIAzkKCLYy+AXRpSU8sr1r4P67xhLgPp7vM32zlqt7Bhq2fI1Hwp+VgANxok59SsGV3oqdUL0YVDMRY7Yg8QLbVUU4NZNoOq5hJHuxEM28Sh/IyUZ8D3reR+yc58EGvOy2U0HQL6G9V+kWyEWHmzaMx6t4o9RhOm/riUiYrzqij4Ptqkn7AaCXqc+F47m04ahfde7YIz8RHEBN6BdVwdIGRVdNbKqYu1Hc0x0wBY4wqC8+XUgBGnj81SZsQB+0yAS1x/BlI/6ebHHk0lauQLuPDpu6EwAVJ7T0rl2uXa23jcqNyOZekhqYHRz3JOANrF4wCCmEs1f9D1lUe0n4NAATed80Y5e0Q7CO2TezM/BR6wKdgQzKbCF4uOQC3Bk0fKAzbFlyRWg3gksA/gmm7eOjrpaKX7fHlEW2xLbE6GZsPiCiShVzN7RG2xTz2G+OJtEqzdJ7APxy3MrSsV0VukXbKMp9lhs5BN6dr3CN+sySUaoxGwfRUM3I/gdPYONgVU+PLX4vUWm32AvUySarbONvcpV2RQEPKKjEBHFk01kQDGRblnn8ZuE9g+JUl8OWAPbkFK2K6JxhJVvF47FzYYnAN22ttwxKYCoH36rheEB7KG/HF/YUaa2G5JF+55tpyrl7B1WHM39HuP2N2EXPl1UBu8vbj4OjvD+NoTE4ssF+ScARgaJY1N7+u8bY/Y9BSM5PKwJbvMVab32YP5FB5TtcYVrGoASolVLTzI7kVsYVxRtAb5n2JXq1vCdtd47XtYItynrN0835PasLg0y13aOPbmPI+on2Lr9e5tjSHvgkAvclUjL3Fsdaw03IzgTR62yYClk7QMah4IQ0qSsoYYbOix6zJR1ZGDNMOY3Bb6W5S6jiyovep3t7bUPyoq7OkjYumrfESp8zSBc/OLosVf+nTnnKjsqR16++WDwpI8FxJWRFTlI6NKnqYJaL96TqjAbo9Toi5QiWBDcmfdFV+T8dkvFe5bItgstbM2X6QG2mVun+cazfRwOS0eiaeRRJKgLfc3BQAqfnhJyz8lfR6580SF/FXVu83Nz1xrrnFqqXL6Qxl47DNSm4RFflvN5sABDD8peouqLLKQXVdGbnqf+qIpOxON4ZyYdJEJ6sy4zS2c5eRPTT4Jyp46qDE5/ptAWqJOQ9e6yE82FXBbZCk1/tXVoshVoopE3CB0zmraI3nbqCJ/gW3ZMgtbC5nh/QHlOoOZBxQCRgAAAABJRU5ErkJggg==" alt="Symfony" />
  328. </div>
  329. <div class="search">
  330. <form method="get" action="http://symfony.com/search">
  331. <div class="form-row">
  332. <label for="search-id">
  333. <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABUElEQVQoz2NgAIJ29iBdD0d7X2cPb+tY2f9MDMjgP2O2hKu7vS8CBlisZUNSMJ3fxRMkXO61wm2ue6I3iB1q8Z8ZriDZFCS03fm/wX+1/xp/TBo8QPxeqf+MUAW+QIFKj/+q/wX/c/3n/i/6Qd/bx943z/Q/K1SBI1D9fKv/AhCn/Wf5L5EHdFGKw39OqAIXoPpOMziX4T9/DFBBnuN/HqhAEtCKCNf/XDA/rZRyAmrpsvrPDVUw3wrkqCiLaewg6TohX1d7X0ffs5r/OaAKfinmgt3t4ulr4+Xg4ANip3j+l/zPArNT4LNOD0pAgWCSOUIBy3+h/+pXbBa5tni0eMx23+/mB1YSYnENroT5Pw/QSOX/mkCo+l/jgo0v2KJA643s8PgAmsMBDCbu/5xALHPB2husxN9uCzsDOgAq5kAoaZVnYMCh5Ky1r88Eh/+iABM8jUk7ClYIAAAAAElFTkSuQmCC" alt="Search on Symfony website" />
  334. </label>
  335. <input name="q" id="search-id" type="search" placeholder="Search on Symfony website" />
  336. <button type="submit" class="sf-button">
  337. <span class="border-l">
  338. <span class="border-r">
  339. <span class="btn-bg">OK</span>
  340. </span>
  341. </span>
  342. </button>
  343. </div>
  344. </form>
  345. </div>
  346. </div>
  347. <div class="sf-reset">
  348. <div class="block">
  349. <div class="symfony-block-content">
  350. <h1 class="title">Configuration Checker</h1>
  351. <p>
  352. This script analyzes your system to check whether is
  353. ready to run Symfony applications.
  354. </p>
  355. <?php if ($hasMajorProblems): ?>
  356. <h2 class="ko">Major problems</h2>
  357. <p>Major problems have been detected and <strong>must</strong> be fixed before continuing:</p>
  358. <ol>
  359. <?php foreach ($majorProblems as $problem): ?>
  360. <li><?php echo $problem->getTestMessage() ?>
  361. <p class="help"><em><?php echo $problem->getHelpHtml() ?></em></p>
  362. </li>
  363. <?php endforeach; ?>
  364. </ol>
  365. <?php endif; ?>
  366. <?php if ($hasMinorProblems): ?>
  367. <h2>Recommendations</h2>
  368. <p>
  369. <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience,
  370. it’s recommended that you fix the following:
  371. </p>
  372. <ol>
  373. <?php foreach ($minorProblems as $problem): ?>
  374. <li><?php echo $problem->getTestMessage() ?>
  375. <p class="help"><em><?php echo $problem->getHelpHtml() ?></em></p>
  376. </li>
  377. <?php endforeach; ?>
  378. </ol>
  379. <?php endif; ?>
  380. <?php if ($symfonyRequirements->hasPhpIniConfigIssue()): ?>
  381. <p id="phpini">*
  382. <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?>
  383. Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>".
  384. <?php else: ?>
  385. To change settings, create a "<strong>php.ini</strong>".
  386. <?php endif; ?>
  387. </p>
  388. <?php endif; ?>
  389. <?php if (!$hasMajorProblems && !$hasMinorProblems): ?>
  390. <p class="ok">All checks passed successfully. Your system is ready to run Symfony applications.</p>
  391. <?php endif; ?>
  392. <ul class="symfony-install-continue">
  393. <?php if ($hasMajorProblems || $hasMinorProblems): ?>
  394. <li><a href="config.php">Re-check configuration</a></li>
  395. <?php endif; ?>
  396. </ul>
  397. </div>
  398. </div>
  399. </div>
  400. <div class="version">Symfony Standard Edition</div>
  401. </div>
  402. </body>
  403. </html>