Author |
|
Cool Dude 2k
Joined: 24 Dec 2005 Posts: 4 Location: Some Where Awesome
|
Posted: Sun 25 Dec '05 21:49 Post subject: install Apache 2.2.0 ? |
|
|
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: 3094 Location: Hilversum, NL, EU
|
Posted: Sun 25 Dec '05 22:13 Post subject: |
|
|
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
|
Posted: Mon 26 Dec '05 1:22 Post subject: |
|
|
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: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 26 Dec '05 12:54 Post subject: |
|
|
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
|
Posted: Tue 27 Dec '05 2:26 Post subject: |
|
|
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
|
Posted: Tue 27 Dec '05 9:02 Post subject: |
|
|
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?
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.
.
.. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Tue 27 Dec '05 15:15 Post subject: |
|
|
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
|
Posted: Tue 27 Dec '05 19:56 Post subject: |
|
|
Yes, that worked. Thanks! |
|
Back to top |
|
Mitron
Joined: 04 Jan 2006 Posts: 63
|
Posted: Fri 06 Jan '06 0:31 Post subject: |
|
|
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. |
|
Back to top |
|
steven.webster
Joined: 16 Dec 2005 Posts: 3
|
Posted: Mon 23 Jan '06 18:26 Post subject: Apache 2.2.0 Install - LibMySQL.dll |
|
|
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: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 23 Jan '06 19:33 Post subject: |
|
|
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
|
Posted: Tue 24 Jan '06 10:39 Post subject: |
|
|
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 |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Tue 24 Jan '06 13:35 Post subject: |
|
|
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
|
Posted: Tue 24 Jan '06 14:43 Post subject: |
|
|
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 |
|