hi Luxana,
I have looked it up those 2 modues for apache through fink and did not find those modules.. by the way, my apache comes with the os, its precompiled. So, what should i do now?
thanks
R6
Main Topics
Browse All TopicsHi Experts,
I've been trying to install apache, php and postgresql on my mac os x and have them worked together. My guide to this is obtained from http://developer.apple.com
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Look for the directory where your Apache resides. In that directory there is a file:
<apache_home>/conf/httpd.c
In that file search make sure you have something like this:
AddType application/x-httpd-php .php4 .php3 .phtml .php
Action application/x-httpd-php /cgi-bin/php.exe
This tells Apache to render the php pages (with different possible php extensions) using php. Ensure that your action line points to the correct location of your php installation.
Also, as Luxana suggested, make sure your php module is loaded. In the same configuration file check that you have something like (it will depend on your php version):
LoadModule php4_module php4apache2.dll
Also in your php.ini file, check that your extension for PostgreSQL is enabled. This would look like this:
extension=php_pgsql.dll
Good luck.
Business Accounts
Answer for Membership
by: LuxanaPosted on 2007-03-26 at 04:15:25ID: 18791905
Hi,
apache probably do not know how to handle php files yet. Look for php module for apache. I'm on linux and I got something like this:
libapache2-mod-php5 - server-side, HTML-embedded scripting language (apache 2 module)
you should look for something similar for mac.
hope this helps