< Back
Enable-PhpExtension
Post
NAME Enable-PhpExtension
SYNOPSIS
Enables a PHP extension.
SYNTAX
Enable-PhpExtension [-Extension] <String[]> [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Enables a PHP extension (if it's not already enabled and if it's not a builtin extension).
PARAMETERS
-Extension <String[]>
The name (or the handle) of the PHP extension to be enabled.
You can specify more that one value.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path to the PHP installation.
If omitted we'll use the one found in the PATH environment variable.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-PhpExtension gd
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Enable-PhpExtension gd,mbstring
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Enable-PhpExtension gd C:\\Path\\To\\Php
RELATED LINKS
SYNOPSIS
Enables a PHP extension.
SYNTAX
Enable-PhpExtension [-Extension] <String[]> [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Enables a PHP extension (if it's not already enabled and if it's not a builtin extension).
PARAMETERS
-Extension <String[]>
The name (or the handle) of the PHP extension to be enabled.
You can specify more that one value.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path to the PHP installation.
If omitted we'll use the one found in the PATH environment variable.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-PhpExtension gd
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Enable-PhpExtension gd,mbstring
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Enable-PhpExtension gd C:\\Path\\To\\Php
RELATED LINKS