Parse error: syntax error, unexpected T_LNUMBER in /wiki/LocalSettings.php (MediaWiki v1.11.0 & reCAPTCHA plugin v1.7)



When I tried to install the reCAPTCHA plugin(extension) for MediaWiki, I met the following problem:

Parse error: syntax error, unexpected T_LNUMBER in /wiki/LocalSettings.php已複製到剪貼簿


My configuration is

require_once('extensions/recaptcha/ReCaptcha.php");已複製到剪貼簿


Replace the above line with the same quotation mark will solve the error (highlight with the red color).

require_once('extensions/recaptcha/ReCaptcha.php');已複製到剪貼簿

留言