Apache Development FAQs
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache DevelopmentApache Development FAQs

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 5th, 2006, 04:17 PM
soyunlocofl soyunlocofl is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 53 soyunlocofl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 3 h 27 m 53 sec
Reputation Power: 9
Hi, I'm having a similar problem cant install Apache as a module. I made the php5ts.dll available by adding my php directory to the path, same for my php.ini i added it as PHPRC environment variable and it looks like is working fine. But after adding the lines
Code:
LoadModule php5_module "C:/Server/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
when i try to star apache i get an error that said
Code:
The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 486 of C:/Server/Apache/conf/httpd.conf: Cannot load C:/Server/PHP/php5apache2.dll into server: The specified module could not be found. 
For some reason is not finding the php5apache2.dll but it is in that directory, i try chaging directories but i get same error. Can someone please help me. Thanks in advance.

  #2  
Old May 20th, 2006, 08:31 PM
kingdutka kingdutka is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 1 kingdutka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 41 sec
Reputation Power: 0
Send a message via ICQ to kingdutka Send a message via AIM to kingdutka Send a message via MSN to kingdutka Send a message via Yahoo to kingdutka
MySpace
Quote:
Originally Posted by soyunlocofl
Hi, I'm having a similar problem cant install Apache as a module. I made the php5ts.dll available by adding my php directory to the path, same for my php.ini i added it as PHPRC environment variable and it looks like is working fine. But after adding the lines
Code:
LoadModule php5_module "C:/Server/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
when i try to star apache i get an error that said
Code:
The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 486 of C:/Server/Apache/conf/httpd.conf: Cannot load C:/Server/PHP/php5apache2.dll into server: The specified module could not be found. 
For some reason is not finding the php5apache2.dll but it is in that directory, i try chaging directories but i get same error. Can someone please help me. Thanks in advance.


Please help, I am having this problem now. How do we fix it?

  #3  
Old May 20th, 2006, 09:07 PM
SimonGreenhill's Avatar
SimonGreenhill SimonGreenhill is offline
(retired)
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Dec 2003
Location: The Laboratory
Posts: 10,101 SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 4925 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 6 h 8 m 34 sec
Reputation Power: 0
Facebook
Does php5apache2.dll exist in that directory?

  #4  
Old May 20th, 2006, 11:54 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Retired
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,139 jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)jabba_29 User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1Folding Points: 238337 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 6 Days 1 h 3 m 40 sec
Reputation Power: 2492
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
If you are using the very latest Apache version, 2.2.2? then it won't work. There are hacks to get it to work, but the easiest way is to install an earlier version of Apache 2
__________________

Cheers,
Jamie

>_ skiFFie ? | Twitter

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

  #5  
Old June 7th, 2006, 05:58 PM
Miaow Miaow is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: Romeoville, IL
Posts: 129 Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 11 h 16 m 45 sec
Reputation Power: 12
Question I'm having the same problem with apache 2.0.58

Wow, seems like I'm not alone with this problem!

I had tried installing Apache 2.2.2 and PHP 5, but got the error the other people who posted in this thread are talking about. So I decided to try an earlier version of both Apache and PHP (Apache 2.0.58 and PHP 4.4.2), and I still got the same message when I restarted Apache!



The php4apache2.dll file is right where it should be, in the directory where Apache is stating that it is not found.

Really frustrating. I'm using the instructions in a book to do this, and it is using Apache 2.0.47 and PHP 4.3.4, but neither of these seem to be downloadable anymore.

Also, I am using Windows XP with Service Pack 2, if that means anythng.

Is there any significance that all of the other modules in httpd.conf end with "so" and not "dll"?

Any help will be greatly appreciated!

  #6  
Old June 7th, 2006, 09:34 PM
Miaow Miaow is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: Romeoville, IL
Posts: 129 Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level)Miaow User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 11 h 16 m 45 sec
Reputation Power: 12
Hey, I was on #apache on irc.freenode.org, and I asked about this. A kind soul there gave me this link to try:

http://iamcode.net:64//projects/apache/php-win

I am about to try it now. I just thought I'd pass on this link now, since this thread has been read over a thousand times....

  #7  
Old June 8th, 2006, 04:22 PM
lewellyn lewellyn is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: Phoenix, AZ
Posts: 1 lewellyn User rank is Lance Corporal (50 - 100 Reputation Level)lewellyn User rank is Lance Corporal (50 - 100 Reputation Level)lewellyn User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 25 m 33 sec
Reputation Power: 0
Cool

Quote:
Originally Posted by Miaow
URL


Hoi. I decided to reply since I'm getting a fair number hits from this thread for my PHP and Apache 2.2 on Windows guide...

My guide is meant specifically to resolve the issue the original poster had, so please, by all means, visit it. It seems to take most people 5-10 minutes to get up and running with PHP, following it.

I've gotten very little feedback from that guide, even though it's had MANY users since I put it up in response to Apache 2.2.2 being released with a Windows installer. So, if you have any input regarding it (positive or negative), please feel free to email me; my contact information is in the Conclusion section of the guide:

URL

For problems with it, you can either find me on irc.freenode.net in #apache, or you can email me. Either way, I try to help. But please keep in mind that I am not being paid for this, so my response time may vary. So, updates tend to happen very sporadically.

I didn't want to hijack the thread or anything, but since I'm getting plenty of visitors since the link was posted, I wanted to make sure people know that the author is accessible if problems arise.

  #8  
Old June 23rd, 2006, 04:50 PM
aparikh_2006 aparikh_2006 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 1 aparikh_2006 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 59 sec
Reputation Power: 0
Can't load/find phpapache2.dll

Hello All,

This may help you.

"Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and not php4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x."

Check out this page : http://us3.php.net/manual/en/install.windows.apache2.php



You can go to the following URL and download an appropriate DLL for Apache 2.2.x:

http://apachelounge.com/


Regards and best wishes,

Spicy Curry Papa.

  #9  
Old June 27th, 2006, 11:41 AM
OldManRiver OldManRiver is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 124 OldManRiver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 56 m 32 sec
Reputation Power: 8
Doesn't Fix My Problem

All,

I downloaded and ran the XAMPP solution suggested in the link and my problem still exists. I got a PM from another person about editing the registry for ext >>.php<< to run find/search on PHP files, so jumped into regedit and found I do not have a definition for >>.php<<

How do I add that and get around my problem?

OMR

  #10  
Old July 4th, 2006, 11:48 PM
Jing_Jing Jing_Jing is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 Jing_Jing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 56 sec
Reputation Power: 0
Solved error: Cant Load php5apache2.dll (php-5.1.4-Win32.zip with the apache 2.2.2)

If u are using php extracted from php-5.1.4-Win32.zip with the apache 2.2.2, then u must do exactly the instructions shown in the url posted by miaow (hosted by lewellyn). What i mean is you MUST reinstall the php using the win32 package stated in that website (which is php5.2-win32-200607050230.zip after u saved it into ur pc). My problem solved once i load the module php5apache2_2.dll in the inzziped php5 folder instead of php5apache2.dll (original php-5.1.4-Win32.zip does not provide php5apache2_2.dll). Thanks alot to miaow for posting the URL here and lewellyn for providing the solution.

  #11  
Old July 31st, 2006, 06:39 PM
OldManRiver OldManRiver is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 124 OldManRiver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 56 m 32 sec
Reputation Power: 8
Still Fighting

All,

Still fighting this! Had to undo all the XAMPP bullkrap as it did bad things to my machine and would not install where I told it to go. Anyway, I installed Apache (2.0.55) and PHP (5.1.4) on Win2K. Localhost was working and now, without changing anything I now keep getting:

Quote:
Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.55 (Win32) PHP/5.1.4 Server at localhost Port 80


I was always getting a SAVEor OPEN dialog before on .php files so was coming back to address that when I found this error.

Need to get this going as I have code to write.

Thanks!

OMR

  #12  
Old September 4th, 2006, 06:26 AM
xenophobia xenophobia is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 1 xenophobia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 56 sec
Reputation Power: 0
Solution

I was found this solution from other forum and the solution is download phpsnap version.

http://snaps.php.net/

Download the stable version. Unzip it and overide to your current php folder.

You will see php5apache2_2.dll inside your /php folder. Rename it to php5apache2.dll after you delete the previous php5apache2.dll.

Hope tis work.

  #13  
Old September 20th, 2006, 04:57 PM
yellowplanet yellowplanet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 3 yellowplanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 42 m 41 sec
Reputation Power: 0
Angry So Angry!!!

I have a project I want to do using apache, php and mysql but think I'm going to have to give up seeing as I CAN'T EVEN INSTALL THE SOFTWARE!!!!

I am so angry with this whole installation c*ck-up. I have tried to get it all up and running on about 5 different occasions now and it's never worked. As far as I'm concerned right now, it's sh*t! I must have wasted at least half a day of my life trying to get this software running and I think I'm going to have to give up before I smash something up with rage.

I think the only way I'm going to bother is if someone develops a windows installation package.

  #14  
Old September 20th, 2006, 05:08 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2006
Posts: 2,270 Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level)Oler1s User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 15 h 34 m 57 sec
Reputation Power: 1735
Quote:
Originally Posted by yellowplanet
I have a project I want to do using apache, php and mysql but think I'm going to have to give up seeing as I CAN'T EVEN INSTALL THE SOFTWARE!!!!

I am so angry with this whole installation c*ck-up. I have tried to get it all up and running on about 5 different occasions now and it's never worked. As far as I'm concerned right now, it's sh*t! I must have wasted at least half a day of my life trying to get this software running and I think I'm going to have to give up before I smash something up with rage.

I think the only way I'm going to bother is if someone develops a windows installation package.


Sorry, but I can't sympathise with your rant. Nor will anyone else, especially because when installing a webserver and database server, people assume you have a certain level of competence with computers.

Step 1) Tell us what you tried. What files did you download? Did you download the windows installation for apache? Compile from source for PHP? Etc.
Step 2) Tell us what went wrong. Give us observations. "Opening up localhost in my webbrowser showed such and such error" and so on.
Step 3) Tell us what you tried to resolve it. Obviously, Google should play a part in it.
Step 4) Finally, state what you need help with in the end.

It isn't too hard to do. If all of this is above and beyond you, then don't act so arrogant, realise that part of the fault may be you, and humbly listen to our advice. And if you can't do that, don't expect sincere help.

  #15  
Old September 20th, 2006, 06:25 PM
yellowplanet yellowplanet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 3 yellowplanet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 42 m 41 sec
Reputation Power: 0
Quote:
Originally Posted by Oler1s
Sorry, but I can't sympathise with your rant. Nor will anyone else, especially because when installing a webserver and database server, people assume you have a certain level of competence with computers.

Step 1) Tell us what you tried. What files did you download? Did you download the windows installation for apache? Compile from source for PHP? Etc.
Step 2) Tell us what went wrong. Give us observations. "Opening up localhost in my webbrowser showed such and such error" and so on.
Step 3) Tell us what you tried to resolve it. Obviously, Google should play a part in it.
Step 4) Finally, state what you need help with in the end.

It isn't too hard to do. If all of this is above and beyond you, then don't act so arrogant, realise that part of the fault may be you, and humbly listen to our advice. And if you can't do that, don't expect sincere help.


I've calmed down now. Sorry about the rant, it's just that I've gone round and round in circles trying to just get the software installed.

I've never used PHP, Apache or mysql. I have made "static" websites before and when I mentioned that I was looking at trying to get a Pool League website up and running to a "programmer" friend, he suggested PHP and Mysql. So I don't even know yet if I'm going to be able to learn how to do what I want because I haven't been able to get started.

I will make some notes and come back to you.

Again, sorry for the stupid rant.

Reply

Viewing: Dev Shed ForumsSystem AdministrationApache DevelopmentApache Development FAQs > Apache Error: can't load/find php5apache2.dll

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap