Install error DirectAdmin on a fresh Debian 6 64-bit

wsd

Verified User
Joined
Jul 9, 2010
Messages
48
Location
Denmark
Hi,

I Install the DirectAdmin on a fresh Debian 6 64-bit

apt-get update

apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev

wget http://www.directadmin.com/setup.sh

chmod 755 setup.sh

./setup.sh

...

Enter your choice (1 or 2): 2

Would you like the default settings of apache 2.2 and php 5 cli? (y/n): n

Would you like to have PHP4 or PHP5 as default? (4/5): 5

Would you like to have PHP5? (yes/no): yes

Would you like to have PHP5 as CLI or CGI? (cli/cgi): cgi

Would you like to have PHP4? (yes/no): no

Would you like to have ionCube? (yes/no): yes

Would you like to have Zend Optimizer? (yes/no): yes

Would you like to have an ability to update/instal MySQL using CustomBuild? (yes/no): yes

Which version of MySQL you would like to have? (5.0/5.1): 5.1

Which version of Apache you would like to have? (1.3/2.0/2.2/2.4): 2.4

But if I choose this, then there is not some error
Which version of Apache you would like to have? (1.3/2.0/2.2/2.4): 2.2

Would you like to prevent htaccess files from using Options FollowSymLinks? More secure, but may break scripts. (yes/no): yes

Would you like to have an ability to update/instal Exim using CustomBuild? (yes/no): yes

Would you like to have an ability to install Dovecot? (yes/no): yes

Would you like to have an ability to install/update phpMyAdmin using CustomBuild? (yes/no): yes

Would you like to have an ability to install/update SquirrelMail webmail using CustomBuild? (yes/no): yes

Would you like to have an ability to install/update RoundCube webmail using CustomBuild? (yes/no): yes

Would you like to have an ability to install/update UebiMiau webmail using CustomBuild (not recommended)? (yes/no): no

Would you like to have an ability to install/update Atmail Open webmail using CustomBuild? (yes/no): no

Would you like to search for the fastest download mirror? (y/n): y


*******************************************
*******************************************

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

*******************************************
*******************************************
 

Attachments

  • install_log.zip
    111.3 KB · Views: 179
I think a more specific error from the "build" is necessary for understand what's wrong, can you post the errors before the reqeust of php recompile?

Regards
 
Seems that he doesnt find directadmin.conf and httpd.conf. I'll send John an email to refer to this thread for a better debug.

Regards
 
This is the error in question:
Code:
mod_suphp.c:24:19: error: httpd.h: No such file or directory
mod_suphp.c:25:25: error: http_config.h: No such file or directory
mod_suphp.c:26:26: error: http_request.h: No such file or directory
mod_suphp.c:27:23: error: http_core.h: No such file or directory
mod_suphp.c:28:27: error: http_protocol.h: No such file or directory
mod_suphp.c:29:23: error: http_main.h: No such file or directory
mod_suphp.c:30:22: error: http_log.h: No such file or directory
mod_suphp.c:31:25: error: util_script.h: No such file or directory

and found a duplicate thread:
http://www.directadmin.com/forum/showthread.php?t=43071&page=1

My responses are #4, #6 and #8.

John
 
Back
Top