Re: [PHP] location of php binary?
- Date: Sat, 26 Sep 2015 22:45:22 -0700
- From: Jeffry Killen <jekillen@xxxxxxxxxxx>
- Subject: Re: [PHP] location of php binary?
On Sep 26, 2015, at 10:36 PM, Jim Lucas wrote:
On September 26, 2015 8:34:18 PM PDT, Jeffry Killen <jekillen@xxxxxxxxxxx
I am looking at the output from phpinfo() on FreeBSD system with c
shell for user.
(FreeBSD 10.1, Apache 2.2.4, php version 5.6) and am trying to
establish the location
of the php executable that will be used for php cli scripts. I have
not found anything
in the output. Am I missing something?
Another ancillary question is what extensions in the server version
php are available to the cli version; where would I find that out?
The manual doesn't address this question, or did I again miss
Is php used by the server the same executable as the cli, or are they
Is there a phpinfo() for the cli?
I have been doing some Googling around for info and haven't really
looked past the
bare basics of writing php cli scripts ( and getting the shebang line
to point to the
proper location to begin with)
Looking at the output from '%php -v', it is not specified there
Try these. They'll give you the answers you seek.
# which php
# php -m
also for response:
FreeBSD - should be /usr/local/bin/php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php