Server PHP
Manage installed PHP runtimes and safe server-level configuration.
1Overview
Server PHP controls available OpenLiteSpeed PHP runtimes and administrator-level settings. Website-level runtime selection is documented separately for users.
2Before you begin
Administrator actions can affect multiple customer accounts and server services.
3Step-by-step workflow
Open PHP, verify installed versions and extensions, select the intended runtime or setting, save, and confirm that a representative website still serves correctly. Use the website PHP view for per-site changes.
- Open PHP and review the installed versions and available runtimes.
- Choose the missing runtime from the supported installation list when another version is required.
- Start installation once and read the installation progress until verification completes.
- Check that the selected runtime and required extensions are available to the panel.
- Open the relevant user view to change one website through Select PHP Version.
- Confirm the application supports that PHP version before applying the change.
- Test the site and review its PHP error log after the switch.
- Keep other websites on their existing versions unless each has been checked separately.
4Practical example
Example: installing PHP 8.4 makes that runtime available but does not automatically switch every website to it. A website version, its extension selection, and its PHP options are separate choices.
5Verify the result
Validate the outcome from the affected account or an independent client connection, not only from the administrator screen.
- Request a representative site and review its PHP or web-server error log.
- Confirm required extensions remain available to the application.
6Common problems and what to check
Package installation fails: retain the exact package-manager error and check provider dependencies; do not force file replacement.
A version is installed but not selectable: review the enabled runtime list and account permissions.
A site breaks after a switch: return that site to its previous version and review its code and required extensions.
7Security, impact, and rollback
Changing extensions or defaults can affect every application using that runtime. Check compatibility, memory limits, and error logs before removing an extension or changing a default.