- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
Login to ssh to your virtualmin server using root user.
Run following commands
cd /usr/local/src
sudo git clone
cd opentelemetry-php-instrumentation/ext
Build using PHP 8.2's tools
phpize8.2
./configure --with-php-config=/usr/bin/php-config8.2
make
sudo make install
Enable the extension in PHP 8.2
echo "extension=opentelemetry.so" | sudo tee /etc/php/8.2/mods-available/opentelemetry.ini
sudo phpenmod -v 8.2 opentelemetry
sudo systemctl restart php8.2-fpm
Confirm successful installation
php8.2 -m | grep opentelemetry
Run following commands
cd /usr/local/src
sudo git clone
cd opentelemetry-php-instrumentation/ext
Build using PHP 8.2's tools
phpize8.2
./configure --with-php-config=/usr/bin/php-config8.2
make
sudo make install
Enable the extension in PHP 8.2
echo "extension=opentelemetry.so" | sudo tee /etc/php/8.2/mods-available/opentelemetry.ini
sudo phpenmod -v 8.2 opentelemetry
sudo systemctl restart php8.2-fpm
Confirm successful installation
php8.2 -m | grep opentelemetry