티스토리 뷰

https://laradock.io/documentation/#install-rdkafka-extension-in-php-fpm

Install RDKAFKA extension in php-fpm#

1 - Open the .env file
2 - Search for the PHP_FPM_INSTALL_RDKAFKA argument under the PHP-FPM container
3 - Set it to true
4 - Re-build the container docker-compose build php-fpm

 

Install RDKAFKA extension in workspace#

This is needed for ‘composer install’ if your dependencies require Kafka.

1 - Open the .env file
2 - Search for the WORKSPACE_INSTALL_RDKAFKA argument under the WORKSPACE container
3 - Set it to true
4 - Re-build the container docker-compose build workspace

 

 

위와 같이 라라독 페이지에 보면 나와있다. 하라는대로 하면 되는데,

 

나는 php-fpm, workspace 모두 true로 바꿔줬다. 물론 zookeeper도 찾아서 true로 같이 바꿔줬당.

 

그리고 시키는대로 빌드 때려주면 된당.

 

확인할려면 php-fpm 컨테이너 들어가서 ( docker exec -it 컨테이너아이디 bash )

 

php -m하면 주키퍼와 rdkafka가 보일것이당 그럼 올라온것!

 

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함