logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



install Apache 2.2.0 ?

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
Cool Dude 2k



Joined: 24 Dec 2005
Posts: 4
Location: Some Where Awesome

PostPosted: Sun 25 Dec '05 21:49    Post subject: install Apache 2.2.0 ? Reply with quote

I'm trying to install Apache 2.2.0,I cant seem to get it to start.
I've tryed unziping it in the C:\ drive as C:\Apache2 and the try to start but it gave me a erorr.
Then I tryed installing Apache 2.0.55 to C:\ then unziping file to it but It still gives me an erorr.
:o
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2581
Location: Hilversum, NL, EU

PostPosted: Sun 25 Dec '05 22:13    Post subject: Reply with quote

What error do you get ?

Try to run in a dos box: httpd -e debug


Steffen
Back to top
Cool Dude 2k



Joined: 24 Dec 2005
Posts: 4
Location: Some Where Awesome

PostPosted: Mon 26 Dec '05 1:22    Post subject: Reply with quote

Its says
This application has failed to start because LIBMYSQL.dll was not found. Reinstalling the application may fix this problem.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2581
Location: Hilversum, NL, EU

PostPosted: Mon 26 Dec '05 12:54    Post subject: Reply with quote

Seems you have enbbled php, who is looking for LibMYSQL.

Try first the comment out the mysql exension extension in php.ini and check if Apache starts.

As written in the readme: did you copied all the files to the php dir ?

# Install:
- Copy all the files to your php dir(eg. c:/php )

So copy also the files msvcr80.dll and Microsoft.VC80.CRT.manifest.

For running mySQL with php, you will need the MySQL library libmySQL.dll for loading the module:

copy libmysql.dll from your mysql/bin to the Windows folder.


Steffen
Back to top
john_speedway2



Joined: 23 Dec 2005
Posts: 8

PostPosted: Tue 27 Dec '05 2:26    Post subject: Reply with quote

Steffen wrote:
Seems you have enbbled php, who is looking for LibMYSQL.


I'm running into the same problem and I haven't enabled PHP. I've just copied the binary files from the .zip archive into a clean directory. I'd prefer not to install mySQL. Is it required?

Thanks,
-John
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Tue 27 Dec '05 9:02    Post subject: Reply with quote

john_speedway2 wrote:
Steffen wrote:
Seems you have enbbled php, who is looking for LibMYSQL.


I'm running into the same problem and I haven't enabled PHP. I've just copied the binary files from the .zip archive into a clean directory. I'd prefer not to install mySQL. Is it required?

Thanks,
-John


John,

Your debug information is the same as Cool Dude 2k? Confused

I only ask this since I just tested for this error ("straight out of the box" and PATH's adjusted), and httpd.exe starts without errors being generated. The Configuration file has to be altered to attempt to connect to MySQL, and this is usually done when someone is using PHP (although this is not the only way to access MySQL).

If you are JUST getting an error on Apahce startup...I think you might have a different problem, did you adjust PATH's in the Configuration file to meet your setup before trying to start Apache? If not, you need to do this.Wink
.
..
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2581
Location: Hilversum, NL, EU

PostPosted: Tue 27 Dec '05 15:15    Post subject: Reply with quote

Oops, I build with mod_dbd and mysql backend. I removed that now. Afterall it is also not included in the official ASF build.

So download again and it should work.



Steffen
Back to top
john_speedway2



Joined: 23 Dec 2005
Posts: 8

PostPosted: Tue 27 Dec '05 19:56    Post subject: Reply with quote

Yes, that worked. Thanks!
Back to top
Mitron



Joined: 04 Jan 2006
Posts: 64

PostPosted: Fri 06 Jan '06 0:31    Post subject: Reply with quote

Just thought I'd post my experience here since Steffen has been helpful in getting us up and running. I haven't gotten around to learning how to compile this stuff so I'm pretty much a slave to the binary releases. Apache 2.2.0 interests me because of the new authentication features using mySQL so I thought I'd try it out for our test server.

I've attempted to install Apache 2.2.0, mySQL 5.0.18, PHP 5.1.1 and phpBB 2.0.19 on our test server (Windows 2000 Server) and ran into a number of issues.
    First the documentation needs to be updated a bit to reflect the new command httpd.exe instead of apache.exe.
    It seems this release of apache has made the default configuration to disallow access to the site(s), i.e.
Code:
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

I actually had to comment out the Order deny, all and Deny from all
    I also ran into the libmysql.dll issue which required me to place this file in my windows folder.
    And last, I had to find a compatible php5apache2.dll file in order to make PHP work and allow apache to start.

With the help of this great site and that of Steffen providing us with excellent support, I was finally able to get everything up and running. Thanks again Steffen, I'd still be bangin my head on this one had it not been for this site and your willingness to provide support to all us newbs. Smile
Back to top
steven.webster



Joined: 16 Dec 2005
Posts: 3

PostPosted: Mon 23 Jan '06 18:26    Post subject: Apache 2.2.0 Install - LibMySQL.dll Reply with quote

Steffen wrote:
Oops, I build with mod_dbd and mysql backend. I removed that now. Afterall it is also not included in the official ASF build.

So download again and it should work.



Steffen


Steffen,

I am having the same problem that john_speedway2 reported. You posted a message saying that he should 'download again and it should work'. What exactly did you mean by this? He replied saying that it worked fine.

I have downloaded the latest zip file and extracted it into c:\Apache2. I modified the conf file and tried to install the service using the following command c:\Apache2\bin\httpd install -k.

What am I doing wrong?

Cheers
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2581
Location: Hilversum, NL, EU

PostPosted: Mon 23 Jan '06 19:33    Post subject: Reply with quote

You have the issue that apache is complaining about MySQL ?

When you download the current zip at www.apachelounge.com/download then apache is not complaining about MySQL anymore.that should not be a problem.

When you start httpd.exe in a DOS box, what errors you get ?

I think the command to install as service should be: httpd.exe -k install


Steffen
Back to top
steven.webster



Joined: 16 Dec 2005
Posts: 3

PostPosted: Tue 24 Jan '06 10:39    Post subject: Reply with quote

Steffen,

Sorry I didn't give you much to go on in my previous post. I'll try to explain in a little more detail.

I have downloaded the latest zip rom apachelounge.com and extracted to a folder called Apache2 on the root of C:\.

I then modified the Server Admin entry in the conf file. All the paths were already pointing to the correct location.

Using a DOS command prompt I enter the command C:\Apache2\bin\httpd.exe -k install and get the error displayed below.

httpd.exe - Unable to Locate Component
This application has failed to start because LIBMYSQL.dll was not found. Re-installing the application may fix this problem.

The machine is running XP Pro Service Pack 2 and is pretty much a clean install. It has never been installed with PHP or MYSQL.

Any help would be much appreciated as I need this to test Subversion.

Cheers Very Happy
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2581
Location: Hilversum, NL, EU

PostPosted: Tue 24 Jan '06 13:35    Post subject: Reply with quote

You really sure you have the latest version from here ? Maybe you can try to download again.

Do you have php enabled with Mysql or an other module which depends on Mysql in the httpd.conf ?

Steffen
Back to top
steven.webster



Joined: 16 Dec 2005
Posts: 3

PostPosted: Tue 24 Jan '06 14:43    Post subject: Reply with quote

Steffen,

I can only apologise. I just downloaded for a third time and it worked fine. I can only think that when copying the zip file over the network I copied the wrong one.

Cheers
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1