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

Reply via email to