I cannot believe it(last red box): https://www.codeigniter.com/user_guide/general/caching.html
Note: Before the cache files can be written you must set the file permissions on your application/cache folder such that it is writable.
in welcome page:
$this->output->cache(60);
CodeIgniter requires us to set permission of a folder to 777 I tested and 775 or 755 did not work. only 777 did work. It means that everybody can read the content of folder, upload php file and execute it. Why does codeigniter suggest such insecure way?
updated:
These permissions do not work:
ll
drwxr-xr-x 2 besime besime 4096 Aug 20 17:46 cache/
ll
drwxr-xr-x 15 besime besime 4096 Jun 14 11:11 application/
ll
drwxr-xr-x 4 besime besime 4096 Aug 3 12:08 CodeIgniter/
until I change cache to:
drwxrwxrwx 2 besime besime 4096 Aug 20 17:46 cache/
Then I can see the file b082457291d5cfcb6fb76fda5b43f60a created in cache folder after opening the welcome page.