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FNaBH+PMShHDNifQxmvIijvhDaL
|
|
|
115 |
i6ecA4NxA0PrOFmIsJi+C23xBLhMSe/UidQVsQGFSCC+IuaYvWHwi+TTdaDRDKvIx7vaME4kZnEf
|
|
|
116 |
hrbZhSy7DliIcwzaOLrGLQqLStxH8V7rm2hIk2RNhLXzRhZmG60Z0MmLXP8WBugRHuWJcspsd3qA
|
|
|
117 |
yWzyCFzLkZ7nTVNEHQ+BazvZ8Lri7ts7wZV+D9vzKpFtGW+BuogyFjAKrpOQkJCQkJCQkJCQkJCE
|
|
|
118 |
l/8Df+8XDp+g0JUAAAAASUVORK5CYII=
|
|
|
119 |
IMAGE;
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
header('Content-type: image/png');
|
|
|
123 |
echo base64_decode($data);
|
|
|
124 |
exit;
|
|
|
125 |
}
|
|
|
126 |
elseif (isset($_GET['background']))
|
|
|
127 |
{
|
|
|
128 |
$data = <<<IMAGE
|
|
|
129 |
R0lGODlhMAEeAeYAAP///8ni6cTf5+72+PD3+c3k6+nz9ufy9ev099Pn7bnZ48bg6LfY4uHv8/r8
|
|
|
130 |
/f3+/v7//7bX4cjh6fj7/Mvj6vz9/rva4+z19/X6+/f7/Pn8/fb6+7jZ4vv9/bra473b5Lzb5LXX
|
|
|
131 |
4b7c5b/c5e31+NTo7tvs8dfq7/H3+bjY4tnq79Hm7c/l69nr8PL4+t7t8sDd5cLe5uPw9Nvr8Mri
|
|
|
132 |
6fP4+tLn7er099Hm7O/2+dDm7OTw9OXx9Nbp7tbp7+Lv8+Du8szj6sXg57bY4d3s8djq7+jz9tzs
|
|
|
133 |
8cPe58fh6M7k68Pf5+by9fz+/sDd5vT5+vT5+97t8bbY4trr8P7+/v7+/+Pw8+Xx9dXo7sHe5vH4
|
|
|
134 |
+fP5+sHd5t/u8s/l7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
|
135 |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5
|
|
|
136 |
BAAAAAAALAAAAAAwAR4BAAf/gCGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKNEaWm
|
|
|
137 |
p6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExbBDyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7K
|
|
|
138 |
UuHi4+Tl5ufo6err7O3u7/Dx8vP09fb34wz6+/z9/v8AAwocSLCgwYMIEypcyLChw4cQI0qcSLGi
|
|
|
139 |
xYsYM2osmKKjx48gQ4ocSbKkyZMoU6pcybKly5cwY8qc+ZGDzZs4c+rcybOnz59AgwodSrSo0aNI
|
|
|
140 |
kypdyrSp06dQo0qdSrWq1aAKsmrdyrWr169gw4odS7as2bNo06pdy7at27dw/+PKnUu3rt27ePOS
|
|
|
141 |
9cC3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5suXLmDNr3sz5sIXPoEOLHk26tOnTqFOrXs26
|
|
|
142 |
tevXsGPLnk27tu3buHPr3s27t+/fqkEIH068uPHjyJMrX868ufPn0KNLn069uvXr2LNr3869u/fv
|
|
|
143 |
4MOLb/6hvPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFgifCAgmqOCCDDbo4IMQ
|
|
|
144 |
RijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okoTjjCiiy26OKLMMYo44w01mjjjTjmqOOOPPbo
|
|
|
145 |
449ABinkkEQWaeSRSCap5P+SNsLg5JNQRinllFRWaeWVWGap5ZZcdunll2CGKeaYZELpxJlopqnm
|
|
|
146 |
mmy26eabcMYp55x01mnnnXjmqeeefPaZJheABirooIQWauihiCaq6KKMNuroo5BGKumklFZqqaBZ
|
|
|
147 |
ZKrpppx26umnoIYq6qiklmrqqaimquqqrLbq6qubxiDrrLTWauutuOaq66689urrr8AGK+ywxBZr
|
|
|
148 |
7LHI0orEssw26+yz0EYr7bTUVmvttdhmq+223Hbr7bfghtvsEuSWa+656Kar7rrstuvuu/DGK++8
|
|
|
149 |
9NZr77345quvuQL06++/AAcs8MAEF2zwwQgnrPDCDDfs8MMQRyzxxBRXbPH/xRhnrPHGHHeMsBAg
|
|
|
150 |
hyzyyCSXbPLJKKes8sost+zyyzDHLPPMNNdss8gL5Kzzzjz37PPPQAct9NBEF2300UgnrfTSTDft
|
|
|
151 |
9NNQRy311FRXbfXVWGdNdBJcd+3112CHLfbYZJdt9tlop6322my37fbbcMctt9cS1G333Xjnrffe
|
|
|
152 |
fPft99+ABy744IQXbvjhiCeu+OKMN+7445BHLvnklFcOeACYZ6755px37vnnoIcu+uikl2766ain
|
|
|
153 |
rvrqrLfu+uuwxy777LTXbvvtuI9Ow+689+7778AHL/zwxBdv/PHIJ6/88sw37/zz0EffOwXUV2/9
|
|
|
154 |
9dhnr/323Hfv/ffghy/+//jkl2/++einr/767Lfv/vvwxy///PR/H8T9+Oev//789+///wAMoAAH
|
|
|
155 |
SMACGvCACEygAhfIwAbmrwAQjKAEJ0jBClrwghjMoAY3yMEOevCDIAyhCEdIwhKa8IQoTKEKV8jC
|
|
|
156 |
FrrwhTDcoBJmSMMa2vCGOMyhDnfIwx768IdADKIQh0jEIhrxiEhMYg1ZwMQmOvGJUIyiFKdIxSpa
|
|
|
157 |
8YpYzKIWt8jFLnrxi2AMoxid6IUymvGMaEyjGtfIxja68Y1wjKMc50jHOtrxjnjMox73eEYd+PGP
|
|
|
158 |
gAykIAdJyEIa8pCITKQiF8nIRjrykZCMpCQnSUlA4uCSmMykJjfJyU568v+ToAylKEdJylKa8pSo
|
|
|
159 |
TKUqV8nKVmZyBbCMpSxnScta2vKWuMylLnfJy1768pfADKYwh0nMYhpTljZIpjKXycxmOvOZ0Iym
|
|
|
160 |
NKdJzWpa85rYzKY2t8nNbnrzm8tMgDjHSc5ymvOc6EynOtfJzna6853wjKc850nPetrznvjMpz73
|
|
|
161 |
yc9++vOfAA2oQNtZgoIa9KAITahCF8rQhjr0oRCNqEQnStGKWvSiGM2oRjd6UCx49KMgDalIR0rS
|
|
|
162 |
kpr0pChNqUpXytKWuvSlMI2pTGdKU5D24KY4zalOd8rTnvr0p0ANqlCHStSiGvWoSE2qUpfK1Kbm
|
|
|
163 |
1AdQjapUp0rVqlr1qlj/zapWt8rVrnr1q2ANq1jHStaymlWqJ0irWtfK1ra69a1wjatc50rXutr1
|
|
|
164 |
rnjNq173yte++vWvay2CYAdL2MIa9rCITaxiF8vYxjr2sZCNrGQnS9nKWvaymCWsCjbL2c569rOg
|
|
|
165 |
Da1oR0va0pr2tKhNrWpXy9rWuva1sI1tZ1tA29ra9ra4za1ud8vb3vr2t8ANrnCHS9ziGve4yE2u
|
|
|
166 |
cm07heY697nQja50p0vd6lr3utjNrna3y93ueve74A2veMf73BmY97zoTa9618ve9rr3vfCNr3zn
|
|
|
167 |
S9/62ve++M2vfvfLX/Sa4L8ADrCAB0zgAhv4wAhOsIIXzOAGO/jBEI6w/4QnTOEKB/gIGM6whjfM
|
|
|
168 |
4Q57+MMgDrGIR0ziEpv4xChOsYpXzOIWu1jDRIixjGdM4xrb+MY4zrGOd8zjHvv4x0AOspCHTOQi
|
|
|
169 |
G/nIM46CkpfM5CY7+clQjrKUp0zlKlv5yljOspa3zOUue/nLYGbyC8ZM5jKb+cxoTrOa18zmNrv5
|
|
|
170 |
zXCOs5znTOc62/nOeM5zmbvA5z77+c+ADrSgB03oQhv60IhOtKIXzehGO/rRkI60pP0MhEpb+tKY
|
|
|
171 |
zrSmN83pTnv606AOtahHTepSm/rUqE61qld96Qa4+tWwjrWsZ03rWtv61rjOta53zete+/rXwA62
|
|
|
172 |
sIdN7GIb+9jITrayl//N7GY7O9c/iLa0p03talv72tjOtra3ze1ue/vb4A63uMdN7nKb+9zTtoK6
|
|
|
173 |
183udrv73fCOt7znTe962/ve+M63vvfN7377+98AZ7cMBk7wghv84AhPuMIXzvCGO/zhEI+4xCdO
|
|
|
174 |
8Ypb/OIYz3jBd8Dxjnv84yAPuchHTvKSm/zkKE+5ylfO8pa7/OUwj7nMPc6Dmtv85jjPuc53zvOe
|
|
|
175 |
+/znQA+60IdO9KIb/ehIT7rSl37zKzj96VCPutSnTvWqW/3qWM+61rfO9a57/etgD7vYx052qDPh
|
|
|
176 |
7GhPu9rXzva2u/3tcI+73OdO97rb/e54z7ve9873vqf9AIAPvOAHT/j/whv+8IhPvOIXz/jGO/7x
|
|
|
177 |
kI+85CdP+cpb/vKYz7zmN8/5znv+86BfvBFGT/rSm/70qE+96lfP+ta7/vWwj73sZ0/72tv+9rjP
|
|
|
178 |
fekNwPve+/73wA++8IdP/OIb//jIT77yl8/85jv/+dCPvvSnT/3qW//62M++9rfP/ePf4PvgD7/4
|
|
|
179 |
x0/+8pv//OhPv/rXz/72u//98I+//OdP//qHHwH4z7/+98///vv//wAYgAI4gARYgAZ4gAiYgAq4
|
|
|
180 |
gAzYgA74gBAYgRI4gRRYgRZ4gRg4gBewgRzYgR74gSAYgiI4giRYgiZ4giiYgiq4gizYgi74gjAY
|
|
|
181 |
gzI4gzRYgzZ4gziY/4M6uIMmSAI++INAGIRCOIREWIRGeIRImIRKuIRM2IRO+IRQGIVSOIVUCIQD
|
|
|
182 |
cIVYmIVauIVc2IVe+IVgGIZiOIZkWIZmeIZomIZquIZs2IZu+IZwGIdyOId0WId2eIdimAN6uId8
|
|
|
183 |
2Id++IeAGIiCOIiEWIiGeIiImIiKuIiM2IiO+IiQyIcEMImUWImWeImYmImauImc2Ime+ImgGIqi
|
|
|
184 |
OIqkWIqmeIqomIqquIqs2Iqu+IqwGIuyOIueiAK2eIu4mIu6uIu82Iu++IvAGIzCOIzEWIzGeIzI
|
|
|
185 |
mIzKuIzMiIta8IzQGI3SOI3UWI3WeI3YmI3auI3c2I3e+I3gGI7iOP+O5FiO0egC6JiO6riO7NiO
|
|
|
186 |
7viO8BiP8jiP9FiP9niP+JiP+riP/NiP/qiONRCQAjmQBFmQBnmQCJmQCrm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weq3Ymq3a
|
|
|
199 |
uq3c2q3e+q3gGv+u4jqu5Fqu5nqu6EqtELCu7Nqu7vqu8Bqv8jqv9Fqv9nqv+Jqv+rqv/Nqv/vqv
|
|
|
200 |
ABuwAjuwBFuwBnuwCJuwCruw9goADvuwEBuxEjuxFFuxFnuxGJuxGruxHNuxHvuxIBuyIjuyJFuy
|
|
|
201 |
JnuyKJuyKruyLNuyLvuyMBuzMjuzNFuzNnuzOJuzOruzPNuzPvuzQBu0Qju0RFu0Rnu0SJu0Sru0
|
|
|
202 |
TNu0Tvu0UBu1Uju1VFu1Vnu1WJu1Wru1XNu1Xvu1YBu2Yju2ZFu2Znu2aJu2aru2bNu2bvu2cBu3
|
|
|
203 |
cju3dFu3dnu3eJu3eru3fNu3fvu3gBu4gju4hFu4hnu4iJu4irv/uIzbuI77uJAbuZI7uZRbuZZ7
|
|
|
204 |
uZibuZq7uZzbuZ77uaAbuqI7uqRbuqZ7uqibuqq7uqzbuq77urAbu7I7u7Rbu7Z7u7ibu7q7u7zb
|
|
|
205 |
u777u8AbvMI7vMRbvMZ7vMibvMq7vMzbvM77vNAbvdI7vdRbvdZ7vdibvdq7vdzbvd77veAbvuI7
|
|
|
206 |
vuRbvuZ7vuibvuq7vuzbvu77vvAbv/I7v/Rbv/Z7v/ibv/q7v/zbv/77vwAcwAI8wARcwAZ8wAic
|
|
|
207 |
wAq8wAzcwA78wBAcwRI8wRRcwRZ8wRicwRq8wRzcwR78wSAcwiI8wiRcwiZ8wiicwiq8wizcwi78
|
|
|
208 |
wjAcwzI8wzRcFcM2fMM4nMM6vMM83MM+/MNArLmBAAA7
|
|
|
209 |
IMAGE;
|
|
|
210 |
|
|
|
211 |
header('Content-type: image/gif');
|
|
|
212 |
echo base64_decode($data);
|
|
|
213 |
exit;
|
|
|
214 |
}
|
|
|
215 |
elseif (isset($_GET['loader']))
|
|
|
216 |
{
|
|
|
217 |
$data = <<<IMAGE
|
|
|
218 |
R0lGODlhEAALAPQAAP///wBmzNro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MAGE;
|
|
|
232 |
header('Content-type: image/gif');
|
|
|
233 |
echo base64_decode($data);
|
|
|
234 |
exit;
|
|
|
235 |
}
|
|
|
236 |
elseif (isset($_GET['ssl_check']))
|
|
|
237 |
{
|
|
|
238 |
header('Content-type: text/plain; charset=utf-8');
|
|
|
239 |
|
|
|
240 |
$ch = curl_init();
|
|
|
241 |
curl_setopt($ch, CURLOPT_URL, 'https://email.us-east-1.amazonaws.com');
|
|
|
242 |
curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
|
|
|
243 |
curl_setopt($ch, CURLOPT_HEADER, false);
|
|
|
244 |
curl_setopt($ch, CURLOPT_NOBODY, true);
|
|
|
245 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
|
|
246 |
curl_setopt($ch, CURLOPT_TIMEOUT, 5184000);
|
|
|
247 |
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 120);
|
|
|
248 |
curl_setopt($ch, CURLOPT_NOSIGNAL, true);
|
|
|
249 |
curl_setopt($ch, CURLOPT_USERAGENT, 'aws-sdk-php/compat-www');
|
|
|
250 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
|
|
251 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);
|
|
|
252 |
curl_setopt($ch, CURLOPT_VERBOSE, true);
|
|
|
253 |
|
|
|
254 |
curl_exec($ch);
|
|
|
255 |
echo (curl_getinfo($ch, CURLINFO_SSL_VERIFYRESULT) === 0) ? 'false' : 'true';
|
|
|
256 |
curl_close($ch);
|
|
|
257 |
|
|
|
258 |
exit;
|
|
|
259 |
}
|
|
|
260 |
|
|
|
261 |
// Required
|
|
|
262 |
$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.2.0', '>='));
|
|
|
263 |
$simplexml_ok = extension_loaded('simplexml');
|
|
|
264 |
$dom_ok = extension_loaded('dom');
|
|
|
265 |
$json_ok = (extension_loaded('json') && function_exists('json_encode') && function_exists('json_decode'));
|
|
|
266 |
$spl_ok = extension_loaded('spl');
|
|
|
267 |
$pcre_ok = extension_loaded('pcre');
|
|
|
268 |
if (function_exists('curl_version'))
|
|
|
269 |
{
|
|
|
270 |
$curl_version = curl_version();
|
|
|
271 |
$curl_ok = (function_exists('curl_exec') && in_array('https', $curl_version['protocols'], true));
|
|
|
272 |
}
|
|
|
273 |
$file_ok = (function_exists('file_get_contents') && function_exists('file_put_contents'));
|
|
|
274 |
|
|
|
275 |
// Optional, but recommended
|
|
|
276 |
$openssl_ok = (extension_loaded('openssl') && function_exists('openssl_sign'));
|
|
|
277 |
$zlib_ok = extension_loaded('zlib');
|
|
|
278 |
|
|
|
279 |
// Optional
|
|
|
280 |
$apc_ok = extension_loaded('apc');
|
|
|
281 |
$xcache_ok = extension_loaded('xcache');
|
|
|
282 |
$memcached_ok = extension_loaded('memcached');
|
|
|
283 |
$memcache_ok = extension_loaded('memcache');
|
|
|
284 |
$mc_ok = ($memcache_ok || $memcached_ok);
|
|
|
285 |
$pdo_ok = extension_loaded('pdo');
|
|
|
286 |
$pdo_sqlite_ok = extension_loaded('pdo_sqlite');
|
|
|
287 |
$sqlite2_ok = extension_loaded('sqlite');
|
|
|
288 |
$sqlite3_ok = extension_loaded('sqlite3');
|
|
|
289 |
$sqlite_ok = ($pdo_ok && $pdo_sqlite_ok && ($sqlite2_ok || $sqlite3_ok));
|
|
|
290 |
|
|
|
291 |
// Other
|
|
|
292 |
$int64_ok = (PHP_INT_MAX === 9223372036854775807);
|
|
|
293 |
$ini_memory_limit = get_ini('memory_limit');
|
|
|
294 |
$ini_open_basedir = get_ini('open_basedir');
|
|
|
295 |
$ini_safe_mode = get_ini('safe_mode');
|
|
|
296 |
$ini_zend_enable_gc = get_ini('zend.enable_gc');
|
|
|
297 |
|
|
|
298 |
function get_ini($config)
|
|
|
299 |
{
|
|
|
300 |
$cfg_value = ini_get($config);
|
|
|
301 |
|
|
|
302 |
if ($cfg_value === false || $cfg_value === '' || $cfg_value === 0)
|
|
|
303 |
{
|
|
|
304 |
return false;
|
|
|
305 |
}
|
|
|
306 |
elseif ($cfg_value === true || $cfg_value === '1' || $cfg_value === 1)
|
|
|
307 |
{
|
|
|
308 |
return true;
|
|
|
309 |
}
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
function is_windows()
|
|
|
313 |
{
|
|
|
314 |
return strtolower(substr(PHP_OS, 0, 3)) === 'win';
|
|
|
315 |
}
|
|
|
316 |
|
|
|
317 |
header('Content-type: text/html; charset=UTF-8');
|
|
|
318 |
|
|
|
319 |
?><!DOCTYPE html>
|
|
|
320 |
|
|
|
321 |
<html lang="en">
|
|
|
322 |
<head>
|
|
|
323 |
<title>AWS SDK for PHP: Environment Compatibility Test</title>
|
|
|
324 |
|
|
|
325 |
<script type="text/javascript" charset="utf-8">
|
|
|
326 |
/*!
|
|
|
327 |
* Reqwest! A x-browser general purpose XHR connection manager
|
|
|
328 |
* copyright Dustin Diaz 2011
|
|
|
329 |
* https://github.com/ded/reqwest
|
|
|
330 |
* license MIT
|
|
|
331 |
*/
|
|
|
332 |
!function(window){function serial(a){var b=a.name;if(a.disabled||!b)return"";b=enc(b);switch(a.tagName.toLowerCase()){case"input":switch(a.type){case"reset":case"button":case"image":case"file":return"";case"checkbox":case"radio":return a.checked?b+"="+(a.value?enc(a.value):!0)+"&":"";default:return b+"="+(a.value?enc(a.value):"")+"&"}break;case"textarea":return b+"="+enc(a.value)+"&";case"select":return b+"="+enc(a.options[a.selectedIndex].value)+"&"}return""}function enc(a){return encodeURIComponent(a)}function reqwest(a,b){return new Reqwest(a,b)}function init(o,fn){function error(a){o.error&&o.error(a),complete(a)}function success(resp){o.timeout&&clearTimeout(self.timeout)&&(self.timeout=null);var r=resp.responseText;if(r)switch(type){case"json":resp=window.JSON?window.JSON.parse(r):eval("("+r+")");break;case"js":resp=eval(r);break;case"html":resp=r}fn(resp),o.success&&o.success(resp),complete(resp)}function complete(a){o.complete&&o.complete(a)}this.url=typeof o=="string"?o:o.url,this.timeout=null;var type=o.type||setType(this.url),self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){self.abort(),error()},o.timeout)),this.request=getRequest(o,success,error)}function setType(a){return/\.json$/.test(a)?"json":/\.jsonp$/.test(a)?"jsonp":/\.js$/.test(a)?"js":/\.html?$/.test(a)?"html":/\.xml$/.test(a)?"xml":"js"}function Reqwest(a,b){this.o=a,this.fn=b,init.apply(this,arguments)}function getRequest(a,b,c){if(a.type!="jsonp"){var f=xhr();f.open(a.method||"GET",typeof a=="string"?a:a.url,!0),setHeaders(f,a),f.onreadystatechange=readyState(f,b,c),a.before&&a.before(f),f.send(a.data||null);return f}var d=doc.createElement("script");window[getCallbackName(a)]=generalCallback,d.type="text/javascript",d.src=a.url,d.async=!0;var e=function(){a.success&&a.success(lastValue),lastValue=undefined,head.removeChild(d)};d.onload=e,d.onreadystatechange=function(){/^loaded|complete$/.test(d.readyState)&&e()},head.appendChild(d)}function generalCallback(a){lastValue=a}function getCallbackName(a){var b=a.jsonpCallback||"callback";if(a.url.slice(-(b.length+2))==b+"=?"){var c="reqwest_"+uniqid++;a.url=a.url.substr(0,a.url.length-1)+c;return c}var d=new RegExp(b+"=([\\w]+)");return a.url.match(d)[1]}function setHeaders(a,b){var c=b.headers||{};c.Accept=c.Accept||"text/javascript, text/html, application/xml, text/xml, */*",b.crossOrigin||(c["X-Requested-With"]=c["X-Requested-With"]||"XMLHttpRequest");if(b.data){c["Content-type"]=c["Content-type"]||"application/x-www-form-urlencoded";for(var d in c)c.hasOwnProperty(d)&&a.setRequestHeader(d,c[d],!1)}}function readyState(a,b,c){return function(){a&&a.readyState==4&&(twoHundo.test(a.status)?b(a):c(a))}}var v=window.v;!v&&typeof require!="undefined"&&(v=require("valentine"));var twoHundo=/^20\d$/,doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0],xhr="XMLHttpRequest"in window?function(){return new XMLHttpRequest}:function(){return new ActiveXObject("Microsoft.XMLHTTP")},uniqid=0,lastValue;Reqwest.prototype={abort:function(){this.request.abort()},retry:function(){init.call(this,this.o,this.fn)}},reqwest.serialize=function(a){var b=a[byTag]("input"),c=a[byTag]("select"),d=a[byTag]("textarea");return(v(b).chain().toArray().map(serial).value().join("")+v(c).chain().toArray().map(serial).value().join("")+v(d).chain().toArray().map(serial).value().join("")).replace(/&$/,"")},reqwest.serializeArray=function(a){for(var b=this.serialize(a).split("&"),c=0,d=b.length,e=[],f;c<d;c++)b[c]&&(f=b[c].split("="))&&e.push({name:f[0],value:f[1]});return e};var old=window.reqwest;reqwest.noConflict=function(){window.reqwest=old;return this},window.reqwest=reqwest}(this)
|
|
|
333 |
</script>
|
|
|
334 |
|
|
|
335 |
<style type="text/css">
|
|
|
336 |
body {
|
|
|
337 |
font:14px/1.4em "Helvetica Neue", Helvetica, "Lucida Grande", Roboto, "Droid Sans", Ubuntu, Verdana, Arial, Clean, Sans, sans-serif;
|
|
|
338 |
letter-spacing:0px;
|
|
|
339 |
color:#333;
|
|
|
340 |
margin:0;
|
|
|
341 |
padding:0;
|
|
|
342 |
background:#fff url(<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?background) repeat-x top left;
|
|
|
343 |
}
|
|
|
344 |
|
|
|
345 |
div#site {
|
|
|
346 |
width:650px;
|
|
|
347 |
margin:20px auto 0 auto;
|
|
|
348 |
}
|
|
|
349 |
|
|
|
350 |
a {
|
|
|
351 |
color: #326EA1;
|
|
|
352 |
text-decoration: underline;
|
|
|
353 |
padding: 1px 2px;
|
|
|
354 |
-webkit-transition: background-color 0.15s;
|
|
|
355 |
-webkit-transition: color 0.15s;
|
|
|
356 |
-moz-transition: background-color 0.15s;
|
|
|
357 |
-moz-transition: color 0.15s;
|
|
|
358 |
transition: background-color 0.15s;
|
|
|
359 |
transition: color 0.15s;
|
|
|
360 |
-webkit-border-radius: 2px;
|
|
|
361 |
-moz-border-radius: 2px;
|
|
|
362 |
border-radius: 2px;
|
|
|
363 |
}
|
|
|
364 |
|
|
|
365 |
a:hover, a.hover {
|
|
|
366 |
color: #fff;
|
|
|
367 |
background-color: #333;
|
|
|
368 |
text-decoration: none;
|
|
|
369 |
padding: 1px 2px;
|
|
|
370 |
}
|
|
|
371 |
|
|
|
372 |
p {
|
|
|
373 |
margin:0;
|
|
|
374 |
padding:5px 0;
|
|
|
375 |
}
|
|
|
376 |
|
|
|
377 |
em {
|
|
|
378 |
font-style:normal;
|
|
|
379 |
background-color:#ffc;
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
ul, ol {
|
|
|
383 |
margin:10px 0 10px 20px;
|
|
|
384 |
padding:0 0 0 15px;
|
|
|
385 |
}
|
|
|
386 |
|
|
|
387 |
ul li, ol li {
|
|
|
388 |
margin:0 0 4px 0;
|
|
|
389 |
padding:0 0 0 3px;
|
|
|
390 |
}
|
|
|
391 |
|
|
|
392 |
h2 {
|
|
|
393 |
font-size:18px;
|
|
|
394 |
padding:0;
|
|
|
395 |
margin:0 0 10px 0;
|
|
|
396 |
}
|
|
|
397 |
|
|
|
398 |
h3 {
|
|
|
399 |
font-size:16px;
|
|
|
400 |
padding:0;
|
|
|
401 |
margin:20px 0 5px 0;
|
|
|
402 |
}
|
|
|
403 |
|
|
|
404 |
h4 {
|
|
|
405 |
font-size:14px;
|
|
|
406 |
padding:0;
|
|
|
407 |
margin:15px 0 5px 0;
|
|
|
408 |
}
|
|
|
409 |
|
|
|
410 |
pre, code {
|
|
|
411 |
font-family: "Panic Sans", "Bitstream Vera Sans Mono", Monaco, Consolas, "Andale Mono", monospace;
|
|
|
412 |
background-color: #F0F0F0;
|
|
|
413 |
border-radius: 3px 3px 3px 3px;
|
|
|
414 |
padding: 0 3px;
|
|
|
415 |
font-size: 1em;
|
|
|
416 |
}
|
|
|
417 |
|
|
|
418 |
em strong {
|
|
|
419 |
text-transform: uppercase;
|
|
|
420 |
}
|
|
|
421 |
|
|
|
422 |
table.chart {
|
|
|
423 |
border-collapse:collapse;
|
|
|
424 |
}
|
|
|
425 |
|
|
|
426 |
table.chart th {
|
|
|
427 |
background-color:#eee;
|
|
|
428 |
padding:2px 3px;
|
|
|
429 |
border:1px solid #fff;
|
|
|
430 |
}
|
|
|
431 |
|
|
|
432 |
table.chart td {
|
|
|
433 |
text-align:center;
|
|
|
434 |
padding:2px 3px;
|
|
|
435 |
border:1px solid #eee;
|
|
|
436 |
}
|
|
|
437 |
|
|
|
438 |
table.chart tr.enabled td {
|
|
|
439 |
/* Leave this alone */
|
|
|
440 |
}
|
|
|
441 |
|
|
|
442 |
table.chart tr.disabled td,
|
|
|
443 |
table.chart tr.disabled td a {
|
|
|
444 |
color:#999;
|
|
|
445 |
font-style:italic;
|
|
|
446 |
}
|
|
|
447 |
|
|
|
448 |
table.chart tr.disabled td a {
|
|
|
449 |
text-decoration:underline;
|
|
|
450 |
}
|
|
|
451 |
|
|
|
452 |
div.chunk {
|
|
|
453 |
margin:0;
|
|
|
454 |
padding:10px;
|
|
|
455 |
border-bottom:1px solid #ccc;
|
|
|
456 |
}
|
|
|
457 |
|
|
|
458 |
div.important {
|
|
|
459 |
background-color:#ffc;
|
|
|
460 |
}
|
|
|
461 |
|
|
|
462 |
div.ok {
|
|
|
463 |
background-color:#cfc;
|
|
|
464 |
}
|
|
|
465 |
|
|
|
466 |
div.error {
|
|
|
467 |
background-color:#fcc;
|
|
|
468 |
}
|
|
|
469 |
|
|
|
470 |
div.important h3 {
|
|
|
471 |
margin: 7px 0 5px 0;
|
|
|
472 |
}
|
|
|
473 |
|
|
|
474 |
.footnote,
|
|
|
475 |
.footnote a {
|
|
|
476 |
font:12px/1.4em "Helvetica Neue", Helvetica, "Lucida Grande", Verdana, Arial, Clean, Sans, sans-serif;
|
|
|
477 |
color:#aaa;
|
|
|
478 |
}
|
|
|
479 |
|
|
|
480 |
.footnote em {
|
|
|
481 |
background-color:transparent;
|
|
|
482 |
font-style:italic;
|
|
|
483 |
}
|
|
|
484 |
</style>
|
|
|
485 |
|
|
|
486 |
</head>
|
|
|
487 |
|
|
|
488 |
<body>
|
|
|
489 |
|
|
|
490 |
<div id="site">
|
|
|
491 |
<div id="content">
|
|
|
492 |
|
|
|
493 |
<div class="chunk">
|
|
|
494 |
<h2 style="text-align:center;"><img src="<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?logopng" alt="SDK Compatibility Test" title="SDK Compatibility Test" /></h2>
|
|
|
495 |
|
|
|
496 |
<h3>Minimum Requirements</h3>
|
|
|
497 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="chart">
|
|
|
498 |
<thead>
|
|
|
499 |
<tr>
|
|
|
500 |
<th>Test</th>
|
|
|
501 |
<th>Should Be</th>
|
|
|
502 |
<th>What You Have</th>
|
|
|
503 |
</tr>
|
|
|
504 |
</thead>
|
|
|
505 |
<tbody>
|
|
|
506 |
<tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
507 |
<td>PHP</td>
|
|
|
508 |
<td>5.2 or newer</td>
|
|
|
509 |
<td><?php echo phpversion(); ?></td>
|
|
|
510 |
</tr>
|
|
|
511 |
<tr class="<?php echo ($curl_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
512 |
<td><a href="http://php.net/curl">cURL</a></td>
|
|
|
513 |
<td>7.15.0 or newer, with SSL</td>
|
|
|
514 |
<td><?php echo ($curl_ok) ? ($curl_version['version'] . ' (' . $curl_version['ssl_version'] . ')') : ($curl_version['version'] . (in_array('https', $curl_version['protocols'], true) ? ' (with ' . $curl_version['ssl_version'] . ')' : ' (without SSL)')); ?></td>
|
|
|
515 |
</tr>
|
|
|
516 |
<tr class="<?php echo ($simplexml_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
517 |
<td><a href="http://php.net/simplexml">SimpleXML</a></td>
|
|
|
518 |
<td>Enabled</td>
|
|
|
519 |
<td><?php echo ($simplexml_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
520 |
</tr>
|
|
|
521 |
<tr class="<?php echo ($dom_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
522 |
<td><a href="http://php.net/dom">DOM</a></td>
|
|
|
523 |
<td>Enabled</td>
|
|
|
524 |
<td><?php echo ($dom_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
525 |
</tr>
|
|
|
526 |
<tr class="<?php echo ($spl_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
527 |
<td><a href="http://php.net/spl">SPL</a></td>
|
|
|
528 |
<td>Enabled</td>
|
|
|
529 |
<td><?php echo ($spl_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
530 |
</tr>
|
|
|
531 |
<tr class="<?php echo ($json_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
532 |
<td><a href="http://php.net/json">JSON</a></td>
|
|
|
533 |
<td>Enabled</td>
|
|
|
534 |
<td><?php echo ($json_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
535 |
</tr>
|
|
|
536 |
<tr class="<?php echo ($pcre_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
537 |
<td><a href="http://php.net/pcre">PCRE</a></td>
|
|
|
538 |
<td>Enabled</td>
|
|
|
539 |
<td><?php echo ($pcre_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
540 |
</tr>
|
|
|
541 |
<tr class="<?php echo ($file_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
542 |
<td>File System <a href="http://php.net/file_get_contents">Read</a>/<a href="http://php.net/file_put_contents">Write</a></td>
|
|
|
543 |
<td>Enabled</td>
|
|
|
544 |
<td><?php echo ($file_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
545 |
</tr>
|
|
|
546 |
</tbody>
|
|
|
547 |
</table>
|
|
|
548 |
|
|
|
549 |
<h3>Optional Extensions</h3>
|
|
|
550 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="chart">
|
|
|
551 |
<thead>
|
|
|
552 |
<tr>
|
|
|
553 |
<th>Test</th>
|
|
|
554 |
<th>Would Like To Be</th>
|
|
|
555 |
<th>What You Have</th>
|
|
|
556 |
</tr>
|
|
|
557 |
</thead>
|
|
|
558 |
<tbody>
|
|
|
559 |
<tr class="<?php echo ($openssl_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
560 |
<td><a href="http://php.net/openssl">OpenSSL</a></td>
|
|
|
561 |
<td>Enabled</td>
|
|
|
562 |
<td><?php echo ($openssl_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
563 |
</tr>
|
|
|
564 |
<tr class="<?php echo ($zlib_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
565 |
<td><a href="http://php.net/zlib">Zlib</a></td>
|
|
|
566 |
<td>Enabled</td>
|
|
|
567 |
<td><?php echo ($zlib_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
568 |
</tr>
|
|
|
569 |
<tr class="<?php echo ($apc_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
570 |
<td><a href="http://php.net/apc">APC</a></td>
|
|
|
571 |
<td>Enabled</td>
|
|
|
572 |
<td><?php echo ($apc_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
573 |
</tr>
|
|
|
574 |
<tr class="<?php echo ($xcache_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
575 |
<td><a href="http://xcache.lighttpd.net">XCache</a></td>
|
|
|
576 |
<td>Enabled</td>
|
|
|
577 |
<td><?php echo ($xcache_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
578 |
</tr>
|
|
|
579 |
<tr class="<?php echo ($memcache_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
580 |
<td><a href="http://php.net/memcache">Memcache</a></td>
|
|
|
581 |
<td>Enabled</td>
|
|
|
582 |
<td><?php echo ($memcache_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
583 |
</tr>
|
|
|
584 |
<tr class="<?php echo ($memcached_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
585 |
<td><a href="http://php.net/memcached">Memcached</a></td>
|
|
|
586 |
<td>Enabled</td>
|
|
|
587 |
<td><?php echo ($memcached_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
588 |
</tr>
|
|
|
589 |
<tr class="<?php echo ($pdo_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
590 |
<td><a href="http://php.net/pdo">PDO</a></td>
|
|
|
591 |
<td>Enabled</td>
|
|
|
592 |
<td><?php echo ($pdo_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
593 |
</tr>
|
|
|
594 |
<tr class="<?php echo ($pdo_sqlite_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
595 |
<td><a href="http://php.net/pdo-sqlite">PDO-SQLite</a></td>
|
|
|
596 |
<td>Enabled</td>
|
|
|
597 |
<td><?php echo ($pdo_sqlite_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
598 |
</tr>
|
|
|
599 |
<tr class="<?php echo ($sqlite2_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
600 |
<td><a href="http://php.net/sqlite">SQLite 2</a></td>
|
|
|
601 |
<td>Enabled</td>
|
|
|
602 |
<td><?php echo ($sqlite2_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
603 |
</tr>
|
|
|
604 |
<tr class="<?php echo ($sqlite3_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
605 |
<td><a href="http://php.net/sqlite3">SQLite 3</a></td>
|
|
|
606 |
<td>Enabled</td>
|
|
|
607 |
<td><?php echo ($sqlite3_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
|
608 |
</tr>
|
|
|
609 |
</tbody>
|
|
|
610 |
</table>
|
|
|
611 |
|
|
|
612 |
<h3>Settings for php.ini</h3>
|
|
|
613 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="chart">
|
|
|
614 |
<thead>
|
|
|
615 |
<tr>
|
|
|
616 |
<th>Test</th>
|
|
|
617 |
<th>Would Like To Be</th>
|
|
|
618 |
<th>What You Have</th>
|
|
|
619 |
</tr>
|
|
|
620 |
</thead>
|
|
|
621 |
<tbody>
|
|
|
622 |
<tr class="<?php echo (!$ini_open_basedir) ? 'enabled' : 'disabled'; ?>">
|
|
|
623 |
<td><a href="http://php.net/open_basedir">open_basedir</a></td>
|
|
|
624 |
<td>off</td>
|
|
|
625 |
<td><?php echo ($ini_open_basedir) ? 'on' : 'off'; ?></td>
|
|
|
626 |
</tr>
|
|
|
627 |
<tr class="<?php echo (!$ini_safe_mode) ? 'enabled' : 'disabled'; ?>">
|
|
|
628 |
<td><a href="http://php.net/safe_mode">safe_mode</a></td>
|
|
|
629 |
<td>off</td>
|
|
|
630 |
<td><?php echo ($ini_safe_mode) ? 'on' : 'off'; ?></td>
|
|
|
631 |
</tr>
|
|
|
632 |
<tr class="<?php echo ($ini_zend_enable_gc) ? 'enabled' : 'disabled'; ?>">
|
|
|
633 |
<td><a href="http://php.net/zend.enable_gc">zend.enable_gc</a></td>
|
|
|
634 |
<td>on</td>
|
|
|
635 |
<td><?php echo ($ini_zend_enable_gc) ? 'on' : 'off'; ?></td>
|
|
|
636 |
</tr>
|
|
|
637 |
</tbody>
|
|
|
638 |
</table>
|
|
|
639 |
|
|
|
640 |
<h3>Other</h3>
|
|
|
641 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="chart">
|
|
|
642 |
<thead>
|
|
|
643 |
<tr>
|
|
|
644 |
<th>Test</th>
|
|
|
645 |
<th>Would Like To Be</th>
|
|
|
646 |
<th>What You Have</th>
|
|
|
647 |
</tr>
|
|
|
648 |
</thead>
|
|
|
649 |
<tbody>
|
|
|
650 |
<tr class="<?php echo ($int64_ok) ? 'enabled' : 'disabled'; ?>">
|
|
|
651 |
<td><a href="https://aws.amazon.com/amis/4158">Architecture</a></td>
|
|
|
652 |
<td>64-bit</td>
|
|
|
653 |
<td><?php echo ($int64_ok) ? '64-bit' : '32-bit'; ?><?php if (is_windows()): ?>
|
|
|
654 |
(<a href="#win64">why?</a>)
|
|
|
655 |
<?php endif; ?></td>
|
|
|
656 |
</tr>
|
|
|
657 |
</tbody>
|
|
|
658 |
</table>
|
|
|
659 |
|
|
|
660 |
<br>
|
|
|
661 |
</div>
|
|
|
662 |
|
|
|
663 |
<?php if ($php_ok && $int64_ok && $curl_ok && $simplexml_ok && $dom_ok && $spl_ok && $json_ok && $pcre_ok && $file_ok && $openssl_ok && $zlib_ok && ($apc_ok || $xcache_ok || $mc_ok || $sqlite_ok)): ?>
|
|
|
664 |
<div class="chunk important ok">
|
|
|
665 |
<h3>Bottom Line: Yes, you can!</h3>
|
|
|
666 |
<p>Your PHP environment is ready to go, and can take advantage of all possible features!</p>
|
|
|
667 |
</div>
|
|
|
668 |
<div class="chunk">
|
|
|
669 |
<h3>What's Next?</h3>
|
|
|
670 |
<p>You can download the latest version of the <a href="http://aws.amazon.com/sdkforphp"><strong>AWS SDK for PHP</strong></a> and install it by <a href="http://aws.amazon.com/articles/4261">following the instructions</a>. Also, check out our library of <a href="http://aws.amazon.com/articles/4262">screencasts and tutorials</a>.</p>
|
|
|
671 |
<p>Take the time to read <a href="http://aws.amazon.com/articles/4261">"Getting Started"</a> to make sure you're prepared to use the AWS SDK for PHP. No seriously, read it.</p>
|
|
|
672 |
</div>
|
|
|
673 |
<?php elseif ($php_ok && $curl_ok && $simplexml_ok && $dom_ok && $spl_ok && $json_ok && $pcre_ok && $file_ok): ?>
|
|
|
674 |
<div class="chunk important ok">
|
|
|
675 |
<h3>Bottom Line: Yes, you can!</h3>
|
|
|
676 |
<p>Your PHP environment is ready to go! <i>There are a couple of minor features that you won't be able to take advantage of, but nothing that's a show-stopper.</i></p>
|
|
|
677 |
</div>
|
|
|
678 |
<div class="chunk">
|
|
|
679 |
<h3>What's Next?</h3>
|
|
|
680 |
<p>You can download the latest version of the <a href="http://aws.amazon.com/sdkforphp"><strong>AWS SDK for PHP</strong></a> and install it by <a href="http://aws.amazon.com/articles/4261">following the instructions</a>. Also, check out our library of <a href="http://aws.amazon.com/articles/4262">screencasts and tutorials</a>.</p>
|
|
|
681 |
<p>Take the time to read <a href="http://aws.amazon.com/articles/4261">"Getting Started"</a> to make sure you're prepared to use the AWS SDK for PHP. No seriously, read it.</p>
|
|
|
682 |
</div>
|
|
|
683 |
<?php else: ?>
|
|
|
684 |
<div class="chunk important error">
|
|
|
685 |
<h3>Bottom Line: We're sorry…</h3>
|
|
|
686 |
<p>Your PHP environment does not support the minimum requirements for the <strong>AWS SDK for PHP</strong>.</p>
|
|
|
687 |
</div>
|
|
|
688 |
<div class="chunk">
|
|
|
689 |
<h3>What's Next?</h3>
|
|
|
690 |
<p>If you're using a shared hosting plan, it may be a good idea to contact your web host and ask them to install a more recent version of PHP and relevant extensions.</p>
|
|
|
691 |
<p>If you have control over your PHP environment, we recommended that you upgrade your PHP environment. Check out the "Set Up Your Environment" section of the <a href="http://aws.amazon.com/articles/4261">Getting Started Guide</a> for more information.</p>
|
|
|
692 |
</div>
|
|
|
693 |
<?php endif; ?>
|
|
|
694 |
|
|
|
695 |
<?php if ($apc_ok || $xcache_ok || $file_ok): ?>
|
|
|
696 |
<div class="chunk">
|
|
|
697 |
<h3>Recommended settings for config.inc.php</h3>
|
|
|
698 |
<p>Based on your particular server configuration, the following settings are recommended.</p>
|
|
|
699 |
<br>
|
|
|
700 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="chart">
|
|
|
701 |
<thead>
|
|
|
702 |
<tr>
|
|
|
703 |
<th>Configuration Setting</th>
|
|
|
704 |
<th>Recommended Value</th>
|
|
|
705 |
</tr>
|
|
|
706 |
</thead>
|
|
|
707 |
<tbody>
|
|
|
708 |
<tr>
|
|
|
709 |
<td><code>default_cache_config</code></td>
|
|
|
710 |
<?php if ($apc_ok): ?>
|
|
|
711 |
<td><code>apc</code></td>
|
|
|
712 |
<?php elseif ($xcache_ok): ?>
|
|
|
713 |
<td><code>xcache</code></td>
|
|
|
714 |
<?php elseif ($file_ok): ?>
|
|
|
715 |
<td>Any valid, server-writable file system path</td>
|
|
|
716 |
<?php endif; ?>
|
|
|
717 |
</tr>
|
|
|
718 |
<tr>
|
|
|
719 |
<td><code>certificate_authority</code></td>
|
|
|
720 |
<?php if (is_windows()): ?>
|
|
|
721 |
<td id="ssl_check"><code>true</code></td>
|
|
|
722 |
<?php else: ?>
|
|
|
723 |
<td id="ssl_check"><img src="<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?loader" alt="Loading..."></td>
|
|
|
724 |
<?php endif; ?>
|
|
|
725 |
</tr>
|
|
|
726 |
</tbody>
|
|
|
727 |
</table>
|
|
|
728 |
<br>
|
|
|
729 |
</div>
|
|
|
730 |
<?php endif; ?>
|
|
|
731 |
|
|
|
732 |
<div class="chunk">
|
|
|
733 |
<h3>Give me the details!</h3>
|
|
|
734 |
<?php if ($php_ok && $curl_ok && $simplexml_ok && $dom_ok && $spl_ok && $json_ok && $pcre_ok && $file_ok): ?>
|
|
|
735 |
<ol>
|
|
|
736 |
<li><em>Your environment meets the minimum requirements for using the <strong>AWS SDK for PHP</strong>!</em></li>
|
|
|
737 |
|
|
|
738 |
<?php if (version_compare(PHP_VERSION, '5.3.0') < 0): ?>
|
|
|
739 |
<li>You're still running <strong>PHP <?php echo PHP_VERSION; ?></strong>. The PHP 5.2 family is no longer supported by the PHP team, and future versions of the AWS SDK for PHP will <i>require</i> PHP 5.3 or newer.</li>
|
|
|
740 |
<?php endif; ?>
|
|
|
741 |
|
|
|
742 |
<?php if ($openssl_ok): ?>
|
|
|
743 |
<li>The <a href="http://php.net/openssl">OpenSSL</a> extension is installed. This will allow you to use <a href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront Private URLs</a> and decrypt Microsoft® Windows® instance passwords.</li>
|
|
|
744 |
<?php endif; ?>
|
|
|
745 |
|
|
|
746 |
<?php if ($zlib_ok): ?>
|
|
|
747 |
<li>The <a href="http://php.net/zlib">Zlib</a> extension is installed. The SDK will request gzipped data whenever possible.</li>
|
|
|
748 |
<?php endif; ?>
|
|
|
749 |
|
|
|
750 |
<?php if (!$int64_ok): ?>
|
|
|
751 |
<li>You're running on a <strong>32-bit</strong> system. This means that PHP does not correctly handle files larger than 2GB (this is a <a href="http://www.google.com/search?q=php+2gb+32-bit">well-known PHP issue</a>). For more information, please see: <a href="http://docs.php.net/manual/en/function.filesize.php#refsect1-function.filesize-returnvalues">PHP filesize: Return values</a>.</li>
|
|
|
752 |
<?php if (is_windows()): ?>
|
|
|
753 |
<li id="win64"><em>Note that PHP on Microsoft® Windows® <a href="http://j.mp/php64win">does not support 64-bit integers at all</a>, even if both the hardware and PHP are 64-bit.</em></li>
|
|
|
754 |
<?php endif; ?>
|
|
|
755 |
<?php endif; ?>
|
|
|
756 |
|
|
|
757 |
<?php if ($ini_open_basedir || $ini_safe_mode): ?>
|
|
|
758 |
<li>You have <a href="http://php.net/open_basedir">open_basedir</a> or <a href="http://php.net/safe_mode">safe_mode</a> enabled in your <code>php.ini</code> file. Sometimes PHP behaves strangely when these settings are enabled. Disable them if you can.</li>
|
|
|
759 |
<?php endif; ?>
|
|
|
760 |
|
|
|
761 |
<?php if (!$ini_zend_enable_gc): ?>
|
|
|
762 |
<li>The PHP garbage collector (available in PHP 5.3+) is not enabled in your <code>php.ini</code> file. Enabling <a href="http://php.net/zend.enable_gc">zend.enable_gc</a> will provide better memory management in the PHP core.</li>
|
|
|
763 |
<?php endif; ?>
|
|
|
764 |
|
|
|
765 |
<?php
|
|
|
766 |
$storage_types = array();
|
|
|
767 |
if ($file_ok) { $storage_types[] = '<a href="http://php.net/file_put_contents">The file system</a>'; }
|
|
|
768 |
if ($apc_ok) { $storage_types[] = '<a href="http://php.net/apc">APC</a>'; }
|
|
|
769 |
if ($xcache_ok) { $storage_types[] = '<a href="http://xcache.lighttpd.net">XCache</a>'; }
|
|
|
770 |
if ($sqlite_ok && $sqlite3_ok) { $storage_types[] = '<a href="http://php.net/sqlite3">SQLite 3</a>'; }
|
|
|
771 |
elseif ($sqlite_ok && $sqlite2_ok) { $storage_types[] = '<a href="http://php.net/sqlite">SQLite 2</a>'; }
|
|
|
772 |
if ($memcached_ok) { $storage_types[] = '<a href="http://php.net/memcached">Memcached</a>'; }
|
|
|
773 |
elseif ($memcache_ok) { $storage_types[] = '<a href="http://php.net/memcache">Memcache</a>'; }
|
|
|
774 |
?>
|
|
|
775 |
<li>Storage types available for response caching: <?php echo implode(', ', $storage_types); ?></li>
|
|
|
776 |
</ol>
|
|
|
777 |
|
|
|
778 |
<?php if (!$openssl_ok && !$zlib_ok): ?>
|
|
|
779 |
<p class="footnote"><strong>NOTE:</strong> You're missing the <a href="http://php.net/openssl">OpenSSL</a> extension, which means that you won't be able to take advantage of <a href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront Private URLs</a> or decrypt Microsoft® Windows® instance passwords. You're also missing the <a href="http://php.net/zlib">Zlib</a> extension, which means that the SDK will be unable to request gzipped data from Amazon and you won't be able to take advantage of compression with the <i>response caching</i> feature.</p>
|
|
|
780 |
<?php elseif (!$zlib_ok): ?>
|
|
|
781 |
<p class="footnote"><strong>NOTE:</strong> You're missing the <a href="http://php.net/zlib">Zlib</a> extension, which means that the SDK will be unable to request gzipped data from Amazon and you won't be able to take advantage of compression with the <i>response caching</i> feature.</p>
|
|
|
782 |
<?php elseif (!$openssl_ok): ?>
|
|
|
783 |
<p class="footnote"><strong>NOTE:</strong> You're missing the <a href="http://php.net/openssl">OpenSSL</a> extension, which means that you won't be able to take advantage of <a href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront Private URLs</a> or decrypt Microsoft® Windows® instance passwords.</p>
|
|
|
784 |
<?php endif; ?>
|
|
|
785 |
|
|
|
786 |
<?php else: ?>
|
|
|
787 |
<ol>
|
|
|
788 |
<?php if (!$php_ok): ?>
|
|
|
789 |
<li><strong>PHP:</strong> You are running an unsupported version of PHP.</li>
|
|
|
790 |
<?php endif; ?>
|
|
|
791 |
|
|
|
792 |
<?php if (!$curl_ok): ?>
|
|
|
793 |
<li><strong>cURL:</strong> The <a href="http://php.net/curl">cURL</a> extension is not available. Without cURL, the SDK cannot connect to — or authenticate with — Amazon's services.</li>
|
|
|
794 |
<?php endif; ?>
|
|
|
795 |
|
|
|
796 |
<?php if (!$simplexml_ok): ?>
|
|
|
797 |
<li><strong>SimpleXML:</strong> The <a href="http://php.net/simplexml">SimpleXML</a> extension is not available. Without SimpleXML, the SDK cannot parse the XML responses from Amazon's services.</li>
|
|
|
798 |
<?php endif; ?>
|
|
|
799 |
|
|
|
800 |
<?php if (!$dom_ok): ?>
|
|
|
801 |
<li><strong>DOM:</strong> The <a href="http://php.net/dom">DOM</a> extension is not available. Without DOM, the SDK cannot transliterate JSON responses from Amazon's services into the common SimpleXML-based pattern used throughout the SDK.</li>
|
|
|
802 |
<?php endif; ?>
|
|
|
803 |
|
|
|
804 |
<?php if (!$spl_ok): ?>
|
|
|
805 |
<li><strong>SPL:</strong> <a href="http://php.net/spl">Standard PHP Library</a> support is not available. Without SPL support, the SDK cannot autoload the required PHP classes.</li>
|
|
|
806 |
<?php endif; ?>
|
|
|
807 |
|
|
|
808 |
<?php if (!$json_ok): ?>
|
|
|
809 |
<li><strong>JSON:</strong> <a href="http://php.net/json">JSON</a> support is not available. AWS leverages JSON heavily in many of its services.</li>
|
|
|
810 |
<?php endif; ?>
|
|
|
811 |
|
|
|
812 |
<?php if (!$pcre_ok): ?>
|
|
|
813 |
<li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions (PCRE). Without PCRE, the SDK cannot do any filtering via regular expressions.</li>
|
|
|
814 |
<?php endif; ?>
|
|
|
815 |
|
|
|
816 |
<?php if (!$file_ok): ?>
|
|
|
817 |
<li><strong>File System Read/Write:</strong> The <a href="http://php.net/file_get_contents">file_get_contents()</a> and/or <a href="http://php.net/file_put_contents">file_put_contents()</a> functions have been disabled. Without them, the SDK cannot read from, or write to, the file system.</li>
|
|
|
818 |
<?php endif; ?>
|
|
|
819 |
</ol>
|
|
|
820 |
<?php endif; ?>
|
|
|
821 |
</div>
|
|
|
822 |
|
|
|
823 |
<div class="chunk">
|
|
|
824 |
<p class="footnote"><strong>NOTE</strong>: Passing this test does not guarantee that the AWS SDK for PHP will run on your web server — it only ensures that the requirements have been addressed.</p>
|
|
|
825 |
</div>
|
|
|
826 |
</div>
|
|
|
827 |
|
|
|
828 |
</div>
|
|
|
829 |
|
|
|
830 |
<?php if (!is_windows()): ?>
|
|
|
831 |
<script type="text/javascript" charset="utf-8">
|
|
|
832 |
reqwest('<?php echo pathinfo(__FILE__, PATHINFO_BASENAME); ?>?ssl_check', function(resp) {
|
|
|
833 |
$sslCheck = document.getElementById('ssl_check');
|
|
|
834 |
$sslCheck.innerHTML = '';
|
|
|
835 |
$sslCheck.innerHTML = '<code>' + resp + '</code>';
|
|
|
836 |
});
|
|
|
837 |
</script>
|
|
|
838 |
<?php endif; ?>
|
|
|
839 |
|
|
|
840 |
</body>
|
|
|
841 |
</html>
|