node9
09-19-2001, 04:25 PM
Compiling apache with mysql support, php, mod perl, mod ssl, and all that is really hectic.. and sometimes can be frustrating... Someone told me something about a "nick's build apache script"
has anyone heard of this? Where can i get it?
Or, does anyone know of a script, that'll compile apache with the things i want it to? or i can atleast select what
i saw something like it before
it'd really save me alot of time
Never heard of that srcript.
You can post on support.cpanel.net and see what you get from there.
I would compile them manually, because at least if you do something wrong you know what. Bad configuration is always possile.
node9
09-19-2001, 05:08 PM
yah man
i have before
i compiled apache with mod perl, mod ssl, php, mysql support, dude it was helll
it was such a b**ch
=\
i havent had to touch it in months
i'm rusty
its hell because, you have to do certain things before another
or after
or before
or etc
and if u dont do it the right order it wont work
node9
09-19-2001, 05:14 PM
so
if i wanted to compile apache, with the following:
Compiled-in modules:
mod_so.c
mod_ssl.c
mod_perl.c
mod_php4.c
and mysql support
what order should i do it all in ?
assume i am starting fresh, the box hAS NO WEBSERVER no it at all (assumgin i removed it on purpose (rpm -e)
mikeknoxv
09-19-2001, 05:38 PM
www.nusphere.com
http://www.hotscripts.com/PHP/Scripts_and_Programs/Installation_Kits/
http://www.hotscripts.com/Perl/Scripts_and_Programs/Installation_Kits/
Is this what you are looking for?
You can do them in any order you want.
Those modules do not depends on each other.
There are certain steps that need to be done in a certain order. For example, you must configure your PHP and mod_ssl (and some other things) before you configure Apache.
To further add to the confusion, there are a couple of ways to configure and build apache... I still use the old fashioned method (run Configure in the /src directory, etc) rather than using APCI... I also don't use apachectl to start/stop Apache.
The best advice I can give is to first have a specific location where you keep the raw source files (eg where you unpack your tarballs). Once you get your particular system working, write a simple shell script to run through all of the steps for you.
Then when you update to a newer Apache, PHP, or whatever, you should only need minor edits to your script (path names like apache-1.3.20, new options, etc); the selection of options should generally be the same.
Building a webserver with PHP, SSL, various PHP options, and other things can be complicated. I've done it so many times that I personally prefer to do this manually. But a script can be helpful -or- write down your steps for future reference, and after so many times you'll not even think twice next time you build a webserver.
I've heard of a tool called ApacheToolbox (http://www.apachetoolbox.com) but never tried it before.
Maybe you'd like to take a look?
node9
09-20-2001, 08:59 PM
nevermind guys
thanks fora ll replies
i decided to do it by hand
step by step
veryfrustrating process
but i got it going
be sure to enable apxs if your server can handle an additional small load, it'll save a lot of time recompiling apache in future