What version of MySQL you are using?
What errors did you get?
Starting httpd: Syntax error on line 19 of /usr/local/directadmin/data/users/ezet/httpd.conf:
Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module not included in the server configuration
Starting httpd: Syntax error on line 15 of /etc/httpd/conf/extra/httpd-dav.conf:
Invalid command 'DavLockDB', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 49 of /etc/httpd/conf/extra/httpd-ssl.conf:
Invalid command 'AddType', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
Default directadmin mysql installiaton:
#:/usr/local/bin# mysql -V
mysql Ver 14.7 Distrib 4.1.10, for pc-linux-gnu (i686)
# find / -iname "mysql_config"
/usr/local/mysql-standard-4.1.10-pc-linux-gnu-i686/bin/mysql_config
### EDITED ###
Also i found it in:
/usr/local/mysql/bin# ls -lt mysql_config
-rwxr-xr-x 1 root mysql 4580 Feb 13 2005 mysql_config
Weird that find not found (/usr/local/mysql is symbolic link to mysql-standard-4.1.10-pc-linux-gnu-i686)
SO in build script for debian are wrong path or typo:
doPHP5;
Orginal:
#we need to make sure that the mysqli path is set.
MYSQLI_BIN="";
if [ -e /usr/local/bin/mysql_config ]; then
MYSQLI_BIN=/usr/local/bin/mysql_config
fi
Edited: (missing in path mysql)
MYSQLI_BIN="";
if [ -e /usr/local/mysql/bin/mysql_config ]; then
MYSQLI_BIN=/usr/local/mysql/bin/mysql_config
fi
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
##########################################################
# Use name-based virtual hosting. #
# All NameVirtualHost lines are in this file #
# Don't remove this line or apache will generate errors. #
##########################################################
Include /etc/httpd/conf/ips.conf
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost |IP|:80>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost"
ScriptAlias /cgi-bin/ /var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
<VirtualHost |IP|:80>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* "/home/$1/public_html$2"
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
##########################################################
# Use name-based virtual hosting. #
# All NameVirtualHost lines are in this file #
# Don't remove this line or apache will generate errors. #
##########################################################
Include /etc/httpd/conf/ips.conf
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost |IP|:80>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost"
ScriptAlias /cgi-bin/ /var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
<VirtualHost |IP|:443>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* "/home/$1/public_html$2"
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
Take a look if you have mod_php4.c in httpd.conf.
Configuring mod_perl-2.0.3...
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/sbin/apxs
mod_perl/1.99_17 installation detected... not ok
Cannot install mod_perl/2.0.3 on top of mod_perl/1.99_17
due to a major API change between mod_perl 1.999_21 and 1.999_22.
Conflicting file: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Apache2.pm
Conflicting dir: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Apache2
Please nuke the prior mod_perl installation from your site_lib,
use a different perl to run the installation process, or use the
PREFIX option when creating your Makefile. See:
http://perl.apache.org/docs/2.0/rename.html
for more details.
aborting...
Done. Making mod_perl-2.0.3...
Trying to make mod_perl...
make: *** No targets specified and no makefile found. Stop.