MediaWiki master
PHPVersionCheck.php File Reference

Go to the source code of this file.

Classes

class  PHPVersionCheck
 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...
 

Functions

 wfEntryPointCheck ( $format='text', $scriptPath='/')
 Check PHP version and that external dependencies are installed, and display an informative error if either condition is not satisfied.
 

Detailed Description

Note
GPL-2.0-or-later

Definition in file PHPVersionCheck.php.

Function Documentation

◆ wfEntryPointCheck()

wfEntryPointCheck ( $format = 'text',
$scriptPath = '/' )

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

Parameters
string$formatOne of "text" or "html"
string$scriptPathUsed when an error is formatted as HTML.

Definition at line 337 of file PHPVersionCheck.php.