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

Default Dev Languages Available?

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 4 Posters 1.1k 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.
  • C
    css.josh
    last edited by Dec 5, 2013, 5:58 PM

    I'm working on some job specific custom features to add to pfSense… I know that PHP is available. Any other languages available on pfSense (I used the LiveCD install option) that I can use, by default?

    After a quick search, I do not see:

    • PERL

    • Python

    Is PHP my only best option?

    1 Reply Last reply Reply Quote 0
    • T
      timthetortoise
      last edited by Dec 5, 2013, 8:10 PM

      Perl is on there by default, so you can definitely use it. I don't think anything in pfSense currently is actually WRITTEN in it, but it comes with the distribution.

      1 Reply Last reply Reply Quote 0
      • C
        css.josh
        last edited by Dec 5, 2013, 11:43 PM

        I do not see perl in any of the usual locations, and the few search commands I've tried are either producing no results or aren't installed by default…

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Dec 6, 2013, 3:55 AM

          Perl isn't there by default, though a number of packages install it as a dependency which is probably why others thought it was there. PHP is the only interpretive language installed by default.

          You can pkg_add whatever you want. https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Dec 11, 2013, 1:41 PM

            It isn't used for anything post-install, but there is also a Lua interpreter included ( /usr/local/bin/lua50 ) and of course you can run shell scripts or install your own packages as cmb described.

            PHP is the best choice for most things, as that's what most of the other code uses.

            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
            3 out of 5
            • First post
              3/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received