|
75 | 75 | </a>
|
76 | 76 | </p>
|
77 | 77 | <p ng-show="version.expanded">
|
78 |
| - Donwload and install PHP version {{version.data.required}} from <a href="http://www.php.net" target="_blank">www.php.net</a> using this <a href="http://www.php.net/docs.php" target="_blank">PHP Documentation</a>. |
| 78 | + Download and install PHP version {{version.data.required}} from <a href="http://www.php.net" target="_blank">www.php.net</a> using this <a href="http://www.php.net/docs.php" target="_blank">PHP Documentation</a>. |
79 | 79 | </p>
|
80 | 80 | <p ng-show="version.expanded">If you need more help please call your hosting provider.</p>
|
81 | 81 | </div>
|
|
86 | 86 |
|
87 | 87 | </div>
|
88 | 88 |
|
89 |
| -<div id="php-rawpost" class="rediness-check-item" ng-show="rawpost.visible"> |
| 89 | +<div id="php-settings" class="rediness-check-item" ng-show="settings.visible"> |
90 | 90 |
|
91 |
| - <h3 class="readiness-check-title" ng-hide="version.processed"> |
| 91 | + <h3 class="readiness-check-title" ng-hide="settings.processed"> |
92 | 92 | Checking PHP Settings...
|
93 | 93 | </h3>
|
94 | 94 |
|
95 |
| - <div ng-show="rawpost.processed" ng-switch="rawpost.responseType"> |
| 95 | + <div ng-show="settings.processed" ng-switch="settings.responseType"> |
96 | 96 |
|
97 |
| - <div ng-switch-when="success" ng-init="updateOnSuccess(rawpost)"> |
| 97 | + <div ng-switch-when="success" ng-init="updateOnSuccess(settings)"> |
98 | 98 |
|
99 | 99 | <span class="readiness-check-icon icon-success-round"></span>
|
100 | 100 |
|
|
107 | 107 |
|
108 | 108 | </div>
|
109 | 109 |
|
110 |
| - <div class="readiness-check-item" ng-switch-default ng-init="updateOnError(rawpost)"> |
111 |
| - |
112 |
| - <div class="rediness-check-side"> |
113 |
| - <p class="side-title">Need Help?</p> |
114 |
| - <a href="http://php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data" target="_blank">PHP Documentation</a> |
115 |
| - </div> |
| 110 | + <div class="readiness-check-item" ng-switch-default ng-init="updateOnError(settings)"> |
116 | 111 |
|
117 | 112 | <span class="readiness-check-icon icon-failed-round"></span>
|
| 113 | + <h3 class="readiness-check-title">PHP Settings Check</h3> |
118 | 114 |
|
119 |
| - <div class="readiness-check-content"> |
120 |
| - <h3 class="readiness-check-title">PHP Settings Check</h3> |
121 |
| - <p> |
122 |
| - Your PHP Version is {{rawpost.data.version}}, but always_populate_raw_post_data = {{rawpost.data.ini}}. |
123 |
| - <a href="#php-rawpost" ng-click="updateOnExpand(rawpost)"> |
124 |
| - <span ng-hide="rawpost.expanded">Show detail</span> |
125 |
| - <span ng-show="rawpost.expanded">Hide detail</span> |
126 |
| - </a> |
127 |
| - </p> |
128 |
| - <p ng-show="rawpost.expanded"> |
129 |
| - $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will stop the installer from running. |
130 |
| - Please open your php.ini file and set always_populate_raw_post_data to -1. |
131 |
| - </p> |
132 |
| - <p ng-show="rawpost.expanded">If you need more help please call your hosting provider.</p> |
| 115 | + <div ng-show="settings.data.rawpost.error"> |
| 116 | + <div class="rediness-check-side"> |
| 117 | + <p class="side-title">Need Help?</p> |
| 118 | + <a href="http://php.net/manual/en/ini.core.php#ini.always-populate-settings-data" target="_blank">PHP Documentation</a> |
| 119 | + </div> |
| 120 | + <div class="readiness-check-content"> |
| 121 | + |
| 122 | + <p> |
| 123 | + Your PHP Version is {{settings.data.rawpost.version}}, but always_populate_raw_post_data = {{settings.data.rawpost.ini}}. |
| 124 | + <a href="#php-settings" ng-click="updateOnExpand(settings)"> |
| 125 | + <span ng-hide="settings.expanded">Show detail</span> |
| 126 | + <span ng-show="settings.expanded">Hide detail</span> |
| 127 | + </a> |
| 128 | + </p> |
| 129 | + <p ng-show="settings.expanded"> |
| 130 | + $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will stop the installer from running. |
| 131 | + Please open your php.ini file and set always_populate_raw_post_data to -1. |
| 132 | + </p> |
| 133 | + <p ng-show="settings.expanded">If you need more help please call your hosting provider.</p> |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + |
| 137 | + <div ng-show="settings.data.xdebug_max_nesting_level.error"> |
| 138 | + <div class="readiness-check-content"> |
| 139 | + <p> |
| 140 | + Magento2 requires xdebug.max_nesting_level to be set {{settings.data.xdebug_max_nesting_level.requiredLevel}} or more, |
| 141 | + but it set xdebug.max_nesting_level={{settings.data.xdebug_max_nesting_level.currentLevel}}. |
| 142 | + </p> |
| 143 | + </div> |
133 | 144 | </div>
|
134 | 145 |
|
135 | 146 | </div>
|
|
0 commit comments