개발56 java DTO 2024. 11. 6. FCM v1 버전 curl -sS https://getcomposer.org/installer | php composer update vi composer.json - mikey179/vfsStream를 mikey179/vfsstream 으로 수정 php composer.phar require google/auth php composer.phar require google/apiclient:^2.12.1 or composer require google/auth composer require google/apiclient:~2.12.1 useApplicationDefaultCredentials(); $client->setScopes($scope); $auth_key = $c.. 2024. 7. 22. php Sendbird 채널 그룹 나가기 curl put 이용 $userIds));// Initialize cURL$curl = curl_init($url);// Set cURL optionscurl_setopt($curl, CURLOPT_HTTPHEADER, array( "Api-Token: $apiToken", "Content-Type: application/json"));curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT");curl_setopt($curl, CURLOPT_POSTFIELDS, $data);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);// Execute the cURL session$response = curl_exec($curl);// Check for cU.. 2024. 5. 28. Amazon Linux 2023 기반 php 설치 https://docs.aws.amazon.com/ko_kr/linux/al2023/ug/ec2-lamp-amazon-linux-2023.html 1. LAMP 서버를 준비dnf update -y 2. php 및 php 패키지 설치 dnf install -y httpd wget php-fpm php-mysqli php-json php php-devel dnf install -y php-cli php-gd php-curl php-zip php-mbstring 2024. 5. 22. 이전 1 2 3 4 ··· 14 다음