< Back
Update-Php
Post
NAME Update-Php
SYNOPSIS
Updates PHP.
SYNTAX
Update-Php [[-Path] <String>] [-Force] [<CommonParameters>]
DESCRIPTION
Checks if a new PHP version is available: if so updates an existing PHP installation.
PARAMETERS
-Path <String>
The path of the PHP installation.
If omitted we'll use the one found in the PATH environment variable.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Use this switch to force updating PHP even if the newest available version is not newer than the installed one.
Required? false
Position? named
Default value False
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
bool
RELATED LINKS
SYNOPSIS
Updates PHP.
SYNTAX
Update-Php [[-Path] <String>] [-Force] [<CommonParameters>]
DESCRIPTION
Checks if a new PHP version is available: if so updates an existing PHP installation.
PARAMETERS
-Path <String>
The path of the PHP installation.
If omitted we'll use the one found in the PATH environment variable.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Use this switch to force updating PHP even if the newest available version is not newer than the installed one.
Required? false
Position? named
Default value False
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
bool
RELATED LINKS