bolshi

Prüfen, ob bcmath läuft

geschlossengelöstFragePHPEntwicklung
Hallo,
wir haben mit Probleme beim Einrichten einer Software, die bcmath benötigt. Wie müsste der Eintrag aussehen, wenn ich phpinfo() aufrufe?

Gruß, bolshi
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 140333

Url: https://administrator.de/forum/pruefen-ob-bcmath-laeuft-140333.html

Ausgedruckt am: 04.05.2025 um 07:05 Uhr

dog
dog 12.04.2010 um 09:38:07 Uhr
Goto Top
<?php
var_dump(function_exists('bcadd'));  
?>
matze2010
matze2010 12.04.2010 um 10:39:58 Uhr
Goto Top
In der Ausgabe von phpinfo steht dann in der Kategorie "bcmath" z.B.

"BCMath support - enabled"

Um es zu aktivieren muss natürlich in der php.ini die entsprechende Bibliothek eingebunden werden.

Lg
Matze