Add PHP_MEMORY_LIMIT option for install.sh
- Document environment variable usage: PHP_MEMORY_LIMIT=2048M ./install.sh - Update both English and Japanese sections Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,6 +60,9 @@ For convenience, you can install a wrapper script:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
|
# Or with custom memory limit
|
||||||
|
PHP_MEMORY_LIMIT=2048M ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
After installation, use the `php-security-lint` command anywhere:
|
After installation, use the `php-security-lint` command anywhere:
|
||||||
@@ -394,6 +397,9 @@ docker run --rm -v $(pwd):/target php-security-linter:latest /target -s high -f
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
|
# メモリ制限を指定する場合
|
||||||
|
PHP_MEMORY_LIMIT=2048M ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
インストール後は `php-security-lint` コマンドでどこからでも使用できます:
|
インストール後は `php-security-lint` コマンドでどこからでも使用できます:
|
||||||
|
|||||||
Reference in New Issue
Block a user