Pazartesi, Kasım 4, 2024

PHP’ye PHPKoru Eklentisi Nasıl Kurulur?

yüksek çözünürlüklü php logosu

Ücretsiz kullanabilen bir PHP eklentisi olan ve kaynak kodunu aynı ionCube Loader gibi şifreleyen bir yazılımdır, debian 10 üzerinde eklentiyi kurmak için ise aşağıdaki adımları yapmanız yeterlidir.

PHP 7.2 İçin PHPKoru Kurulumu

wget https://cdn.phpkoru.com/loaders/phpkoru_loader_v1.0.2_lin_7.2.so
cp phpkoru_loader_v1.0.2_lin_7.2.so /etc/php/7.2/fpm/extensions/PHPKoru/
bash -c 'echo "extension=/etc/php/7.2/fpm/extensions/PHPKoru/phpkoru_loader_v1.0.2_lin_7.2.so" > /etc/php/7.2/fpm/conf.d/30-phpkoru.ini'
systemctl restart php7.2-fpm.service

PHP 7.3 İçin PHPKoru Kurulumu

wget https://cdn.phpkoru.com/loaders/phpkoru_loader_v1.0.2_lin_7.3.so
cp phpkoru_loader_v1.0.2_lin_7.3.so /etc/php/7.3/fpm/extensions/PHPKoru/
bash -c 'echo "extension=/etc/php/7.3/fpm/extensions/PHPKoru/phpkoru_loader_v1.0.2_lin_7.3.so" > /etc/php/7.3/fpm/conf.d/30-phpkoru.ini'
systemctl restart php7.3-fpm.service

PHP 7.4 İçin PHPKoru Kurulumu

wget https://cdn.phpkoru.com/loaders/phpkoru_loader_v1.0.2_lin_7.4.so
cp phpkoru_loader_v1.0.2_lin_7.4.so /etc/php/7.4/fpm/extensions/PHPKoru/
bash -c 'echo "extension=/etc/php/7.4/fpm/extensions/PHPKoru/phpkoru_loader_v1.0.2_lin_7.4.so" > /etc/php/7.4/fpm/conf.d/30-phpkoru.ini'
systemctl restart php7.4-fpm.service