Results for “PHP”

Solving PHP-CGI Process Crashes on Windows

When using nginx, PHP requests need to be forwarded to a CGI program. About FastCGI: its full name is FastCGI Process Manager, a process manager that manages CGI. There are many process managers on the market, and PHP-FPM is one of them. PHP-FPM acts as a process manager, listening on a port…

How to Install Memcache Extension for PHP on Linux

Installation Environment: CentOS 6.4

The PHP memcache extension enables support for the memcached database caching server. Below is the installation method.

1. Download

Download URL: http://pecl.php.net/package/memcache

File Name: memcache-3.0.8.tgz

After the file is downloaded successfully, upload …

PHP 7 Hands-On Review: Massive Performance Boost, Strong Compatibility, Limited Extension Support

With the release of PHP 7, its performance and compatibility have become hot topics of discussion in recent days. The impressive performance demonstrated by PHP 7 has tempted many to give it a try, and some early adopters have already deployed PHP 7 in production environments. Meanwhile, popular applications like LNMP have been promptly updated to support PHP 7…

PHP7 vs HHVM

A performance comparison between PHP7 and HHVM, examining execution speed, memory usage, and compatibility for production workloads.

How to Add pdo_mysql Module to PHP in WDCP

The default PHP installation only includes the commonly used default modules; some less common or infrequently used ones are not installed. Below, we’ll use the wdlinux panel to install pdo-mysql as an example. After successful installation, you can detect it through a PHP probe: wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.t …

PTS Performance Testing: PHP Session Issues Under High Concurrency

A PTS user reported that system performance couldn’t scale up, CPU utilization only reached 12%, TPS plummeted after running for one minute, and it kept getting slower with significant fluctuations. The transaction only involved a single PHP page request, the backend system architecture was apache2.2+PHP5.3+mysql+windows2003, and the stress test requests had no s …

How to Configure PHP 5.x (CGI Mode) on IIS7

1. Ensure the CGI feature under IIS 7 Application Development Features is enabled.
2. Install the PHP Manager module by downloading the version matching your system. IIS 7.5 introduces a new PHP extension module. Download link: http://phpmanager.codeplex.com/releases/view/69115 …

How to Install PHP 5.3.x on IIS 7

First, install IIS7. During installation, pay attention to three checkboxes:
Note: CGI will be used in the IIS7 + PHP 5.3.5 environment.
ISAPI Extensions and ISAPI Filters are used for IIS7 + PHP 5.2.17.
Next, begin adding PHP support to IIS. IIS7 + PHP 5.3.5
1. Unzip the downloaded ph …