Thanks, Matt, for trying to give me hand. I didn't use the AddModule
command, because I thought it was only used for DSO modules. When I went
ahead and tried to use it, it does complain about LoadModule not being
invoked, so I took this as further evidence that AddModule was just for
dynamic modules, and didn't try anything further.

I sure wish I could fix this (my motto is "Never let the software
win.") because of the improvement in speed for php documents, but if I
can't, I guess I'll use the DSO module.

Thanks, again for your help.

-Kevin Zembower

>>> Matt Schroebel <[EMAIL PROTECTED]> 03/11/02 02:49PM >>>
I always use the dso version, but I'll try. 
(BTW: DSOs allow HTTP authentication while static doesn't)
These belong in the main section:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Do you have the AddModule line below:
AddModule modules/php4/libphp4.a

> -----Original Message-----
> From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 11, 2002 1:07 PM
> To: [EMAIL PROTECTED] 
> Subject: [PHP-INST] PHP not parsed.
> 
> 
> I reviewed a lot of messages on what to do if php is not 
> parsed (browser
> asks to save file if .php file is clicked). I think I checked all
the
> suggestions, but I still can't get it to work. I'm using php 4.1.2,
> compiled from source, and Apache 1.3.20, also compiled from source
and
> seemingly running correctly. I'm using SuSE 7.2 for the host. 
> I'm trying
> to get php to work as a static module.
> 
> I have these lines in my httpd.conf file:
> <Directory "/usr/local/httpd/htdocs">
>     AddType application/x-httpd-php .php
>     AddType application/x-httpd-php-source .phps
> </Directory>
> 
> I've tried the two AddType lines the "Main" web server 
> section, outside
> of the Directory directives, but this didn't work either. This is
the
> httpd.conf file used, as when I put in a deliberate error, ./httpd
-t
> complains.
> 
> Apache is built with php:
> www:/usr/local/httpd/conf # /usr/local/httpd/bin/httpd -l
> Compiled-in modules:
>   http_core.c
>  ...
>   mod_so.c
>   mod_setenvif.c
>   mod_php4.c
>   mod_so.c
> suexec: disabled; invalid wrapper /usr/local/httpd/bin/suexec
> www:/usr/local/httpd/conf # 
> 
> (Don't know why mod_so.c is compiled in twice.)
> 
> Any suggestions on what I'm doing wrong, or ways to troubleshoot it?
> 
> Thanks in advance for your help and suggestions.
> 
> -Kevin Zembower
> 
> -----
> E. Kevin Zembower
> Unix Administrator
> Johns Hopkins University/Center for Communications Programs
> 111 Market Place, Suite 310
> Baltimore, MD  21202
> 410-659-6139
> 
> -- 
> 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

Reply via email to