poster: read erics "how to ask questions the smart way" specifically
Choose your forum carefullyBe sensitive in choosing where you ask your 
question.  You are
likely to be ignored, or written off as a loser, if you:
post your question to a forum where it's off topic
as you already know ..this is a tomcat list (not apache)

http://www.catb.org/~esr/faqs/smart-questions.html#forum

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.






> From: gloria.agu...@accenture.com
> To: users@tomcat.apache.org
> Date: Fri, 14 Aug 2009 14:32:49 +0200
> Subject: RE: Error "libphp4.so is not a valid load module: Bad magic number" 
> starting Apache
> 
> Hi,
> 
> yes, sorry, I think I didn´t look for the error in google very well   :-(
> 
> Thank you for your help. I compiled in 64 bits and then I started Apache.
> 
> For other people with this problem in HP-UX 11.23 i64 and with the "make" 
> compiling in 32 bits, the solution was:
> 
> - add the variable "EXTRA_CFLAGS=+DD64" in the file Makefile that the PHP 
> uses.
> 
> - do "make clean"
> 
> - do "make"
> 
> - do "make install"
> 
> and then you get the .so library in 64 bits and you can start Apache 
> successfully.
> 
>  
> Regards
> Gloria
> 
> -----Original Message-----
> From: Michael Ludwig [mailto:m...@as-guides.com] 
> Sent: viernes, 14 de agosto de 2009 10:23
> To: Tomcat Users List
> Subject: Re: Error "libphp4.so is not a valid load module: Bad magic number" 
> starting Apache
> 
> gloria.agu...@accenture.com schrieb:
> 
> >        # ./apachectl start
> >        Syntax error on line 232 of /opt/hpws/apache/conf/httpd.conf:
> >        Cannot load /opt/hpws/apache/modules/libphp4.so into server:
> >        '/opt/hpws/apache/modules/libphp4.so' is not a valid load
> >        module: Bad magic number
> 
> Sorry for being a bit rude. Read on to see the reason for the error.
> 
> > But I think the line 232 is good:
> >
> >        LoadModule php4_module /opt/hpws/apache/modules/libphp4.so
> 
> It probably is.
> 
> > because this same line with 5 instead of 4 works fine for the PHP 5.
> 
> But that has nothing to do with the PHP version number.
> 
> > I didn´t find a solution in Internet. Please, could you help me?
> 
> Finding the solution usually involves using a search engine such as
> Google to find other descriptions of the problem. They will very likely
> include the error message. So you should do a search for:
> 
>    "not a valid load module: Bad magic number"
> 
> Try quoting the message to get verbatim matches. Don't include the
> library name in the search as that is an accidental property of your
> case.
> 
> After some clicking you'll see that it is a 32 vs 64 bit issue.
> 
> http://forums.sun.com/thread.jspa?threadID=5263283
> 
> So you need to get the correct version for your machine, either 32 or
> 64 bit. Good luck.
> 
> -- 
> Michael Ludwig
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise private information.  If you have received it in 
> error, please notify the sender immediately and delete the original.  Any 
> other use of the email by you is prohibited.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009

Reply via email to