Page 1 of 1

Panther PHP build and basic databases (gdbm)

Posted: Sat Apr 17, 2004 5:09 pm
by James L
Hey all,

I am running the default build of PHP and Apache web server on my mac in Panther (OS 10.3.3).

I am progressing well through a book on learning PHP, but have come to three chapters on basic database skills, SQL skills, and the GD library.

I am currently of the belief that there are no libraries installed in Apple's default build for databases or the graphic work. Does this mean that I will need to download and recompile a new PHP on my mac?

Furthermore, the first chapter uses the dba commands, such as dba_open. It says these commands work with basic databases, such as gdbm.

Does the pre-installed build of panther support the gdbm database, or do I need to download a build of PHP and re-install it?

Thanks all. I hope someone can help with this!

James

Posted: Sat Apr 17, 2004 5:12 pm
by kettle_drum
Do phpinfo(); and see what php has been compiled to allow. Im pretty sure the default php allows most stuff but its not the lastest version of php anyway - so its always good to update it. Wrote a small tutorial on how to compile it for yourself on the link in my signature if your not sure how.