Overview
PHP with Apache on RHEL 9 (BYOL) from Zend by Perforce provides a turnkey solution for running PHP in the cloud. This supported PHP runtime includes the option to install any of PHP 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, or 8.3, and can scale seamlessly across your cloud resources. ZendPHP gives PHP developers and DevOps engineers the tools needed to easily orchestrate clusters of PHP servers as microservices or autoscaling applications.
Highlights
- ZendPHP builds include community or back-ported patches against known CVEs for a minimum of two years beyond community support end of life.
- Purpose-built for cloud orchestration, ZendPHP images offer advanced tooling to help you streamline, automate, and accelerate continuous delivery cycles.
- ZendPHP builds include fully customizable Terraform templates, meaning easy orchestration for your PHP-based application clusters.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
n/a
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
- Updated PHP versions
- PHP 8.3.13
- PHP 8.2.25
- PHP 8.1.30
- PHP 8.0.30.3
- PHP 7.4.33.7
- PHP 7.3.33.12
- PHP 7.2.34.20
Additional details
Usage instructions
To access the instance, you will need to navigate to the EC2 console and open your launched instance. Once both health checks have passed, you will need to copy the public IP address in order to SSH into your newly launched instance. Ex SSH -i yourkeypair ec2-user@ip_address
All ZendPHP cloud images set up a default virtual host located in the directory /var/www . Users can upload a PHP application to that directory and immediately have a running web application.
Additionally, ZendPHP cloud images come with several scripts to allow you to switch PHP versions and manage virtual hosts and SSL details. These are all located in /usr/local/bin and MUST be run as root or via the sudo command.
Zend provides the following scripts:
zendphp-vhost
zendphp-switch
For Bring-Your-Own-License images, obtain and install credentials directly from Zend by Perforce.
zendphp-vhost:
The zendphp-vhost script allows you to add, rename, or remove virtual hosts. The script also fetches and configures a TLS certificate for the vhost via the Let's Encrypt Certificate Authority (CA). If the query fails, the script uses the self-signed localhost certificate.
Use
zendphp-vhost (action) (vhost domain) (port) (options) (email)
Parameters
action: One of: info, add, remove, chgname, or chgport.
vhost domain: Domain for which to create, modify, or remove a virtual host.
port: If set, configures the virtual host to this port; otherwise sets the port to the default (80).
options: One of http or https. This option also configures the port for http or https. If set to https the script retrieves the certificate from Let's Encrypt.
email: Webmaster e-mail. If not set, the script uses the default webmaster@localhost. Note: If you use the default e-mail, certbot (the Let's Encrypt client) prompts you for a valid e-mail address to ensure renewal notifications can be sent.
Examples
Show currently enabled vhosts:
$ zendphp-vhost info
Create new vhost (use default parameters):
$ zendphp-vhost add somehost.somedomain.com
Create new vhost (preconfigures port 443 and fetch certificate from Let's Encrypt CA):
$ zendphp-vhost add somehost.somedomain.com 443 https webmaster@somedomain.com