As I was begining my forray into installing php 4, I was pleasantly surprised to see all the new functions that appeared to be built in. I noticed all my favorites mentioned under the ext/ directory in the php source.
The only problem is, I can find no clear documentation on how to enable these. I've noticed that mysql is built by default, which is good. But now I want pdf, gd, ttf and flash as well.
I obligingly printed the output of ./configure --help and highlighted all the extensions I wanted to enable. Unfortunately, I always get errors. I tried everything I can think of.
For example, GD. I tried:
--with-gd and
--with-gd=ext/gd
neither of these work.
One by one I removed extensions until I had only this:
./configure \
--with-apache=../apache-php \
--enable-trans-sid \
--enable-magic-quotes
I noticed that xml, mysql, db, and a few other extentions are enabled. How did this happen? How does it work, and how do I make it work for the other built in functions I want.
Any help is appreciated.
Matt