Call to undefined function AppHttpControllersbcmul() in laravel 5.5
Here is My code bcmul is undefined but my concern bcmul is php
function using for Multiply two arbitrary precision numbers.
but laravel show undefined why?
public function confirmBtcRequest(Request $request,$id){
$getBalanceInfo = $this->bitcoin->get_balance();
$sendAmount = bcmul($getBalanceInfo->data->available_balance, '0.01', 8);
print_r($sendAmount);
die;
}
if You have any idea please respond me.
laravel bitcoin
add a comment |
Here is My code bcmul is undefined but my concern bcmul is php
function using for Multiply two arbitrary precision numbers.
but laravel show undefined why?
public function confirmBtcRequest(Request $request,$id){
$getBalanceInfo = $this->bitcoin->get_balance();
$sendAmount = bcmul($getBalanceInfo->data->available_balance, '0.01', 8);
print_r($sendAmount);
die;
}
if You have any idea please respond me.
laravel bitcoin
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
1
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
1
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08
add a comment |
Here is My code bcmul is undefined but my concern bcmul is php
function using for Multiply two arbitrary precision numbers.
but laravel show undefined why?
public function confirmBtcRequest(Request $request,$id){
$getBalanceInfo = $this->bitcoin->get_balance();
$sendAmount = bcmul($getBalanceInfo->data->available_balance, '0.01', 8);
print_r($sendAmount);
die;
}
if You have any idea please respond me.
laravel bitcoin
Here is My code bcmul is undefined but my concern bcmul is php
function using for Multiply two arbitrary precision numbers.
but laravel show undefined why?
public function confirmBtcRequest(Request $request,$id){
$getBalanceInfo = $this->bitcoin->get_balance();
$sendAmount = bcmul($getBalanceInfo->data->available_balance, '0.01', 8);
print_r($sendAmount);
die;
}
if You have any idea please respond me.
laravel bitcoin
laravel bitcoin
edited Nov 21 '18 at 13:04
raushan kumar
asked Nov 21 '18 at 12:59
raushan kumarraushan kumar
6911
6911
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
1
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
1
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08
add a comment |
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
1
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
1
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
1
1
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
1
1
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08
add a comment |
2 Answers
2
active
oldest
votes
According to PHP documentation, BCMath is not available by default with PHP7 on Linux servers. Not personally verified though.
bcmath ist not installed automatically with php 7 on linux (ubuntu
server) You have to use: sudo apt-get install php-bcmath
Source: http://php.net/manual/en/bc.installation.php
add a comment |
bcmul() is a function in php. This error means that the php version on your server has not been compiled with the necessary library, called BC Math (http://php.net/manual/en/book.bc.php). You need to talk to your server admin about this.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412599%2fcall-to-undefined-function-app-http-controllers-bcmul-in-laravel-5-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
According to PHP documentation, BCMath is not available by default with PHP7 on Linux servers. Not personally verified though.
bcmath ist not installed automatically with php 7 on linux (ubuntu
server) You have to use: sudo apt-get install php-bcmath
Source: http://php.net/manual/en/bc.installation.php
add a comment |
According to PHP documentation, BCMath is not available by default with PHP7 on Linux servers. Not personally verified though.
bcmath ist not installed automatically with php 7 on linux (ubuntu
server) You have to use: sudo apt-get install php-bcmath
Source: http://php.net/manual/en/bc.installation.php
add a comment |
According to PHP documentation, BCMath is not available by default with PHP7 on Linux servers. Not personally verified though.
bcmath ist not installed automatically with php 7 on linux (ubuntu
server) You have to use: sudo apt-get install php-bcmath
Source: http://php.net/manual/en/bc.installation.php
According to PHP documentation, BCMath is not available by default with PHP7 on Linux servers. Not personally verified though.
bcmath ist not installed automatically with php 7 on linux (ubuntu
server) You have to use: sudo apt-get install php-bcmath
Source: http://php.net/manual/en/bc.installation.php
answered Nov 21 '18 at 13:08
hktanghktang
9941530
9941530
add a comment |
add a comment |
bcmul() is a function in php. This error means that the php version on your server has not been compiled with the necessary library, called BC Math (http://php.net/manual/en/book.bc.php). You need to talk to your server admin about this.
add a comment |
bcmul() is a function in php. This error means that the php version on your server has not been compiled with the necessary library, called BC Math (http://php.net/manual/en/book.bc.php). You need to talk to your server admin about this.
add a comment |
bcmul() is a function in php. This error means that the php version on your server has not been compiled with the necessary library, called BC Math (http://php.net/manual/en/book.bc.php). You need to talk to your server admin about this.
bcmul() is a function in php. This error means that the php version on your server has not been compiled with the necessary library, called BC Math (http://php.net/manual/en/book.bc.php). You need to talk to your server admin about this.
answered Nov 21 '18 at 13:08
MD. Jubair MizanMD. Jubair Mizan
1,1161614
1,1161614
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412599%2fcall-to-undefined-function-app-http-controllers-bcmul-in-laravel-5-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
share your Route,view and model if any.
– Prathamesh Doke
Nov 21 '18 at 13:03
1
You might need to install BCMath php.net/manual/en/bc.installation.php
– hktang
Nov 21 '18 at 13:07
1
ok i try..to install bcmath
– raushan kumar
Nov 21 '18 at 13:08