Though it is very old question but again it very important for those whose application are already running on old server like me. After many crawling on web, I found below solution working for me.
sudo chmod -R 777 /var/www/html/
After above command I found that- Cannot use image captcha as GD library is not enabled!
Then I used
yum install gd gd-devel php-gd
sudo systemctl restart httpd
Rference threads:- CakePHP cache was unable to write in Centos 7