On Thu, 2003-01-02 at 23:35, Terry Denovan wrote:
> Installed Apache and PHP to /software/apache and /software/php-4.3.0
> respectively

why did you install to /software? The standard place to put stuff you've
built from source is /usr/local/ - mostly unimportant but if you have
software unable to find stuff then putting it in the right place is
probably a good place to start.

> 
> Can�t figure out what it is I have to add to httpd.conf to get apache
> to recognize PHP as a module. Tried what is posted on php.net, and
> didn�t help one bit. Could really do with some help here if anyone has
> the time to help me out. PHP.net says I need libphp4.so to be included
> in the line: LoadModule php4.etc.etc. However, that file isn�t even
> existing on the filesystem.

If you built php as an apache module it will exist. So there's two
possibilities, you either didn't build it as an apache module or you
didn't put it in the right place. To build it in as an apache module you
need to have apache built with dso support and use the --with-apxs flag
when you configure apache. And once it's built and in the right place
it's just a case of a loadmodule and an addtype (addhandler?) directive
in your httpd.conf.

HTH

James.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to