The problem is that your questions are so far off-base that we would need to walk you through step by step from the beginning. Which is exactly what the INSTALL file does. I also find it hard to believe that you have read that file multiple times. But ok, here we go, spoonfeeding time:
You asked: > mod_php4.c is in the source directory of apache and if i point the > httpd.conf to this directory I get a "not in list of loaded modules' Now where in the INSTALL file does it say anything about pointing anything in httpd.conf to your apache source directory? The section of the INSTALL file that mentions mod_php4.c says this: 4a. Setting up the server. (Dynamic Module) The make install command in step 3 should have done most of your work for you. It actually edits your httpd.conf file and tries to enable the dynamic PHP module. To verify this, look for a line that looks like this: LoadModule php4_module libexec/libphp4.so The actual path before the libphp4.so part might differ slightly. This is likely fine. If you are paranoid you can examine the output from the make install step to see where the libphp4.so file was actually put and place the full path to this file on this LoadModule line. If somewhere in your httpd.conf file you have a ClearModuleList line then you also need this line: AddModule mod_php4.c And finally you need to tell Apache which file extension should trigger PHP. You do this by creating a special mime type and associating it with an extension. We suggest using: AddType application/x-httpd-php .php Here is where I start to feel silly. Pasting lines of the docs you say you read into an email.... So, walking through this. You need to have the LoadModule line pointing to your libphp4.so. Then, if and only if you have a ClearModuleList line in your httpd.conf followed by a bunch of AddModule lines, then you have to make sure you add "AddModule mod_php4.c" to your httpd.conf. This says nothing about a path to mod_php4.c for a good reason. This is not referring to a file on your filesystem, it is simply an internal name Apache uses to identify modules. Whether you have this file or not is completely irrelevant, the only important file is libphp4.so. -Rasmus On Wed, 26 Jun 2002, Peter Richards wrote: > > "> please read the INSTALL file that came with the php sources. > > tc > > > > I aplogise if this question appeared naive. In fact I had read the install > files many times. I find this facile reply hurtful not helpful. You were a > beginner once. It does not help the Linux/PHP cause to be so brusqe. I have > been computing for years. I don't recall a previous question that was > replied to with less courtesy. > peter richards > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php