alkhater wrote:
Then how do hook PHP to Apache. That would be very useful.
Indeed. I've never done it myself so I can only offer general advice. The problem is that the integration of PHP with Apache in a high-speed, efficient way is dependent on Apache PHP modules. Those modules are dependent on specific versions and builds of Apache and PHP. So, if you want to change either, you need to build both. The correct way to do this is download the appropriate packages from
Apple's Open Source site, modify the build parameters and rebuild them. Of course, most people take Larry Wall's first programmer virtue to heart and just download the latest packages from their respective developers. That should work too. Really virtuous programmers will just
download XAMPP. Those programmers that seek to go beyond virtue, and even benevolence, and directly into Tao will realize that the system build of PHP is fine and just use that.