B
B
BarneyGumble2021-01-14 15:27:55
linux
BarneyGumble, 2021-01-14 15:27:55

How to apply changes in php.ini in VMBitrix?

There is a site on Bitrix. It used to run on a regular hosting (Ubuntu/Apache)

Now we have deployed VMBitrix at home and put the site there.

I started phpinfo, I see where php.ini is - Loaded Configuration File /etc/php.ini

I go into this file, make changes, do sudo service apache2 restartit, writes Failed to restart apache2.service: Unit not found .
I do sudo service nginx restart- restarts. But changes in php.ini do not cling

As I understand it, in VMBitrix everything is somehow arranged differently. How do I apply changes to php.ini ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor Taran, 2021-01-14
@BarneyGumble

Read the official manuals, it's all there.
MySQL - /etc/mysql/conf.d/z_bx_custom.cnf
PHP - /etc/php.d/z_bx_custom.ini
Apache - /etc/httpd/bx/conf/z_bx_custom.conf
service httpd restart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question