phpbcmath

Enable BCMath using php.ini?


I need to enable BC Math, but I don't want to do it using --enable-bcmath, primarily because I don't understand that route.

Is there a way to do this using php.ini only?


Solution

  • To the best of my knowledge you must compile php with the --enable-bcmath option. Without it, the required code won't exist in the binary. Therefore, there is nothing that you can set in php.ini