I'm trying to integrate reCAPTCHA script into my app. But when I put code from (https://developers.google.com/recaptcha/docs/php)
require_once('recaptchalib.php');
$publickey = "here_is_my_public_key";
echo recaptcha_get_html($publickey);
into Volt template I got something like this:
Warning: require_once(/opt/lampp/htdocs/app/libraries/recaptchalib.php): failed to open stream: Permission denied in /opt/lampp/htdocs/app/cache/_opt_lampp_htdocs_app_views_session_index.volt.php on line 33
Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs/app/cache/../libraries/recaptchalib.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/app/cache/_opt_lampp_htdocs_app_views_session_index.volt.php on line 33
bash sudo chmod 777 -R ./cache
is also doesn't solve this problem, maybe somebody have such expirience?