Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PHPStore ¶
type PHPStore struct {
// contains filtered or unexported fields
}
PHPStore stores information about all locally installed PHP versions
func (*PHPStore) BestVersionForDir ¶
BestVersionForDir returns the configured PHP version for the given PHP script
func (*PHPStore) IsVersionAvailable ¶
type Version ¶
type Version struct {
FullVersion *version.Version `json:"-"`
Version string `json:"version"`
Path string `json:"path"`
PHPPath string `json:"php_path"`
FPMPath string `json:"fpm_path"`
CGIPath string `json:"cgi_path"`
PHPConfigPath string `json:"php_config_path"`
PHPizePath string `json:"phpize_path"`
PHPdbgPath string `json:"phpdbg_path"`
IsSystem bool `json:"is_system"`
FrankenPHP bool `json:"frankenphp"`
}
Version stores information about an installed PHP version
func (*Version) IsCGIServer ¶
func (*Version) IsCLIServer ¶
func (*Version) IsFPMServer ¶
func (*Version) IsFrankenPHPServer ¶ added in v1.0.6
func (*Version) ServerPath ¶
func (*Version) ServerTypeName ¶
Click to show internal directories.
Click to hide internal directories.