error installation directadmin

shahab

Verified User
Joined
Aug 4, 2014
Messages
72
Hello

I can not install directadmin and get this error
+++++++++++++++


Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

If you're running CentOS (not freebsd or debian) and applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d
 
Make sure the OS in the license matches your server's OS.
 
I install new os but again displayed:
 

Attachments

  • Capture.JPG
    Capture.JPG
    110.4 KB · Views: 63
Last edited:
i have same error in install directadmin
my os is :linux centos 6.9 64bit
I installed the pre-requisites
but get this error in install
please help me
 
What error do you get? Are you sure you installed all the pre-requisites? Are you sure the License OS match you system OS?

Best regards
 
What error do you get? Are you sure you installed all the pre-requisites? Are you sure the License OS match you system OS?

Best regards

My error is:

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d



Yes i am sure that installed all the pre-requisites from https://help.directadmin.com/item.php?id=354 and i am sure that the License OS match my system OS
 
You may want to post a little more of lines, because that's the end error but you should have another one a few line before that.

Best regards
 
I get many error line.the last line is
attrvt.c:46: error: expected specifier-qualifier-list before 'xmlNsPtr'
attrvt.c: In function 'xsltNewAttrVT':
attrvt.c:66: warning: implicit declaration of function 'xmlMalloc'
attrvt.c:66: warning: cast to pointer from integer of different size
attrvt.c:70: error: 'xsltStylesheet' has no member named 'errors'
attrvt.c:78: error: 'xsltStylesheet' has no member named 'attVTs'
attrvt.c:83: error: 'xsltStylesheet' has no member named 'attVTs'
attrvt.c: In function 'xsltFreeAttrVT':
attrvt.c:102: error: 'xsltAttrVT' has no member named 'segments'
attrvt.c:103: warning: implicit declaration of function 'xmlFree'
attrvt.c:103: error: 'xmlChar' undeclared (first use in this function)
attrvt.c:103: error: (Each undeclared identifier is reported only once
attrvt.c:103: error: for each function it appears in.)
attrvt.c:103: error: expected expression before ')' token
attrvt.c:105: warning: implicit declaration of function 'xmlXPathFreeCompExpr'
attrvt.c:105: error: 'xmlXPathCompExprPtr' undeclared (first use in this functio n)
attrvt.c:105: error: expected ')' before 'avt'
attrvt.c:108: error: expected ')' before 'avt'
attrvt.c:110: error: 'xsltAttrVT' has no member named 'segments'
attrvt.c:111: error: expected expression before ')' token
attrvt.c:113: error: 'xsltAttrVT' has no member named 'nsList'
attrvt.c:114: error: 'xsltAttrVT' has no member named 'nsList'
attrvt.c: In function 'xsltSetAttrVTsegment':
attrvt.c:149: warning: implicit declaration of function 'xmlRealloc'
attrvt.c:150: warning: cast to pointer from integer of different size
attrvt.c:154: error: 'xsltAttrVT' has no member named 'segments'
attrvt.c:157: error: 'xsltAttrVT' has no member named 'segments'
attrvt.c: At top level:
attrvt.c:171: error: expected declaration specifiers or '...' before 'xmlAttrPtr '
attrvt.c: In function 'xsltCompileAttr':
attrvt.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
attrvt.c:172: error: 'str' undeclared (first use in this function)
attrvt.c:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
attrvt.c:173: error: 'cur' undeclared (first use in this function)
attrvt.c:174: error: 'xmlChar' undeclared (first use in this function)
attrvt.c:174: error: 'ret' undeclared (first use in this function)
attrvt.c:175: error: 'expr' undeclared (first use in this function)
attrvt.c:179: error: 'attr' undeclared (first use in this function)
attrvt.c:181: error: 'XML_TEXT_NODE' undeclared (first use in this function)
attrvt.c:186: error: 'xsltStylesheet' has no member named 'errors'
attrvt.c:190: warning: implicit declaration of function 'xmlStrchr'
attrvt.c:194: warning: implicit declaration of function 'xsltGenericDebug'
attrvt.c:212: error: 'xsltAttrVT' has no member named 'nsList'
attrvt.c:212: warning: implicit declaration of function 'xmlGetNsList'
attrvt.c:213: error: 'xsltAttrVT' has no member named 'nsList'
attrvt.c:214: error: 'xsltAttrVT' has no member named 'nsList'
attrvt.c:217: error: 'xsltAttrVT' has no member named 'nsNr'
attrvt.c:224: warning: implicit declaration of function 'xmlStrncat'
attrvt.c:262: error: 'xsltStylesheet' has no member named 'errors'
attrvt.c:266: warning: implicit declaration of function 'xmlStrndup'
attrvt.c:271: warning: implicit declaration of function 'xsltGenericError'
attrvt.c:274: error: 'xmlXPathCompExprPtr' undeclared (first use in this functio n)
attrvt.c:274: error: expected ';' before 'comp'
attrvt.c:276: error: 'comp' undeclared (first use in this function)
attrvt.c:276: warning: implicit declaration of function 'xsltXPathCompile'
attrvt.c:281: error: 'xsltStylesheet' has no member named 'errors'
attrvt.c:337: error: 'xsltStylesheet' has no member named 'attVTs'
attrvt.c: At top level:
attrvt.c:358: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[2]: *** [attrvt.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.32/li bxslt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.32'
make: *** [all] Error 2
Stopping crond: [ OK ]
Starting crond: [ OK ]
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************
[root@server ~]#
 
Back
Top