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

    pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    16 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.
    • W
      weli
      last edited by

      there is no php executable defined in the workspace where to find
      in pfsense

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @weli
        last edited by

        @weli said in pfsense:

        workspace

        What is a workspace ?
        What (me) comes in mind is the place where any OS stores it executables :
        The PATH variable.
        Print it out, and look in these directories => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
        You'll find it here /usr/local/sbin/php-fpm
        and some here :

        [2.4.4-RELEASE][admin@pfsense.local.net]/root: ls -al /usr/local/bin/php*
        -rwxr-xr-x  2 root  wheel  4856668 Sep 14  2018 /usr/local/bin/php
        -rwxr-xr-x  1 root  wheel  4798608 Sep 14  2018 /usr/local/bin/php-cgi
        -rwxr-xr-x  1 root  wheel     2759 Sep 14  2018 /usr/local/bin/php-config
        -rwxr-xr-x  2 root  wheel  4856668 Sep 14  2018 /usr/local/bin/php_pfb
        -rwxr-xr-x  1 root  wheel     4544 Sep 14  2018 /usr/local/bin/phpize
        

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • W
          weli
          last edited by

          No such file or directory

          GertjanG 1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            What pfSense version?

            Has this just failed?

            If there is no php binary almost nothing will work!

            Steve

            W 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @weli
              last edited by

              @weli said in pfsense:

              No such file or directory

              Do we have to send some one over ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • W
                weli @stephenw10
                last edited by

                2.5.0

                JKnottJ 1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @weli
                  last edited by

                  @weli said in pfsense:

                  2.5.0

                  Current version is 2.4.4.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan
                    last edited by

                    I don't use 2.5.0 yet (it's beta - maybe alpha), but I'm pretty sure the location didn't change.

                    Here /usr/local/sbin/ for the fpm
                    Here /usr/local/bin/ for the other related php files
                    Here /usr/local/lib/php/201.... for the lib (= so) files

                    Anyway, open a console, option 8 and type :

                    php -v
                    

                    and you have the CLI at your disposal.

                    Questions related to 2.5.0. belong here :

                    dccee388-0338-40b9-8dd1-7ce49049e025-image.png

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • W
                      weli
                      last edited by weli

                      it's still the same and where can i add php executable path for eclipse php in pfsense

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by stephenw10

                        @weli said in pfsense:

                        eclipse php

                        Exactly what are you trying to do here?

                        The file locations have not changed in 2.5 though. Just as @Gertjan said:

                        /usr/local/sbin/php-fpm
                        /usr/local/bin/php
                        

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @weli
                          last edited by

                          @weli said in pfsense:

                          can i add php executable path for eclipse

                          Now where does eclipse come from ? What is eclipse ??

                          edit Ok - got it. But what has this to do with pfSense ??

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            weli @Gertjan
                            last edited by

                            pfsense.png

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              So you're trying to create a custom captive portal page? Using some php development tool?

                              This looks like an eclipse problem to be honest. Where have you set the executable in the 'workspace'?

                              Steve

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                weli @stephenw10
                                last edited by weli

                                that is the problem I'm trying to fix it

                                1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan
                                  last edited by

                                  Ah .... details are coming in slowly.

                                  Just a wild shot : the pfSense isn't a build environment - stock FreeBSD 11.2 or 12 is.

                                  I still don't know what you are using. This https://github.com/freebsd/freebsd-ports/tree/master/java/eclipse ?
                                  I good start should be the eclipse support forum, if such a thing exists.

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by stephenw10

                                    https://www.eclipse.org/forums/ ?

                                    https://help.eclipse.org/2019-12/topic/org.eclipse.php.help/html/reference/preferences/php_executables/index.html

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.