MediaWiki  1.29.2
PHPVersionCheck.php File Reference

Check PHP Version, as well as for composer dependencies in entry points, and display something vaguely comprehensible in the event of a totally unrecoverable error. More...

Go to the source code of this file.

Classes

class  PHPVersionCheck
 

Functions

 wfEntryPointCheck ( $entryPoint)
 Check php version and that external dependencies are installed, and display an informative error if either condition is not satisfied. More...
 

Detailed Description

Check PHP Version, as well as for composer dependencies in entry points, and display something vaguely comprehensible in the event of a totally unrecoverable error.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file PHPVersionCheck.php.

Function Documentation

◆ wfEntryPointCheck()

wfEntryPointCheck (   $entryPoint)

Check php version and that external dependencies are installed, and display an informative error if either condition is not satisfied.

Note
Since we can't rely on anything, the minimum PHP versions and MW current version are hardcoded here

Definition at line 235 of file PHPVersionCheck.php.