Archive for the tag 'DirectAdmin Support'

SBDavid

Recompile php in DirectAdmin

Recompile php in DirectAdmin

If you run into problems after Adding custom modules to apache for customapache, you may also need to recompile php as well:

cd /usr/local/directadmin/customapache

and then

./build php

Then restart apache:

/sbin/service httpd restart

And for FreeBSD:

/usr/local/etc/rc.d/httpd restart

Source : http://directadmin.com

Adding extra modules to Apache, by compiling in DirectAdmin.

Any module that needs to be compiled in will have a –with-module type flag which will need to be used. To add this flag, run the following:

cd /usr/local/directadmin/customapache
vi configure.apache_ssl

Add your –with-module line to the end of the file, where –with-module is to be replaced with required entry for the module you’re installing.

Make sure the character exists at the end of all lines except the last one.

./build clean
./build apache_mod_ssl

Then restart apache.

Source: http://directadmin.com/

For apache 2.0 use the following methods.

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build update_data_ap2
./build apache_2
./buld php_ap2 n
./build mod_perl_ap2

Once the update has completed, you’ll need to restart apache:

/sbin/service httpd restart
SBDavid

Customapache with DirectAdmin

If you’re using apache 2.x, use “./build apache_2” instead of apache_mod_ssl.

cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl

This should update both the configure options and the version of apache to the most recent version.

Once the update has completed, you’ll need to restart apache

/sbin/service httpd restart

Source: http://directadmin.com

Using an external Mailserver with DirectAdmin

If you wish to use a remote Mailserver, a few changes will need to be made.

Go to User Panel -> domain.com -> Email -> MX Records

There should be an option for “Local Mail Server”. Uncheck that option.

You’ll need to change the MX dns record to point to the external mailserver. Remove the “mail” MX record and add “other.domain.com.” as the new MX record where that is the domain of the other server.

Source : http://directadmin.com/

Next »