webpagefx/Opcache Reset
Reset PHP opcache on the server
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| domain | The domain to visit to clear opcache for | yes | — |
| webroot | The path of the site's webroot | yes | — |
| php_executable | The PHP executable to use | no | php |
| owner | The user who should own the file | no | — |
| group | The group the file should belong to | no | — |
| permissions | The octal permissions to use | no | 644 |
| ssh_user | The user to connect to the server as | yes | — |
| ssh_host | The hostname or IP to use for connecting via SSH | yes | — |
| ssh_port | The SSH port for the server | no | 22 |
| ssh_key | The SSH key for connecting to the server | yes | — |
| max_attempts_opcache_reset_http | The number of times to try the opcache reset HTTP request. Set to 0 to disable | no | 10 |
| max_attempts_opcache_reset_cli | The number of times to try the opcache reset CLI command. Set to 0 to disable | no | 1 |
| delay_attempts_opcache_reset_http | The number of seconds to wait between opcache reset HTTP attempts | no | 5 |
| delay_attempts_opcache_reset_cli | The number of seconds to wait between opcache reset CLI attempts | no | 5 |
| secret | Secret variable to validate opcache reset request by. | no | — |
| curl_protocol | The protocol to use for the curl command (http or https) | no | http |
| curl_port | The port to use for the curl command (80 or 443) | no | 80 |
Outputs
no outputs