V
V
vadim622020-01-10 08:56:48
CMS
vadim62, 2020-01-10 08:56:48

How to install PHP precompiler for Bitrix CMS on IIS 7.5 web server?

Good day!
For the second week I have been trying to optimize the speed of the Bitrix CMS on the IIS 7.5 web server.
Now faced with the fact that Bitrix "Site Management" Business version 20.0 flatly refuses to see PHP precompilers, which is why the server performance rating varies from 2 to 5 points.
Briefly about the server parameters: - virtual machine on Win7
x64
- IIS 7.5
- PHP 7.4 NTS
- MySQL 8.0 2) Completely uninstalled and installed IIS, manually installed PHP 7.4, downloaded the APCu library, connected it to PHP

[apcu]
extension=php_apcu.dll
apc.enabled=1
apc.shm_size=32M
apc.ttl=7200
apc.enable_cli=1
apc.serializer=php

It did not give a result, the performance index was 2.5 points.
At the same time, php_info sees APCu
apcu
APCu Support	Enabled
Version	5.1.18
APCu Debugging	Disabled
MMAP Support	Disabled
Serialization Support	php
Build Date	Dec 3 2019 10:46:26

5e1812884d443380838865.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zorca, 2020-01-10
@vadim62

APCu extension is not supported by CMS Bitrix:

<?php
  public static function GetAllAccelerators()
  {
    $result = array();
    if (function_exists('accelerator_reset'))
      $result[] = new CPerfAccelZend;
    if (extension_loaded('apc') && !extension_loaded('apcu'))
      $result[] = new CPerfAccelAPC;
    if (extension_loaded('xcache'))
      $result[] = new CPerfAccelXCache;
    // Wincache removed opcode cache since 2.0.0.1
    // https://pecl.php.net/package-changelog.php?package=WinCache&release=2.0.0.1
    if (extension_loaded('wincache') && function_exists('wincache_ocache_meminfo'))
      $result[] = new CPerfAccelWinCache;
    if (extension_loaded('Zend OPcache'))
      $result[] = new CPerfAccelZendOpCache;
    return $result;
  }

V
Viktor Taran, 2020-01-10
@shambler81

Why do you need IIS for Bitrix?
on Windows there are a lot of working machines emulating Linux, which work fine with php and even a separate official vm for Bitrix
openserver
bitrixvm
from Bitrix and even denver , etc., etc.
What is the point of using IIS for Bitrix?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question