a clue! (Re: frustrating *dumb* problem getting php to work under
tb
tb at material.net
Tue Aug 12 14:04:46 PDT 2003
apache)
Reply-To:
In-Reply-To: <20030812204941.GB32551 at 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
More information about the freebsd-questions
mailing list