installing libtidy php 5.3.10

jaya_pc87

Verified User
Joined
Oct 21, 2008
Messages
15
Location
Malaysia
checking for TIDY support... no


hey there I have tried compiling php with tidy but keep getting the error above

I am running centos 5.7 Final
custom build is configured to run suphp in cgi with custom folder settings
"--with-tidy=/usr/include" (the tidy.h resides)

i have tried without the =/usr/include - did not work

btw i installed via yum libtidy.x86_64 & libtidy-devel.x86_64

did a whole a lot of googling & searching & still cant find the reason why it cant be installed? any idea?

your help is much appreciated :)
 
Last edited:
custombuild/custom/suphp

i tried adding the arguement to

configure.suphp first
then i tried again on configure.php53

then after that i tried again to put in both
still the same

i have added other arguements and they are working fine
only this ...
 
using php as cgi

this is what inside configure.suphp

#!/bin/sh
"./configure" \
"--prefix=/usr/local/suphp" \
"--sysconfdir=/usr/local/suphp/etc/" \
"--with-apache-user=apache" \
"--with-setid-mode=paranoid" \
"--with-apxs=/usr/sbin/apxs" \
"--disable-checkpath" \
"--with-tidy=/usr/include"


this is inside configure.php53

#!/bin/sh
"./configure" \
"--prefix=/usr/local/php53" \
"--with-config-file-scan-dir=/usr/local/etc/php53/cgi/php.conf.d" \
"--enable-force-cgi-redirect" \
"--enable-fastcgi" \
"--with-config-file-path=/usr/local/etc/php53/cgi" \
"--with-curl=/usr/local/lib" \
"--with-gd" \
"--with-gettext" \
"--with-jpeg-dir=/usr/local/lib" \
"--with-freetype-dir=/usr/local/lib" \
"--with-kerberos" \
"--with-openssl" \
"--with-mcrypt" \
"--with-mhash" \
"--with-mysql" \
"--with-mysqli" \
"--with-pcre-regex=/usr/local" \
"--with-pdo-mysql" \
"--with-pear" \
"--with-png-dir=/usr/local/lib" \
"--with-zlib" \
"--with-zlib-dir=/usr/local/lib" \
"--enable-zip" \
"--enable-gd-native-ttf" \
"--with-iconv=/usr/local" \
"--enable-bcmath" \
"--enable-calendar" \
"--enable-ftp" \
"--enable-sockets" \
"--enable-mbstring"



i think the php thats comes with custombuild has no support for libtidy - guessing only here


yes php compiles just fine - no errors
i did not save that log earlier
 
Thats have no sense, cause is a compile from source so it can be added without much pain...

also, for php5 and suhosing i suppoe the file is this:
/usr/local/directadmin/custombuild/configure/suphp/configure.php5

Check it out

Regards
 
Back
Top