After following the PHP implementation from the captcha guide, I get the following messages on the page where the captcha should appear:
Warning: require_once(/var/www/resources/recaptchalib.php): failed to open stream: Permission denied in /var/www/submit.php on line 49
Fatal error: require_once(): Failed opening required '/var/www/resources/recaptchalib.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/submit.php on line 49
My line 49 is:
require_once($_SERVER['DOCUMENT_ROOT'].'/resources/recaptchalib.php');
What am I doing wrong?