Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

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:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #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 21 m 46 sec
Reputation Power: 4
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.

Reply With Quote
  #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: 2 m 31 sec
Reputation Power: 0
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?

Reply With Quote
  #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 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)  Folding Points: 4925 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 5 h 49 m 4 sec
Reputation Power: 1331
Facebook
Does php5apache2.dll exist in that directory?

Reply With Quote
  #4  
Old May 20th, 2006, 11:54 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 10 m 50 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo 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 | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

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.

__________________

Reply With Quote
  #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: 118 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 2 h 26 m 26 sec
Reputation Power: 7
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!

Reply With Quote
  #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: 118 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 2 h 26 m 26 sec
Reputation Power: 7
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....
Comments on this post
SimonGreenhill agrees!

Reply With Quote
  #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.
Comments on this post
Miaow agrees: Thank you so much for putting up that page!
peenie agrees: Hey, perfect, glad I came to this thread.

Reply With Quote
  #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.

Reply With Quote
  #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: 78 OldManRiver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 57 m 15 sec
Reputation Power: 3
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

Reply With Quote
  #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.

Reply With Quote
  #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: 78 OldManRiver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 57 m 15 sec
Reputation Power: 3
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

Reply With Quote
  #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.

Reply With Quote
  #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.

Reply With Quote
  #14  
Old September 20th, 2006, 05:08 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,492 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)