I could be way off here (I've only done one apache+php install), but when you configure it (when installing from source) don't you need to pass something to both apache and php? For example, with php you'd do something like: ./configure --with-apache=../apache_x.x.xx --enable-track-vars and with apache you'd do something like: ./configure --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 --prefix=/usr/local/apache Of course, the paths above are subject to change for your system. Then you would need to tweak your httpd.conf file like you've indicated below. Devshed (www.devshed.com) has a howto that goes into a bit more detail that you need (also covers ssl and mysql) but you might find it helpful. http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html Jeff On Wed, 30 Jan 2002, Raymond Norton wrote: > This is the portion of my httpd.conf file that I would guess needs a change. > Since my first post I have uninstalled the php4 rpm. I am open to any advice > on how to get php4 and Apache to talk. > > <IfModule mod_negotiation.c> > LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz > ca es sv tw > </IfModule> > > # > # AddType allows you to tweak mime.types without actually editing it, or > to > # make certain files to be certain types. > # > # For example, the PHP 3.x module (not part of the Apache distribution - > see > # http://www.php.net) will typically use: > # > #AddType application/x-httpd-php3 .php3 > #AddType application/x-httpd-php3-source .phps > # > # And for PHP 4.x, use: > # > AddType application/x-httpd-php .php > #AddType application/x-httpd-php-source .phps > > This is what I have > RedHat 7.1 > uninstalled apache.rpm and installed Apache 1.3.22 from source with > mod_perl, and Apache session. > > > Thanks > > Raymond > > > ----- Original Message ----- > From: "Jay Kline" <list at slushpupie.com> > To: <tclug-list at mn-linux.org> > Sent: Wednesday, January 30, 2002 2:56 PM > Subject: Re: [TCLUG] apache/php > > > > > I am currently researching how to get > > > php to work with my Apache install, but have not found anything yet. Is > > > there a simple solution for this? > > > > Typically this is a mime problem, check to make sure there is a mime type > > defined for .php and .php3 (if using version 3 files). I think apache has > a > > line or 2 in mime.conf for php that are commented out . > > > > Jay > > _______________________________________________ > > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > Minnesota > > http://www.mn-linux.org > > tclug-list at mn-linux.org > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > >