luser9999
asked on
Install latest apache from source
Hi Guys,
I'm trying to install latest apache (2.2.x) and PHP 5.X on Red hat linux ES 4 (up9) server (we need this for other purpose). I downloaded binaries from apache site and extracted issued following command,
./configure --prefix=/usr/local/apache
make
make install
I do not find any modules in /usr/local/apache/modules directory (where as if you install through rpm you will find all modules here) how about getting all modules, so files since we need like mod_proxy, mod_rewrite, mod_jk etc
Can somebody help on this or provide a command which will install all modules and shared objects just like when you install rpm based httpd.
thanks
I'm trying to install latest apache (2.2.x) and PHP 5.X on Red hat linux ES 4 (up9) server (we need this for other purpose). I downloaded binaries from apache site and extracted issued following command,
./configure --prefix=/usr/local/apache
make
make install
I do not find any modules in /usr/local/apache/modules directory (where as if you install through rpm you will find all modules here) how about getting all modules, so files since we need like mod_proxy, mod_rewrite, mod_jk etc
Can somebody help on this or provide a command which will install all modules and shared objects just like when you install rpm based httpd.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Always follow the REAME and INSTALL document to install. It comes with the source. I always follow that rule only.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi jar3817,
I understand the pain of compiling from source. I did find a way to get all modules and now I was able to start apache fine. can anyone suggest or locate source tarball for mysql server so I can do the same way and compile it, because the php5 needs a mysql .so / header files.
I am on dev.mysql site but could not find one to compile it. can some one help me?
thanks
I understand the pain of compiling from source. I did find a way to get all modules and now I was able to start apache fine. can anyone suggest or locate source tarball for mysql server so I can do the same way and compile it, because the php5 needs a mysql .so / header files.
I am on dev.mysql site but could not find one to compile it. can some one help me?
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER
I was able to install apache and php & mysql and all looks to be working good. Apache was accessible to everyone now.
But I do not find few modules are loaded into apache and would like to install them after apache is up and running. Please suggest how to compile them - should i recompile with --with-module? If it is yes, is this good idea to do recompile once the apache is up and running.
the missing modules are,
mod_ldap.so
mod_authnz_ldap.so
thanks
But I do not find few modules are loaded into apache and would like to install them after apache is up and running. Please suggest how to compile them - should i recompile with --with-module? If it is yes, is this good idea to do recompile once the apache is up and running.
the missing modules are,
mod_ldap.so
mod_authnz_ldap.so
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was unable to figure out the exact command I used, but I believe this is it
./configure --prefix=/home/local/apach e2 --enable-so --enable-proxy --enable-ssl --enable-rewrite --enable-mods-shared=most
yes, enabled shared modules -- the reason because we have compile dynamically mod_security module using apxs..
thanks
./configure --prefix=/home/local/apach
yes, enabled shared modules -- the reason because we have compile dynamically mod_security module using apxs..
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
will try and check again later,thanks