PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.2
Backup Migration v2.1.2
2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / cli / version_check.php
backup-backup / includes / cli Last commit date
php_cli_finder.php 3 months ago version_check.php 3 months ago
version_check.php
30 lines
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) exit;
4
5 /*
6 Check for PHP CLI results
7 */
8 if (defined('STDIN') || (defined('PHP_SAPI') && PHP_SAPI == 'cli') || php_sapi_name() === 'cli') {
9
10 // PHP CLI Version
11 echo @phpversion() . "\n";
12
13 // PHP CLI Memory limit for PHP CLI
14 echo @ini_get('memory_limit') . "\n";
15
16 // PHP CLI Max execution time
17 echo @ini_get('max_execution_time') . "\n";
18
19 // Change PHP_INI values
20 @ini_set('memory_limit', '512M');
21 @ini_set('max_execution_time', '0');
22
23 // Modified PHP CLI Memory limit for PHP CLI
24 echo @ini_get('memory_limit') . "\n";
25
26 // Modified PHP CLI Max execution time
27 echo @ini_get('max_execution_time');
28
29 }
30