View previous topic :: View next topic |
Author |
Message |
linuxgeek n00b

Joined: 02 Aug 2003 Posts: 46
|
Posted: Fri Jun 24, 2005 6:01 pm Post subject: Apache2 and its modules... Whats the deal? |
|
|
Ok I just upgraded my Apache2.. and SSL and PHP no longer work... WT!
I am using Apache version 2.X
This is like the 3rd update and I now have to re-install/update the modules
again!
First, which module do I really need for SSL and PHP... Do I need mod_php or just PHP
Do I need mod_ssl or openssl... How do configure apache to enable this? Is it still in
the /etc/conf.d/apache config file?
When I select mod_ssl it wants to install apache-1.3 bleh.. why?
I just would like to have SSL and PHP not sure why there are apache mods
and what the pro's and con's are of them....
There should be a document within Gentoo Docs for just apache.
Ok I am a little frustrated.... _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
 |
stickboy2642 Tux's lil' helper


Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Fri Jun 24, 2005 10:15 pm Post subject: |
|
|
Mod_ssl I believe is just for apache 1.3. If you just install openssl, you should be able to just tell apache2 to use that. Mod_php is still used to interface php with apache (vs. just PHP which is a command line interpreter). You will use /etc/conf.d/apache2 to tell apache what modules to use. Add the following line to your conf.d/apache2 file:
Code: | APACHE2_OPTS="-D SSL -D PHP4" |
You also might want to verify that apache is looking in the right place for the modules. I know there have been some changes in where apache looks for the modules over time. They should be in /usr/lib/apache2. /etc/apache2/modules should be a symbolic link to that directory. Make sure that the modules link is pointing to where all of the apache modules are stored. Hope this helps! _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
 |
|