Skip to content

Commit 297d1e4

Browse files
authored
[php] Update Codeigniter to v 4 (#7686)
* [php] Update Codeigniter to v 4 * Add writable dir * Change display name * Add JIT in php-fpm
1 parent b92eba2 commit 297d1e4

File tree

114 files changed

+5265
-2039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+5265
-2039
lines changed

frameworks/PHP/codeigniter/.env-dev

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CI_ENVIRONMENT = development

frameworks/PHP/codeigniter/README.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,29 @@ This is the Codeigniter PHP portion of a [benchmarking test suite](../) comparin
55
### JSON Encoding Test
66
Uses the PHP standard [JSON encoder](http://www.php.net/manual/en/function.json-encode.php).
77

8-
* [JSON test controller](application/controllers/bench.php)
8+
* [JSON test controller](app/Controllers/Bench.php)
99

1010

1111
### Data-Store/Database Mapping Test
1212
Uses the db abstraction class from Codeigniter
1313

14-
* [DB test controller](application/controllers/bench.php)
14+
* [DB test controller](app/Controllers/Bench.php)
1515

1616

1717
## Infrastructure Software Versions
1818
The tests were run with:
1919

20-
* [Codeigniter Version 3.1.11](http://ellislab.com/codeigniter)
21-
* [PHP Version 7.4](http://www.php.net/) with FPM and APC
22-
* [nginx 1.16.1](http://nginx.org/)
23-
* [MySQL 8](https://dev.mysql.com/)
20+
* [Codeigniter Version 4](https://www.codeigniter.com)
2421

2522
## Test URLs
2623
### JSON Encoding Test
2724

28-
http://localhost/index.php/bench/json
25+
http://localhost/json
2926

3027
### Data-Store/Database Mapping Test
3128

32-
http://localhost/index.php/bench/db
29+
http://localhost/db
3330

3431
### Variable Query Test
3532

36-
http://localhost/index.php/bench/db/2
33+
http://localhost/queries/2
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<IfModule authz_core_module>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !authz_core_module>
5+
Deny from all
6+
</IfModule>
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
/**
4+
* The goal of this file is to allow developers a location
5+
* where they can overwrite core procedural functions and
6+
* replace them with their own. This file is loaded during
7+
* the bootstrap process and is called during the framework's
8+
* execution.
9+
*
10+
* This can be looked at as a `master helper` file that is
11+
* loaded early on, and may also contain additional functions
12+
* that you'd like to use throughout your entire application
13+
*
14+
* @see: https://codeigniter4.github.io/CodeIgniter4/
15+
*/

0 commit comments

Comments
 (0)