Manual:$wgPhpCli

Category:MediaWiki configuration settings#PhpCliCategory:MediaWiki configuration settings introduced in version 1.14.0#PhpCliCategory:MediaWiki configuration settings still in use#PhpCliCategory:Shell variables#PhpCli
Shell and process control: $wgPhpCli
Executable path of PHP cli client (php/php5).
Introduced in version:1.14.0 (r40069)
Removed in version:Still in use
Allowed values:(string)
Default value:'/usr/bin/php' (1.16+)
'php' (1.14-1.15)

Details

Executable path of PHP cli client (php/php5).

If you're not sure what this should be set to then running whereis php, will locate the PHP binary for you.

Example

$wgPhpCli = '/usr/bin/php';
Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.14.0 Category:MediaWiki configuration settings still in use Category:Shell variables