I just had this same problem. The deal is that inside of the httpd.conf file
there is the following directive:

ClearModuleList

Pretty self explanatory...it clears all the modules. Below that, there are a
bunch of AddModule directives. This is where you should add your "AddModule
mod_php4.c" line from the install.txt file. You will need to have the
LoadModule directive before this entry. Just add it to the end of the list
of LoadModule's that already exist.

Bill Nickel

"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
news:007501c24a18$b347e8a0$0901a8c0@aaron...
Hi All,

I'm new to the list and I am having a helluva time trying to figure this
out.

First off.. I am running Win XP Pro with Apache 1.3.26 and php 4.2.2 .

Now.. this is what I have done per the INSTALL php.net webpage


1) Downloaded Apache and got it running. I can access .html pages under
localhost.

2) Downloaded PHP and unzipped and installed it into c:\php

3) Moved the php4ts.dll file into the c:\windows\system32 directory

4) Renamed the php.ini-recommended  to php.ini

5) Moved the renamed php.ini file into the c:\windows directory

6) Edited the php.ini file to the following:

    doc_root = "c:\Apache\htdocs"

    extension_dir = "c:\php\extensions"

7) Stopped Apache

8) Edited the http.conf file to the following:


   LoadModule php4_module c:/php/sapi/php4apache.dll
   AddModule mod_php4.c
   AddType application/x-httpd-php .php

Note: These files are in their appropriate locations within the file (Load
the module first then Add the module)

9) Restarted Apache

10) Created a PHP (info.php) file in the htdocs directory to read: <?php
echo phpinfo(); ?>

11) Loaded a browser to view but it does not work.

The page is displaying the code as if it were a .txt file.. meaning the php
code I entered appears exactly like that when I load up the page in a
browser.

Can ANYONE help here? I read and read and read and one thing say this..
while another says that.

Very confusing.

Thanks all.

Regards,

Aaron




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to