help!!ubuntu 20.04 CustomBuild installation has failed

calmok

Verified User
Joined
Aug 11, 2015
Messages
58
https://fanyi.baidu.com/translate?a...eyfrom=baidu&smartresult=dict&lang=auto2zh###

Step 1​

sudo apt update
sudo apt upgrade

Step 2​

sudo apt install wget gcc g++ make flex bison openssl libssl-dev \
perl perl-base perl-modules libperl-dev libperl4-corelibs-perl \
libwww-perl libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev cron \
bzip2 zip automake autoconf libtool cmake pkg-config python \
libdb-dev libsasl2-dev libncurses5 libncurses5-dev libsystemd-dev \
bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev \
libcrypt-openssl-rsa-perl curl libnuma-dev libnuma1

Step3​


Would you like the default settings of apache and php 7.4 as php-fpm? (yes/no, default: yes):no
Please select webserver you would like to use (apache/nginx/nginx_apache/litespeed/openlitespeed, default: apache):

Please select MySQL database server you would like to use (mysql/mariadb/no, default: mysql):

Please select mysql version you would like to use (5.5/5.6/5.7/8.0, default: 5.7):

Please select FTP server you would like to use (proftpd/pureftpd/no, pureftpd):

Please select default PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3/7.4/8.0/8.1, default: 7.4):

Please select default PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp/mod_php, default: php-fpm):

Would you like to have a second instance of PHP installed? (yes/no, default: no): yes

Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3/7.4/8.0/8.1):8.1

Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp, default: php-fpm):

Would you like to have a third instance of PHP installed? (yes/no, default: no): yes

Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3/7.4/8.0/8.1):5.6

Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp, default: php-fpm):

Would you like to have a fourth instance of PHP installed? (yes/no, default: no):

Please select if you would like to use ionCube (yes/no, default: no):

Please select if you would like to use opCache (yes/no, default: no):yes

Please select if you would like to use Zend Guard Loader (yes/no, default: no):

Please select if you would like CustomBuild to manage Exim installation (yes/no, default: yes):

Please select if you would like CustomBuild to manage Dovecot installation (yes/no, default: yes):

Please select if you would like CustomBuild to manage phpMyAdmin installation (yes/no, default: yes):

Please select if you would like CustomBuild to manage SquirrelMail installation (yes/no, default: no):

Please select if you would like CustomBuild to manage RoundCube installation (yes/no, default: yes):

Step4​


tail -f /usr/local/directadmin/custombuild/install.txt

Final error report

configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/

*** There was an error while trying to configure php. Check the configure file
 
Where is that first url linking too? I hope not a manual, it's in Chinese, can't read it.

Are you using Cloudlinux by any chance?
How/where did you get the setup.sh of directadmin and how did you call it?

Seems normally libcurl is not with the pre-install commands of Debian (or Debian related).

Try this first:
apt-get install -y libcurl-dev
 
Where is that first url linking too? I hope not a manual, it's in Chinese, can't read it.

Are you using Cloudlinux by any chance?
How/where did you get the setup.sh of directadmin and how did you call it?

Seems normally libcurl is not with the pre-install commands of Debian (or Debian related).

Try this first:
apt-get install -y libcurl-dev
sorry,the first link is that I sent it wrong

My server system is ubuntu 20.04

I found a problem. I installed three PHP versions at the same time, PHP5 6\PHP7. 4\PHP8. 1. When I remove PHP5. 6, the installation can be completed normally.

Is there a problem with the installation package that makes it impossible to install it?
 
I confirmed, using Ubuntu 20.04 install directadmin php5.6 will report an error, whether I choose php7.X or 8 x. Cannot complete the installation




General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files... /usr/local/php56/lib/php.conf.d
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local/lib
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for RAND_egd... no
checking for PCRE headers location... /usr/include
checking for PCRE library location... /usr/lib
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.11
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/

*** There was an error while trying to configure php. Check the configure file
 
Confirmed error on Debian 11 as well, the above symlink fixes it.
 
to stay away from php version 5
They know... its a losing battle to tell people. I agree with you. I stoped warning people.. 2 sides to every coin. Those who update and those that dont..
 
Well, this is for a customer who explicitly asks for PHP 5.6 on his server, along with PHP 7.4/8.0/8.1 so he can test and migrate his older websites to a supported PHP version. Also, seeing as Directadmin is still offering PHP 5.6 in Custombuild on Debian 11/Ubuntu 20.04, it's still best to let them know something doesn't work at the moment and can easily be fixed, right.
 
Well, this is for a customer who explicitly asks for PHP 5.6 on his server, along with PHP 7.4/8.0/8.1 so he can test and migrate his older websites to a supported PHP version. Also, seeing as Directadmin is still offering PHP 5.6 in Custombuild on Debian 11/Ubuntu 20.04, it's still best to let them know something doesn't work at the moment and can easily be fixed, right.
I agree the PHP 5.6 if older things need it then for migration purpose yes you "need" it also on the box. Better for users to disable that version after migration asap.
BUT So not some one is still as developer thinking i go on with that version while is installed for me!
 
Back
Top