Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:ci4 [2022/05/20 09:36] – [Resources] darron | tools:ci4 [2022/08/19 12:24] (current) – [Resources] darron | ||
---|---|---|---|
Line 19: | Line 19: | ||
< | < | ||
- | apt install apache2 php php-cli php-mbstring php-intl php-curl php-json php-mysqlnd | + | apt install apache2 php php-cli php-mbstring php-intl php-curl php-json php-mysqlnd |
</ | </ | ||
Line 37: | Line 37: | ||
< | < | ||
- | apt-get install default-mysql-server | + | apt-get install default-mysql-server |
</ | </ | ||
Line 54: | Line 54: | ||
mkdir -p / | mkdir -p / | ||
cd / | cd / | ||
- | wget https:// | + | wget https:// |
- | unzip ci4.zip | + | unzip ci4.2.4.zip |
- | mv codeigniter4-CodeIgniter4-202f41a | + | mv codeigniter4-CodeIgniter4-* hostname.kewl.org |
cd hostname.kewl.org | cd hostname.kewl.org | ||
chown www-data: | chown www-data: | ||
</ | </ | ||
+ | Warning: 4.1 would auto-detect routes but this is not the case with 4.2. | ||
===Configure apache=== | ===Configure apache=== | ||
Line 158: | Line 159: | ||
$this-> | $this-> | ||
?> | ?> | ||
+ | </ | ||
+ | |||
+ | ==Route== | ||
+ | |||
+ | vi app/ | ||
+ | < | ||
+ | $routes-> | ||
</ | </ | ||
Line 169: | Line 177: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// |