PHP5 can't find Tidy
John Korchok
jkorchok at hotmail.com
Mon Jan 29 09:40:57 PST 2007
On Jan 28, 2007, at 14:31, John Korchok wrote:
>>I installed php5 +apache2 +mysql5 on OS 10.4.8 Intel. When I try to
>>restart Apache I get the following:
>>
>>httpd: Syntax error on line 119 of /opt/local/apache2/conf/ httpd.conf:
>>Cannot load /opt/local/apache2/modules/libphp5.so into server: Library
>>not loaded: /opt/local/lib/libtidy-0.99.0.dylib\n Referenced from:
>>/opt/local/apache2/modules/libphp5.so\n Reason: image not found
>>
>>I have uninstalled and reinstalled php5 (5.2.0.0) and tidy
>>(20051026_0) separately and together and can't get them to play
>>together. I've cleaned, synced, selfupdated and upgraded to no avail.
>>I have a nearly identical setup running on a PowerPC Mac with no
>>problem, same version of php (5.2.0.0) but tidy is 20051025_0. Am I
missing something?
>Also works fine for me on PowerPC. Haven't tried Intel.
>Do you have /opt/local/lib/libtidy-0.99.0.dylib?
>Do you have /opt/local/bin/tidy and does it work?
/opt/local/lib/libtidy-0.99.0.dylib does not exist on either the Intel or
the PowerPC, but it doesn't seem to bother PHP on the PowerPC.
/opt/local/lib has libtidy-0.99.0, libtidy.a and libtidy.la plus 3 aliases
(libtidy and libtidy-0.99.0.0.0, both of which point to libtidy-0.99.0 and
libtidy.0.dylib which does not appear to point at anything). Uninstalling
deletes all these files, reinstalling recreates all of them. I tried
creating an alias called "libtidy-0.99.0.dylib" pointing to libtidy-0.99.0,
but that didn't work. PHP complained the image was not the right size.
/opt/local/bin/tidy is present, but I don't know how to test if it is
working.
I have an identical Intel Mac running PHP 5.1.6 and Tidy 20051025_0 with no
problem.
Is it possible to transfer a portfile from another machine and install it
over the newer version of PHP? Any help to get PHP running again would be
appreciated.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070129/0193b4a4/attachment.html
More information about the macports-users
mailing list