pfsense
-
there is no php executable defined in the workspace where to find
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 such file or directory
-
What pfSense version?
Has this just failed?
If there is no php binary almost nothing will work!
Steve
-
-
2.5.0
-
-
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) filesAnyway, 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 :
-
it's still the same and where can i add php executable path for eclipse php 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 ??
-
-
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
-
that is the problem I'm trying to fix it
-
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. -
https://www.eclipse.org/forums/ ?
https://help.eclipse.org/2019-12/topic/org.eclipse.php.help/html/reference/preferences/php_executables/index.html