Custom Apache Build System

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,919
Correct, I removed it a long time ago. I considered giving away all of the server info away slightly insecure. If anyone wants to post theirs, be my guest ;) If it wasn't an active data server for, it might be a different story, but since we need it, I removed the link. Also, it's no longer a standard compile of apache as I removed the bulk of everything else that wasn't required for it since as a plain old file server, it doesn't need any of the bells and whistles that our usual apache compiles get.

John
 

CentOS5

Verified User
Joined
Jan 26, 2006
Messages
57
Installed centos 5.2 with DA no problems, i have few questions, it has installed devoct instead of vm-Pop3d, can i remove devcot and install vm via custombuild?

I am asking this because moving from freebsd box and need to back up user data (email etc) and move, if i have vm-pop3d on freebsd and devcot on centos will i have problems, also if i use devcot i have just wasted gigs of space on var which i made 30gb.

Thanks
 
Last edited:

pionas

New member
Joined
Mar 27, 2009
Messages
2
Hi,

i've got a problem with it:
Code:
cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all
and this is my problem:
Code:
Starting httpd: Syntax error on line 68 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: cannot open shared object file: No such file or directory
i've debian

thanks for answer
 

schoonmoeder

Verified User
Joined
Oct 14, 2007
Messages
34
Location
netherlands
hello,

don't know it for sure but can you now try phpinfo() in a php file on the server. look up if perl and if it is there.

if i log in on server and do the next.
Code:
cd /usr/lib/apache/
ls
is see the next
Code:
httpd.exp  libphp5.so  mod_perl.so  mod_suphp.so
you also need it else you have php not compiled with mod_perl. so look if you can rebuild it with support for mod_perl
 

Martyn Day

Verified User
Joined
Jul 15, 2009
Messages
83
how do i custom edit?? sorry im unable without actually setting it up from scratch!!

any help would be good!
 

mp3dude

New member
Joined
Jul 24, 2009
Messages
1
Location
moreno valley ca.
Hello all,

This thread holds information about our customapache build script. It allows everyone to rebuild apache easily and customize php more easily.

Comes with:
Apache 1.3.33
mod_ssl 2.8.22
mod_perl 1.29
php 4.3.11
zend 2.5.7
gd 2.0.33
libjpeg 6b
libpng 1.2.7
libmcrypt 2.5.7
zlib 1.2.1
curl 7.12.3
mod_frontpage 1.6.1
Frontpage 5.0.2.2510
mhash 0.9.1
zzip 0.10.82

As root, type:
Code:
cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all


And if you want to have Zend, after the whole thing finishes, type:
./build zend

and answer all questions.
Zend install = /usr/local/Zend
php.ini = /usr/local/lib
Apache config dir = /etc/httpd/conf
php = 4.3.9
apache bin = /usr/sbin

it will try to restart the server, which might fail, so type
service httpd restart

I've tested it on my box at home, and our test box. Let me know how it goes for you guys. Takes about 15 minutes on a 750Mhz.

You can have a look at the <? phpinfo(); ?> that it will produce here:
http://files.directadmin.com/info.php

If you have any comments on the default ./configure for apache and php, I'd love to hear them.

Thanks,

John
i have a question since this thread was open long time ago what about the new version of 2009 like php 5 and new version of the extensions.
 

Martyn Day

Verified User
Joined
Jul 15, 2009
Messages
83
i have a question since this thread was open long time ago what about the new version of 2009 like php 5 and new version of the extensions.
custombuild gives you 2 options, simple press '2' when building to get the latest software.. :)
 

extreemhost

New member
Joined
Feb 14, 2010
Messages
4
Location
Nederland - Zevenaar
problem with it

Starting httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libperl.so into server: /usr/lib/apache/libperl.so: undefined symbol: boot_DynaLoader
 

daveyw

Verified User
Joined
Jan 5, 2008
Messages
702
Location
/dev/null
Starting httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libperl.so into server: /usr/lib/apache/libperl.so: undefined symbol: boot_DynaLoader
My opinion: You should use custombuild instead of customapache. Since it works much better then customapache.
 

davidwillson

New member
Joined
Oct 18, 2010
Messages
2
missed the note by a few minutes :p sounds ok though

Chris
A few comments on the PHP info. (comparing it to one of mine)

- variables_order = GPCS (what about EGPCS?)
- Max Requests = Per Child: 1000 - Keep Alive: off - Max Per Connection: 100 (or Per Child: 0 - Keep Alive: on - Max Per Connection: 100 )

PHP config missing.
- bcmath
- calendar
- imap
- mcrypt (very important)
- pear
 

uberguru

Verified User
Joined
Apr 30, 2011
Messages
98
A few comments on the PHP info. (comparing it to one of mine)

- variables_order = GPCS (what about EGPCS?)
- Max Requests = Per Child: 1000 - Keep Alive: off - Max Per Connection: 100 (or Per Child: 0 - Keep Alive: on - Max Per Connection: 100 )

PHP config missing.
- bcmath
- calendar
- imap
- mcrypt (very important)
- pear
Is this suppose to be like easyApache in Cpanel?
That will be great if DA can have that. It's one of the things that make Cpanel the lion king.
 

meldieching

New member
Joined
Oct 27, 2014
Messages
2
I'm just curious on what are you using. I'm aware of APACHE on XAMPP and also WAMP but those to have different verion of APACHE. XAMPP is more updated compare to WAMP.
 
Top