Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Php5-gd for pfsense 2.0.1 captive portal captcha

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bx2gp1
      last edited by

      Hello, I have a problem activating php5-gd in pfsense shell.

      What I did:

      1. pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/php5-gd.tbz

      2. After download complete I type rehash (as stated here http://doc.pfsense.org/index.php/Installing_FreeBSD_Packages)

      3. I uploaded a php file containing phpinfo() under captive portal file manager and accessed it through browser and still the GD was not present.

      I want to use GD for captcha in my custom login page.

      Any idea what I missed?

      my PHP Version is 5.2.17

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        first, the version of the gd module would have to match exactly the version of PHP we include, 5.2.17.

        That file you linked is for php5-5.3.2_1

        If you manage to compile/find the right package, you'd still have to tell it to be loaded, it doesn't automatically load every module. Search around for "php_dynamodules" here on the forum for info on how to make that happen.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          bx2gp1
          last edited by

          Thanks for that info, btw is the GD available in the latest release of pfsense?

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            No, we don't use GD for anything like that on pfSense, so it's not something we include.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • S soriger referenced this topic on
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.