You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Com Puter <cc...@hotmail.com> on 2005/10/06 18:28:07 UTC

[users@httpd] Error with ssl and php4

I am trying to configure apache2 for a Debian distribution and having 
trouble getting ssl and php4 to work.  If the loadmodule statement is 
included for either of these two modules I get an error like below:

Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load:
Cannot load /usr/lib/apache2/modules/mod_ssl.so into server: 
/usr/lib/apache2/modules/mod_ssl.so: undefined symbol: SSL_get_error

I get the same error if I use 'apache2ctl configtest'.

The apache2 version that I am using is 2.0.54 and it is the package that is 
currently being used for 'stable' and 'testing'.  I have downloaded the 
source from the apache site and built, but I get the same result.  I have 
also downloaded the debian package source and built it, and I also get the 
same result.

I have also tried to build with mod-ssl as a static module, so that the 
apache2/httpd executable will load the libssl library.  This doesn't work 
either.

Does anyone have any suggestions?  Is there something I can try to find out 
what is going wrong?

Thank you for your time,


-Craig

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Error with ssl and php4

Posted by Com Puter <cc...@hotmail.com>.
Hi Richard,

The  loadmodule functionality is handled with an include in the same spot in 
the config file as other loadmodule's.  I have however, tried to move the 
loadmodule manually down in the config file(just mod-php4) to see if the 
availability of the libssl api's that these modules are dependant on helped 
(note: I did this with mod-ssl built statically into apache2).  It did not.

When I built apache with a static mod-ssl, and did not include mod-php4, the 
server would load and lsof shows that the apache2 binary has the libssl 
library open.  Since the SSL_get_error api comes out of libssl, I thought 
that the static version should solve this issue.  I doesn't, apache still 
complains that the api is unresolved when starting up.


-Craig



>From: "Richard Prangnell" <ri...@ntlworld.com>
>Reply-To: "Richard Prangnell" <ri...@ntlworld.com>
>To: <us...@httpd.apache.org>
>Subject: Re: [users@httpd] Error with ssl and php4
>Date: Thu, 6 Oct 2005 20:18:59 +0100
>
>Hi Craig
>
>Is the (uncommented!) LoadModule line in the right place (ie, in the
>LoadModule block of lines in the httpd.conf file)?
>Have you entered/uncommented the corresponding AddModule line (lower down,
>same file)?
>
>Richard Prangnell
>www.webnetwizard.co.uk
>----- Original Message -----
>From: "Com Puter" <cc...@hotmail.com>
>To: <us...@httpd.apache.org>
>Sent: Thursday, October 06, 2005 5:28 PM
>Subject: [users@httpd] Error with ssl and php4
>
>
> > I am trying to configure apache2 for a Debian distribution and having
> > trouble getting ssl and php4 to work.  If the loadmodule statement is
> > included for either of these two modules I get an error like below:
> >
> > Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load:
> > Cannot load /usr/lib/apache2/modules/mod_ssl.so into server:
> > /usr/lib/apache2/modules/mod_ssl.so: undefined symbol: SSL_get_error
> >
> > I get the same error if I use 'apache2ctl configtest'.
> >
> > The apache2 version that I am using is 2.0.54 and it is the package that
>is
> > currently being used for 'stable' and 'testing'.  I have downloaded the
> > source from the apache site and built, but I get the same result.  I 
>have
> > also downloaded the debian package source and built it, and I also get 
>the
> > same result.
> >
> > I have also tried to build with mod-ssl as a static module, so that the
> > apache2/httpd executable will load the libssl library.  This doesn't 
>work
> > either.
> >
> > Does anyone have any suggestions?  Is there something I can try to find
>out
> > what is going wrong?
> >
> > Thank you for your time,
> >
> >
> > -Craig
> >
> > _________________________________________________________________
> > Don't just search. Find. Check out the new MSN Search!
> > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server 
>Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Error with ssl and php4

Posted by Richard Prangnell <ri...@ntlworld.com>.
Hi Craig

Is the (uncommented!) LoadModule line in the right place (ie, in the
LoadModule block of lines in the httpd.conf file)?
Have you entered/uncommented the corresponding AddModule line (lower down,
same file)?

Richard Prangnell
www.webnetwizard.co.uk
----- Original Message ----- 
From: "Com Puter" <cc...@hotmail.com>
To: <us...@httpd.apache.org>
Sent: Thursday, October 06, 2005 5:28 PM
Subject: [users@httpd] Error with ssl and php4


> I am trying to configure apache2 for a Debian distribution and having
> trouble getting ssl and php4 to work.  If the loadmodule statement is
> included for either of these two modules I get an error like below:
>
> Syntax error on line 1 of /etc/apache2/mods-enabled/ssl.load:
> Cannot load /usr/lib/apache2/modules/mod_ssl.so into server:
> /usr/lib/apache2/modules/mod_ssl.so: undefined symbol: SSL_get_error
>
> I get the same error if I use 'apache2ctl configtest'.
>
> The apache2 version that I am using is 2.0.54 and it is the package that
is
> currently being used for 'stable' and 'testing'.  I have downloaded the
> source from the apache site and built, but I get the same result.  I have
> also downloaded the debian package source and built it, and I also get the
> same result.
>
> I have also tried to build with mod-ssl as a static module, so that the
> apache2/httpd executable will load the libssl library.  This doesn't work
> either.
>
> Does anyone have any suggestions?  Is there something I can try to find
out
> what is going wrong?
>
> Thank you for your time,
>
>
> -Craig
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org