简体   繁体   中英

How to run captcha on local xampp server in zf2

我正在尝试运行在zf2中的项目,但是图像验证码无法正常工作。

You have to check your loaded PHP modules. If ZF2 uses GD or ImageMagic to generate images you have to enable them in your PHP configuration file. On Windows:

extension=php_gd2.dll

php -m |find "gd"

I have written a Google reCaptcha form element, viewhelper and validator module for ZF2.

You can find it here if you are interested, https://github.com/krytenuk/recaptchav2 .

Docs are also online here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM