Skip to content

Commit 377b568

Browse files
author
Safwan Khan
committed
MAGETWO-33491: [GITHUB] Setup Wizard Fails on DB Check [PHP 5.6] #1057 #1062
- Changes based on CR feedback.
1 parent e984bfc commit 377b568

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

setup/view/magento/setup/readiness-check/progress.phtml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<div id="php-rawpost" class="rediness-check-item" ng-show="rawpost.visible">
8989

9090
<h3 class="readiness-check-title" ng-hide="version.processed">
91-
Checking PHP Version and PHP Raw Post Data Settings...
91+
Checking PHP Settings...
9292
</h3>
9393

9494
<div ng-show="rawpost.processed" ng-switch="rawpost.responseType">
@@ -98,9 +98,9 @@
9898
<span class="readiness-check-icon icon-success-round"></span>
9999

100100
<div class="readiness-check-content">
101-
<h3 class="readiness-check-title">PHP Raw Post Data Check</h3>
101+
<h3 class="readiness-check-title">PHP Settings Check</h3>
102102
<p>
103-
You are not populating raw_post_data or your PHP version is less than 5.6.0
103+
Your PHP setting is correct.
104104
</p>
105105
</div>
106106

@@ -110,24 +110,23 @@
110110

111111
<div class="rediness-check-side">
112112
<p class="side-title">Need Help?</p>
113-
<a href="http://www.php.net/docs.php" target="_blank">PHP Documentation</a>
113+
<a href="http://php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data" target="_blank">PHP Documentation</a>
114114
</div>
115115

116116
<span class="readiness-check-icon icon-failed-round"></span>
117117

118118
<div class="readiness-check-content">
119-
<h3 class="readiness-check-title">PHP Raw Post Data Check</h3>
119+
<h3 class="readiness-check-title">PHP Settings Check</h3>
120120
<p>
121-
Your PHP Version is {{rawpost.data.version}}<br />
122-
always_populate_raw_post_data = {{rawpost.data.ini}}.
121+
Your PHP Version is {{rawpost.data.version}}, but always_populate_raw_post_data = {{rawpost.data.ini}}.
123122
<a href="#php-rawpost" ng-click="updateOnExpand(rawpost)">
124123
<span ng-hide="rawpost.expanded">Show detail</span>
125124
<span ng-show="rawpost.expanded">Hide detail</span>
126125
</a>
127126
</p>
128127
<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 (uncomment if necessary)
128+
$HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will stop the installer from running.
129+
Please open your php.ini file and set always_populate_raw_post_data to -1.
131130
</p>
132131
<p ng-show="rawpost.expanded">If you need more help please call your hosting provider.</p>
133132
</div>

0 commit comments

Comments
 (0)