PHP Tutorials

PHP Tutorials

Explore practical PHP hosting tutorials for creating and configuring environments, choosing a PHP application server, deploying projects, managing extensions and Composer, improving performance, configuring security, enabling clustering, and connecting databases.

Getting Started

Overview

PHP Developer’s Center

Review supported PHP versions, application servers, deployment methods, domains, scaling, clustering, databases, extensions, accelerators, and security.

Open tutorial
PHP Versions

PHP Versions

Select a supported PHP engine when creating a new environment or redeploy an existing PHP layer to another available version.

Open tutorial
Environment

Setting Up a PHP Environment

Create a PHP topology with an application server, database, cache, load balancer, Public IP, and the required Cloudlet limits.

Open tutorial
Variables

Custom Environment Variables

Store application settings outside source code and configure stack-specific values through environment variables.

Open tutorial

PHP Application Servers

Apache

Apache PHP

Create and configure an Apache-based PHP environment with HTTP/2 support, modules, virtual hosts, WebDAV, and server statistics.

Open tutorial
NGINX

NGINX PHP

Deploy PHP applications on an NGINX-based server and manage runtime, virtual-host, WebDAV, and security settings.

Open tutorial
LiteSpeed

LiteSpeed Web Server

Create a commercial high-performance PHP environment with HTTP/3, caching, WAF, WordPress protection, and an administration panel.

Open tutorial
Integrated Stack

LEMP and LLSMP

Deploy an all-in-one PHP stack that combines the web server, MariaDB, PHP, and Memcached inside one container.

Open tutorial

Deployment and Project Management

Deployment

Deploy PHP Applications

Upload an application archive, deploy from a direct URL, or connect a Git or SVN repository through Deployment Manager.

Open tutorial
Availability

PHP Zero-Downtime Deployment

Deploy timestamped application versions and switch the ROOT symbolic link only after the new release is ready.

Open tutorial
Dependencies

PHP Composer

Install Composer, manage project dependencies, generate autoload files, and use repeatable production installation commands.

Open tutorial
Automation

Git and SVN Auto-Deploy

Connect a repository, configure periodic update checks, and automatically redeploy an application when source code changes.

Open tutorial

Configuration, Extensions, and Performance

Configuration

PHP Application Server Configuration

Edit Apache and NGINX PHP settings, application files, cron jobs, private keys, and extension modules for one or all nodes.

Open tutorial
Extensions

PHP Extensions

Review built-in and dynamic extensions, enable modules through php.ini, configure OPcache, and upload custom extensions.

Open tutorial
Performance

PHP Accelerators

Understand bytecode caching and activate a compatible accelerator to reduce repeated PHP script compilation.

Open tutorial
Auto Configuration

PHP Auto Configuration

Review how the platform automatically adjusts PHP and web-server parameters according to the allocated resources.

Open tutorial
Modules

Apache and NGINX Modules

Review the default modules included in the certified Apache and NGINX PHP application-server stacks.

Open tutorial
Apache Modules

Add Custom Apache Modules

Compile a compatible Apache module, upload its shared-object file, configure LoadModule, and restart the server.

Open tutorial

Scaling, Clustering, and Availability

Vertical Scaling

Automatic Vertical Scaling

Allow PHP containers to consume additional RAM and CPU automatically up to the configured Cloudlet limit.

Open tutorial
Horizontal Scaling

Automatic Horizontal Scaling

Add or remove PHP application-server nodes automatically according to resource-consumption triggers.

Open tutorial
Sessions

PHP Sessions Clustering with Memcached

Back up PHP sessions in Memcached so another Apache instance can continue serving users after a node failure.

Open tutorial
Load Balancing

Traffic Distribution for PHP

Distribute requests between multiple PHP nodes and configure sticky sessions, health checks, and failover behaviour.

Open tutorial

Security and Access

PHP Security

PHP.INI Security Settings

Restrict risky PHP functions, limit resource usage, reduce information exposure, and enable production error logging.

Open tutorial
Apache Security

Apache Security Configurations

Configure Basic authentication, hostname and IP access rules, ModSecurity, and server-version hiding.

Open tutorial
Remote Files

Apache WebDAV Module

Enable protected remote access for browsing, editing, and uploading files through a compatible WebDAV client.

Open tutorial
Monitoring

Apache Statistics Module

Enable and protect the Apache server-status page to review current server activity and performance information.

Open tutorial
SSL

Secure Sockets Layer

Enable HTTPS for the environment, install certificates, and protect traffic between users and PHP applications.

Open tutorial
Firewall

Container Firewall

Control inbound and outbound access to PHP, database, cache, and administration services.

Open tutorial

Application Deployment Tutorials

WordPress

WordPress Deployment

Deploy WordPress, connect the database, complete installation, and prepare the application for production use.

Open tutorial
Drupal

Drupal Deployment

Create the PHP and database environment, deploy Drupal, and complete the web-based installation workflow.

Open tutorial
Joomla

Joomla Deployment

Deploy the Joomla package, connect it to a managed database, and configure the administrator account.

Open tutorial
Magento

Magento Deployment

Prepare a scalable PHP topology, deploy Magento, connect required services, and complete installation.

Open tutorial
TYPO3

TYPO3 CMS Deployment

Deploy TYPO3 to Apache PHP, configure the database connection, and complete the CMS setup.

Open tutorial
Frameworks

PHP Framework Deployment

Deploy Composer-based frameworks and configure their document root, environment variables, storage, and database access.

Open tutorial

Recommended learning path

Start with PHP versions and environment creation, continue with the selected application server and deployment method, and then add Composer, extensions, security, scaling, clustering, and production monitoring.

Important Notes

  • Available PHP and application-server versions can vary by hosting provider.
  • Review application compatibility before changing PHP versions or enabling extensions.
  • Back up application data and configuration before redeployment or topology changes.
  • Use private networking for communication between PHP, database, and cache nodes whenever possible.
  • Replace the placeholder # links with the final URLs of your BWS documentation pages.