@@ 477-482 (lines=6) @@ | ||
474 | $text .= 'Install it or recompile php without --disable-phar'; |
|
475 | break; |
|
476 | ||
477 | case 'unicode': |
|
478 | $text = PHP_EOL.'The detect_unicode setting must be disabled.'.PHP_EOL; |
|
479 | $text .= 'Add the following to the end of your `php.ini`:'.PHP_EOL; |
|
480 | $text .= ' detect_unicode = Off'; |
|
481 | $displayIniMessage = true; |
|
482 | break; |
|
483 | ||
484 | case 'suhosin': |
|
485 | $text = PHP_EOL.'The suhosin.executor.include.whitelist setting is incorrect.'.PHP_EOL; |
|
@@ 484-489 (lines=6) @@ | ||
481 | $displayIniMessage = true; |
|
482 | break; |
|
483 | ||
484 | case 'suhosin': |
|
485 | $text = PHP_EOL.'The suhosin.executor.include.whitelist setting is incorrect.'.PHP_EOL; |
|
486 | $text .= 'Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):'.PHP_EOL; |
|
487 | $text .= ' suhosin.executor.include.whitelist = phar '.$current; |
|
488 | $displayIniMessage = true; |
|
489 | break; |
|
490 | ||
491 | case 'php': |
|
492 | $text = PHP_EOL."Your PHP ({$current}) is too old, you must upgrade to PHP 5.3.9 or higher."; |
|
@@ 495-500 (lines=6) @@ | ||
492 | $text = PHP_EOL."Your PHP ({$current}) is too old, you must upgrade to PHP 5.3.9 or higher."; |
|
493 | break; |
|
494 | ||
495 | case 'allow_url_fopen': |
|
496 | $text = PHP_EOL.'The allow_url_fopen setting is incorrect.'.PHP_EOL; |
|
497 | $text .= 'Add the following to the end of your `php.ini`:'.PHP_EOL; |
|
498 | $text .= ' allow_url_fopen = On'; |
|
499 | $displayIniMessage = true; |
|
500 | break; |
|
501 | ||
502 | case 'ioncube': |
|
503 | $text = PHP_EOL."Your ionCube Loader extension ($current) is incompatible with Phar files.".PHP_EOL; |
|
@@ 502-507 (lines=6) @@ | ||
499 | $displayIniMessage = true; |
|
500 | break; |
|
501 | ||
502 | case 'ioncube': |
|
503 | $text = PHP_EOL."Your ionCube Loader extension ($current) is incompatible with Phar files.".PHP_EOL; |
|
504 | $text .= 'Upgrade to ionCube 4.0.9 or higher or remove this line (path may be different) from your `php.ini` to disable it:'.PHP_EOL; |
|
505 | $text .= ' zend_extension = /usr/lib/php5/20090626+lfs/ioncube_loader_lin_5.3.so'; |
|
506 | $displayIniMessage = true; |
|
507 | break; |
|
508 | ||
509 | case 'openssl': |
|
510 | $text = PHP_EOL.'The openssl extension is missing, which means that secure HTTPS transfers are impossible.'.PHP_EOL; |
|
@@ 534-539 (lines=6) @@ | ||
531 | foreach ($warnings as $warning => $current) { |
|
532 | $text = ''; |
|
533 | switch ($warning) { |
|
534 | case 'apc_cli': |
|
535 | $text = PHP_EOL.'The apc.enable_cli setting is incorrect.'.PHP_EOL; |
|
536 | $text .= 'Add the following to the end of your `php.ini`:'.PHP_EOL; |
|
537 | $text .= ' apc.enable_cli = Off'; |
|
538 | $displayIniMessage = true; |
|
539 | break; |
|
540 | ||
541 | case 'sigchild': |
|
542 | $text = PHP_EOL.'PHP was compiled with --enable-sigchild which can cause issues on some platforms.'.PHP_EOL; |