# PHP Configuration Update Required for Video Uploads

## Problem Found
Video files are not being uploaded because the PHP upload size limits are too small:
- Current `upload_max_filesize`: **2M** (too small for videos)
- Current `post_max_size`: **8M** (too small for videos)

## Solution
You need to update the PHP configuration file to increase these limits.

### Steps to Fix:

1. **Open the PHP configuration file:**
   ```bash
   sudo nano /opt/homebrew/etc/php/8.4/php.ini
   ```

2. **Find and update these two lines:**
   
   Find:
   ```
   upload_max_filesize = 2M
   post_max_size = 8M
   ```
   
   Change to:
   ```
   upload_max_filesize = 100M
   post_max_size = 128M
   ```

3. **Save the file:**
   - Press `Ctrl + O` to save
   - Press `Enter` to confirm
   - Press `Ctrl + X` to exit

4. **Restart PHP-FPM (if using):**
   ```bash
   brew services restart php@8.4
   ```
   
   OR restart Apache/XAMPP:
   ```bash
   sudo /Applications/XAMPP8/xamppfiles/xampp restart
   ```

5. **Verify the changes:**
   ```bash
   php -i | grep -E "(upload_max_filesize|post_max_size)"
   ```
   
   You should see:
   ```
   post_max_size => 128M => 128M
   upload_max_filesize => 100M => 100M
   ```

### After Making These Changes:
Try uploading a video file again. The file should now be accepted by the server and sent to the webhook.

## Alternative: Edit php.ini via VS Code or any text editor
```bash
code /opt/homebrew/etc/php/8.4/php.ini
```

Then search for `upload_max_filesize` and `post_max_size` and update them as shown above.

