Lines Matching +full:php +full:- +full:version

1 <?php
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
52 private const string PHP_SUPPORT_URL = 'https://www.php.net/supported-versions.php';
55 '8.1' => '2025-12-31',
56 '8.2' => '2026-12-31',
57 '8.3' => '2027-12-31',
58 '8.4' => '2028-12-31',
74 $this->databaseDriverErrors($driver),
75 $this->checkPhpExtension('mbstring'),
76 $this->checkPhpExtension('iconv'),
77 $this->checkPhpExtension('pcre'),
78 $this->checkPhpExtension('session'),
79 $this->checkPhpExtension('xml'),
80 $this->checkPhpFunction('parse_ini_file'),
84 ->flatten()
85 ->filter();
98 $this->databaseDriverWarnings($driver),
99 $this->checkPhpExtension('curl'),
100 $this->checkPhpExtension('fileinfo'),
101 $this->checkPhpExtension('gd'),
102 $this->checkPhpExtension('intl'),
103 $this->checkPhpExtension('zip'),
104 $this->checkPhpIni('file_uploads', true),
105 $this->checkSystemTemporaryFolder(),
106 $this->checkPhpVersion(),
110 ->flatten()
111 ->filter();
115 * Check if a PHP extension is loaded.
124 return I18N::translate('The PHP extension “%s” is not installed.', $extension);
131 * Check if a PHP setting is correct.
143 return I18N::translate('The PHP.INI setting “%1$s” is disabled.', $varname);
147 return I18N::translate('The PHP.INI setting “%1$s” is enabled.', $varname);
154 * Check if a PHP function is in the list of disabled functions.
179 if ($this->isFunctionDisabled($function)) {
180 return I18N::translate('The PHP function “%1$s” is disabled.', $function . '()');
191 $today = date('Y-m-d');
193 foreach (self::PHP_SUPPORT_DATES as $version => $end_date) {
194 if ($today > $end_date && version_compare(self::PHP_MINOR_VERSION, $version) <= 0) {
195 …'Your web server is using PHP version %s, which is no longer receiving security updates. You shoul…
210 $sqlite_version = SQLite3::version()['versionString'];
213 …return I18N::translate('SQLite version %s is installed. SQLite version %s or later is required.', …
235 $sys_temp_dir = $this->normalizeFolder($sys_temp_dir);
238 $dir = $this->normalizeFolder($dir);
254 * - forward slashes.
255 * - trailing slash.
284 $this->checkPhpExtension('pdo'),
285 $this->checkPhpExtension('pdo_mysql'),
290 $this->checkPhpExtension('pdo'),
291 $this->checkPhpExtension('sqlite3'),
292 $this->checkPhpExtension('pdo_sqlite'),
293 $this->checkSqliteVersion(),
298 $this->checkPhpExtension('pdo'),
299 $this->checkPhpExtension('pdo_pgsql'),
304 $this->checkPhpExtension('pdo'),
305 $this->checkPhpExtension('pdo_odbc'),