Skip to content

Commit 35c9ef2

Browse files
committed
Merge branch 'ci4-4.2.0' into dev
2 parents f3ec673 + 120516a commit 35c9ef2

7 files changed

Lines changed: 328 additions & 351 deletions

File tree

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Codeigniter4-RoadRunner provides the synchroniztion of the Request and Response
1313
## Install
1414

1515
### Prerequisites
16-
1. CodeIgniter Framework 4.1.9^
16+
1. CodeIgniter Framework 4.2.0^
1717
2. Composer
1818
3. Enable `php-curl` extension
1919
4. Enable `php-zip` extension
@@ -152,12 +152,14 @@ You can reference the `.rr.yaml` settings below to lower the amount of Worker to
152152

153153
```yaml
154154
http:
155-
address: 0.0.0.0:8080
156-
workers:
157-
command: "php psr-worker.php"
158-
pool:
159-
numWorkers: 1
160-
# maxJobs: 500
155+
address: "0.0.0.0:8080"
156+
static:
157+
dir: "./public"
158+
forbid: [".htaccess", ".php"]
159+
pool:
160+
num_workers: 1
161+
# max_jobs: 64
162+
# debug: true
161163
```
162164

163165
### Database Connection

README_zh-TW.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Codeigniter4-RoadRunner 提供的是 Roadrunner-Worker 與 Codeigniter4 在 Requ
1111
## 安裝
1212

1313
### 需求
14-
1. CodeIgniter Framework 4.1.9 以上
14+
1. CodeIgniter Framework 4.2.0 以上
1515
2. Composer
1616
3. 安裝並開啟 php-curl 擴充套件
1717
4. 安裝並開啟 php-zip 擴充套件
@@ -155,12 +155,14 @@ class Home extends BaseController
155155

156156
```yaml
157157
http:
158-
address: 0.0.0.0:8080
159-
workers:
160-
command: "php psr-worker.php"
161-
pool:
162-
numWorkers: 1
163-
# maxJobs: 500
158+
address: "0.0.0.0:8080"
159+
static:
160+
dir: "./public"
161+
forbid: [".htaccess", ".php"]
162+
pool:
163+
num_workers: 1
164+
# max_jobs: 64
165+
# debug: true
164166
```
165167

166168
### 資料庫連線

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prefer-stable": true,
2323
"require": {
2424
"php" : "^7.4 || ^8.0",
25-
"codeigniter4/framework": "^4.1.9",
25+
"codeigniter4/framework": "^4.2.0",
2626
"spiral/roadrunner": "^2",
2727
"spiral/dumper": "^2.8",
2828
"laminas/laminas-diactoros": "^2.8",
@@ -39,7 +39,8 @@
3939
},
4040
"config": {
4141
"allow-plugins": {
42-
"phpstan/extension-installer": true
42+
"phpstan/extension-installer": true,
43+
"composer/package-versions-deprecated": true
4344
}
4445
}
4546
}

0 commit comments

Comments
 (0)