PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.0.0
Backup Migration v2.0.0
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 8 months ago version_check.php 8 months ago
version_check.php
28 lines
1 <?php
2
3 /*
4 Check for PHP CLI results
5 */
6 if (defined('STDIN') || (defined('PHP_SAPI') && PHP_SAPI == 'cli') || php_sapi_name() === 'cli') {
7
8 // PHP CLI Version
9 echo @phpversion() . "\n";
10
11 // PHP CLI Memory limit for PHP CLI
12 echo @ini_get('memory_limit') . "\n";
13
14 // PHP CLI Max execution time
15 echo @ini_get('max_execution_time') . "\n";
16
17 // Change PHP_INI values
18 @ini_set('memory_limit', '512M');
19 @ini_set('max_execution_time', '0');
20
21 // Modified PHP CLI Memory limit for PHP CLI
22 echo @ini_get('memory_limit') . "\n";
23
24 // Modified PHP CLI Max execution time
25 echo @ini_get('max_execution_time');
26
27 }
28