php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44666 apache2 module seems to ignore --with-tidy compilation option
Submitted: 2008-04-08 02:48 UTC Modified: 2008-04-08 19:39 UTC
From: geoffrey dot hughes at otago dot ac dot nz Assigned:
Status: Not a bug Package: Tidy (PECL)
PHP Version: 5.2.5 OS: Mac OS X 10.5.2
Private report: No CVE-ID: None
 [2008-04-08 02:48 UTC] geoffrey dot hughes at otago dot ac dot nz
Description:
------------
PHPCLI uses the correct libtidy version when compiled with --with-
tidy=/opt/local but the apache2 module uses the leopard default libtidy 
whether you use --with-tidy=/opt/local or not.

PHPCLI Info: libTidy Release => 22 March 2008

Apache2 phpinfo.php: libTidy Release	31 October 2006 - Apple Inc. 
build 13





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-08 08:06 UTC] jani@php.net
I would guess /opt/local/lib is not in your LD_LIBRARY_PATH, hence the shared apache2 module uses whatever it finds in the path. And CLI is propably linked as static..? Try this:

# ldd /path/to/cli/binary

and

# ldd /path/to/libphp5.so

 [2008-04-08 10:42 UTC] geoffrey dot hughes at otago dot ac dot nz
No ldd in OS X 10.5
 [2008-04-08 10:57 UTC] jani@php.net
And that's supposed to be *nix? pff..
Well, if you had bothered to use google you would have found that the equivalent for ldd is: otool -L

Anyway, as I'm sure this is just a misconfigured system and not a PHP bug -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC