Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 1998 15:12:14 -0600
From:      mike grommet <mgrommet@insolwwb.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   PHP 3.0.5 and frontpage srvr extentsion
Message-ID:  <A199D70FC96DD211AD100060976792610359AA@ISIMAIL>

next in thread | raw e-mail | index | archive | help
Trying to build an apache module for php with the frontpage modules
installed... and I'm going nutty :)

The original config here is from the apache1.3.3-fp port, and it works
great...

I follow the instructions (as far as I can tell, to the T)

and install the new httpd with php3

I kill apache (not a restart) and reload...

every time I try to load a .php3 file, the darn browser tries to download
it.
GRR.

Ok, following the instructions on the php site,
httpd -l gives me: (from /usr/local/sbin)

Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_php3.c

my srm.conf file has this
AddType application/x-httpd-php3 .phtml .php3
AddType application/x-httpd-php3-source .phps

now, just piddling around, i went to my web server info page and it gives me
a list of module stuff:
Server Settings, mod_frontpage.c, mod_setenvif.c, mod_so.c, mod_unique_id.c,
mod_usertrack.c, mod_headers.c, mod_expires.c, mod_cern_meta.c,
mod_digest.c, mod_auth_db.c, mod_auth_anon.c, mod_auth.c, mod_access.c,
mod_rewrite.c, mod_alias.c, mod_proxy.c, mod_userdir.c, mod_speling.c,
mod_actions.c, mod_imap.c, mod_asis.c, mod_cgi.c, mod_dir.c,
mod_autoindex.c, mod_include.c, mod_info.c, mod_status.c, mod_negotiation.c,
mod_mime.c, mod_mime_magic.c, mod_log_config.c, mod_env.c, http_core.c

but it doesnt list php... hrm....  what am I possibly missing here?  PHP's
site doesnt help any beyond this point...

Any advice? what else should I check?

if it means anything, my config.status looks like this (for apache):

./configure \
"--sysconfdir=/usr/local/etc/apache" \
"--includedir=/usr/local/include/apache" \
"--logfiledir=/var/log" \
"--runtimedir=/var/run" \
"--datadir=/usr/local/www" \
"--proxycachedir=/usr/local/www/proxy" \
"--libexecdir=/usr/local/libexec/apache" \
"--without-confadjust" \
"--activate-module=src/modules/php3/libphp3.a" \
"--enable-shared=remain" \
"--enable-module=most" \
"--enable-module=auth_db" \
"--disable-module=auth_dbm" \
"--add-module=/usr/ports/www/apache13-fp/files/mod_frontpage.c" \
"--enable-shared=frontpage" \
"--prefix=/usr/local" \



Any help would be most appreciated.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A199D70FC96DD211AD100060976792610359AA>