You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hüseyin Şentürk <hu...@gmail.com> on 2008/04/19 04:45:05 UTC

[users@httpd] LoadModule takes two arguments...

Hi,

I have been trying to install MySQL, Apache and PHP on my computer.
My resourcebook is "PHP & MySQL for Dummies".
I have installed MySQL and Apache2.2.
I downloaded PHP.
But I can not joint PHP and Apache2.
System shows the same errors:
"LoadModule takes two arguments, a module name and the name of a shared
object file to load it from..."
What should I do?
Thank you very much.

Huseyin Senturk

Re: [users@httpd] LoadModule takes two arguments...

Posted by Hüseyin Şentürk <hu...@gmail.com>.
Hi,
I will try to read manual, really thanks for this advice.

Meantime I looked at my Apache error log, I saw something but does not make
sense to me, because I am totally alien in this field.

Error log tells that
[Mon Apr 14 21:41:52 2008] [notice] Parent: Received restart signal --
Restarting the server.
[Mon Apr 14 21:41:52 2008] [notice] Child 2372: Exit event signaled. Child
process is ending.
[Mon Apr 14 21:41:52 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.5
configured -- resuming normal operations
[Mon Apr 14 21:41:52 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Apr 14 21:41:52 2008] [notice] Parent: Created child process 3756
[Mon Apr 14 21:41:52 2008] [notice] Child 3756: Child process is running
[Mon Apr 14 21:41:53 2008] [notice] Child 3756: Acquired the start mutex.
[Mon Apr 14 21:41:53 2008] [notice] Child 3756: Starting 64 worker threads.
[Mon Apr 14 21:41:53 2008] [notice] Child 2372: Released the start mutex
[Mon Apr 14 21:41:54 2008] [notice] Child 2372: All worker threads have
exited.
[Mon Apr 14 21:41:54 2008] [notice] Child 3756: Starting thread to listen on
port 80.
[Mon Apr 14 21:41:54 2008] [notice] Child 2372: Child process is exiting
[Mon Apr 14 21:47:29 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Mon Apr 14 21:47:29 2008] [notice] Child 3756: Exit event signaled. Child
process is ending.
[Mon Apr 14 21:47:30 2008] [notice] Child 3756: Released the start mutex
[Mon Apr 14 21:47:31 2008] [notice] Child 3756: All worker threads have
exited.
[Mon Apr 14 21:47:31 2008] [notice] Child 3756: Child process is exiting
[Mon Apr 14 21:47:31 2008] [notice] Parent: Child process exited
successfully.
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Mon Apr 14 21:57:20 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Apr 14 21:57:20 2008] [notice] Parent: Created child process 2712
[Mon Apr 14 21:57:20 2008] [notice] Child 2712: Child process is running
[Mon Apr 14 21:57:20 2008] [notice] Child 2712: Acquired the start mutex.
[Mon Apr 14 21:57:20 2008] [notice] Child 2712: Starting 64 worker threads.
[Mon Apr 14 21:57:20 2008] [notice] Child 2712: Starting thread to listen on
port 80.
Starting the Apache2.2 service
The Apache2.2 service is running.
pid file C:/Program Files/Apache Software
Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?
[Wed Apr 16 20:43:53 2008] [notice] Apache/2.2.8 (Win32) configured --
resuming normal operations
[Wed Apr 16 20:43:53 2008] [notice] Server built: Jan 18 2008 00:37:19
[Wed Apr 16 20:43:53 2008] [notice] Parent: Created child process 2260
[Wed Apr 16 20:43:53 2008] [notice] Child 2260: Child process is running
[Wed Apr 16 20:43:53 2008] [notice] Child 2260: Acquired the start mutex.
[Wed Apr 16 20:43:53 2008] [notice] Child 2260: Starting 64 worker threads.
[Wed Apr 16 20:43:53 2008] [notice] Child 2260: Starting thread to listen on
port 80.

If you see something meaningful in here, please tell me.
Thanks.

HS

2008/4/19 Joshua Slive <jo...@slive.ca>:

>  On Fri, Apr 18, 2008 at 10:45 PM, Hüseyin Şentürk <hu...@gmail.com>
> wrote:
> > Hi,
> >
> > I have been trying to install MySQL, Apache and PHP on my computer.
> > My resourcebook is "PHP & MySQL for Dummies".
> > I have installed MySQL and Apache2.2.
> > I downloaded PHP.
> > But I can not joint PHP and Apache2.
> >  System shows the same errors:
> > "LoadModule takes two arguments, a module name and the name of a shared
> > object file to load it from..."
> > What should I do?
> > Thank you very much.
>
> Find the realted LoadModule line in httpd.conf and show us exactly
> what it looks like. One possibility is that your path has spaces in
> it, in which case you need to put double-quotes around it.
>
> Joshua.
>

Re: [users@httpd] LoadModule takes two arguments...

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, Apr 18, 2008 at 10:45 PM, Hüseyin Şentürk <hu...@gmail.com> wrote:
> Hi,
>
> I have been trying to install MySQL, Apache and PHP on my computer.
> My resourcebook is "PHP & MySQL for Dummies".
> I have installed MySQL and Apache2.2.
> I downloaded PHP.
> But I can not joint PHP and Apache2.
>  System shows the same errors:
> "LoadModule takes two arguments, a module name and the name of a shared
> object file to load it from..."
> What should I do?
> Thank you very much.

Find the realted LoadModule line in httpd.conf and show us exactly
what it looks like. One possibility is that your path has spaces in
it, in which case you need to put double-quotes around it.

Joshua.

Re: [users@httpd] LoadModule takes two arguments...

Posted by Dragon <dr...@crimson-dragon.com>.
=?ISO-8859-2?Q?H=FCseyin_=AAent=FCrk?= did speak thusly:
>Hi,
>
>I have been trying to install MySQL, Apache and PHP on my computer.
>My resourcebook is "PHP & MySQL for Dummies".
>I have installed MySQL and Apache2.2.
>I downloaded PHP.
>But I can not joint PHP and Apache2.
>System shows the same errors:
>"LoadModule takes two arguments, a module name and the name of a shared
>object file to load it from..."
>What should I do?
>Thank you very much.
>
>Huseyin Senturk
---------------- End original message. ---------------------

I know you probably do not want to hear "read the fine manual" but 
honestly, this is what you really ought to do.

Start by following the very good installation instructions on the PHP 
and MySQL web sites. If you need help with Apache directives, the 
first place to check is the documentation on the Apache web site.

http://www.php.net/
http://www.mysql.com/
http://www.apache.org/


Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
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