Guys!
If you are serious about Programming or Using Apache/PHP/MySQL on your Mac...then STOP!!!
Turn OFF "Web Sharing".....
Go to
http://www.xampp.org and download the Lamp Stack for Mac OSX.
It will install a complete LAMP stack. Go to the /Applications/XAMPP folder, change the listening port for apache to port 80 (from 8888) and add an Alias for your personal folders or create a "sites" alias that points to your personal directory.
You will get MySQL 5.0 PHP 4 AND PHP 5 (you can switch) and Apache 2.
After you install XAMPP, then run the pearcmd update to get the latest pear (make sure you run pear from /Applications/XAMPP not /usr/bin....
This is a much easier solution than trying to mess around with the Leopard's Apache install...
But I see that Leopard now uses PHP 5.2.4...but guess what....it doesn't contain all the modules I need...but XAMPP does....
Make sure you setup xampp start in the boot scripts!
cheers! Good luck!