Date: Tue, 12 Aug 2003 17:04:59 -0400 From: tb <tb@material.net> To: freebsd-questions@freebsd.org Subject: a clue! (Re: frustrating *dumb* problem getting php to work under Message-ID: <20030812210459.GB52753@gremlin.material.net>
next in thread | raw e-mail | index | archive | help
apache)
Reply-To:
In-Reply-To: <20030812204941.GB32551@gremlin.material.net>
i just figured something out. if i use php on the CLI, thus...
% php -f whatever.php > parsed.html
...it correctly parses the file and spits out html. but when i
initiate it through apache (i.e., using a browser), it doesn't.
so it seems like apache isn't initiating and/or engaging with
php properly.
one person asked offlist if this is is my http.conf:
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html
</IfModule>
</IfModule>
</IfModule>
it is.
ho-hum.
cheers,
t
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030812210459.GB52753>
