Results for “PHP

How to Specify PHP Version for Composer Execution

If multiple PHP versions are installed on a system, running Composer may sometimes throw an error saying the PHP version is too low: composer require workerman/workerman #Here we take installing workerman as an example The command above is executed directly, using the system’s default PHP version. Let’s take a look below …

How to Enable Opcache for PHP 7 Performance Acceleration

For PHP versions 5.5 and above, you can use the built-in opcache to boost performance (it is disabled by default). After PHP 5.5, opcache can be enabled directly with –enable-opcache. For PHP versions below 5.5, you can use APC for caching. Now let’s see how to enable Opcache.

1.Open php …