We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I run the following in Web Console...
php -r 'echo "PHP Path : ".PHP_BINARY;'
Expected result...
PHP Path : /usr/bin/php7.0
Actual result...
PHP Path :
If I then run the following in Web Console...
/usr/bin/php7.0 -r 'echo "PHP Path : ".PHP_BINARY;'
I get...
If I then run the following via SSH on the server as the web user (It is a docker container fresh Ubuntu image)...
The server has a number of symbolic links involved in the PHP look up but ultimately it is just a standard PHP7 APT Ubuntu install...
$ ls -la /usr/bin/php lrwxrwxrwx 1 root root 21 Nov 20 15:26 /usr/bin/php -> /etc/alternatives/php $ ls -la /etc/alternatives/php lrwxrwxrwx 1 root root 15 Nov 20 15:26 /etc/alternatives/php -> /usr/bin/php7.0 $ ls -la /usr/bin/php7.0 -rwxr-xr-x 1 root root 4430896 Aug 9 14:43 /usr/bin/php7.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I run the following in Web Console...
php -r 'echo "PHP Path : ".PHP_BINARY;'
Expected result...
PHP Path : /usr/bin/php7.0
Actual result...
PHP Path :
If I then run the following in Web Console...
/usr/bin/php7.0 -r 'echo "PHP Path : ".PHP_BINARY;'
I get...
PHP Path : /usr/bin/php7.0
If I then run the following via SSH on the server as the web user (It is a docker container fresh Ubuntu image)...
php -r 'echo "PHP Path : ".PHP_BINARY;'
I get...
PHP Path : /usr/bin/php7.0
The server has a number of symbolic links involved in the PHP look up but ultimately it is just a standard PHP7 APT Ubuntu install...
The text was updated successfully, but these errors were encountered: