On 15 Oct 2004 13:21:54 -0700,
an***********@yahoo.com (Andrew Pasetti) wrote:
Executing phpinfo() from the command line and on the browser reveal
that the CLI and Apache API have different config statements. How
would I resolve this? I would like the CLI API to have the same config
as the Apache API.
It would seem then that the PHP executable and the PHP DLL are from separate
compilations/installs. Assuming that PHP Apache support is a via a loadable
module, it's worth checking timestamps on the two - mod_php4.so and the php
executable. Could you perhaps have multiple PHP installs? e.g. /usr/bin/php ,
/usr/local/bin/php ?
The easiest way to resolve this is probably just to compile & install again,
making sure all the paths are where you expect (i.e. set --prefix during
configure as appropriate).
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool