Click to See Complete Forum and Search --> : Enable Bcmath


sylvie
08-02-2002, 11:00 AM
Hi,

I'm on Mac OSX and I have php-4.2.2 working fine exept the module Bcmath.

What can I do to activate Bcmath (./configure --enable-bcmath dosen't work).

So I have activate the PHP with this lines:

> cd /etc/httpd/

> sudo apxs -e -a -n php4 libexec/httpd/libphp4.so

> sudo perl -p -i.bak -e 's%#(AddType \S+-php[ -])%$1%i' httpd.conf

> sudo apachectl graceful

What do I have to do to have Bcmath working???

Thank in advance