Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 3rd, 2003, 04:58 AM
kenze kenze is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 5 kenze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cannot load C:/php/sapi/php4apache.dll into server

Hi all!

I am very new in this Apache/php things.

I was recomended to follow the installation instruction "how to setup an php/mysq/apache" the Instruction is here


But when i reload the Apache so do i get an error like:
The Apache service named reported the following error:
>>> Cannot load C:/php/sapi/php4apache.dll into server: The specified module could not be found.


The php4apache.dll file is in that patch so i just cant figure what the problem is

Any ideas?

I use winXP-SP1, Apache2, PHP4.3.1

Reply With Quote
  #2  
Old April 3rd, 2003, 09:45 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
Use this for apache 2:

LoadModule php4_module c:/php/sapi/php4apache2.dll instead of php4apache.dll

If that doesnt work then please in the future try using the search feature of the site I searched on it and got the below results... Also in the future, please reference the posting rules. I'll post the url for my search and also another thread to reference for this exact problem..

my search:

http://www.devarticles.com/forum/se...rder=descending

reference this thread for this error.. thanks

http://www.devarticles.com/forum/sh...=php4apache.dll

Reply With Quote
  #3  
Old April 3rd, 2003, 03:13 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 27 m 25 sec
Reputation Power: 8
Wink Re: Cannot load C:/php/sapi/php4apache.dll into server

Quote:
Originally posted by kenze
Hi all!

I am very new in this Apache/php things.

I was recomended to follow the installation instruction "how to setup an php/mysq/apache" the Instruction is here


But when i reload the Apache so do i get an error like:
The Apache service named reported the following error:
>>> Cannot load C:/php/sapi/php4apache.dll into server: The specified module could not be found.


The php4apache.dll file is in that patch so i just cant figure what the problem is

Any ideas?

I use winXP-SP1, Apache2, PHP4.3.1


why are you using apache 2 in the first place. it's alot of hell involved with dealing with apache2, thats why they urged you not to use it . stick to the regular version of apache
__________________
Apache Expert

Reply With Quote
  #4  
Old April 3rd, 2003, 03:18 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
I agree.. apache 1.3.27 is much easier to configure

Reply With Quote
  #5  
Old April 5th, 2003, 06:51 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
As the author from the article, i must clearly point out that the article was for apache 1.3 and not 2.0, your going to need a bit more effort to get apache 2.0 to work.

Reply With Quote
  #6  
Old April 8th, 2003, 04:11 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 27 m 25 sec
Reputation Power: 8
Thumbs up

i figured out how to get apache2 and php to work if you want the help let me know.

ben should i write an article on this

Reply With Quote
  #7  
Old April 8th, 2003, 04:21 PM
kenze kenze is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 5 kenze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well was reading that Apache2 was enhanched for NT. Thats why was it easy to choose it And the server works perfect now

Reply With Quote
  #8  
Old January 13th, 2004, 01:37 PM
ol4pr0 ol4pr0 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 ol4pr0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
apache 2 php

i sure would like to know how to get the apache to run with php anyway.. lol

havent used apache....

i got the apache1.3x and the 2.0.48

php installer version 4.3.4


Help lol... thanks.

Reply With Quote
  #9  
Old January 13th, 2004, 01:52 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
What platform are you using?

Reply With Quote
  #10  
Old January 13th, 2004, 02:27 PM
ol4pr0 ol4pr0 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 ol4pr0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
platform

i am running on win2k professional.


have tried by adding de following 2 lines!

LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

and moved the php4ts.dll file 2 winnt/system32

however by doing that my server stopped running after a restart

failed to start operation lol...

this i was doing with the apch2.0.4.8 and php4.3.4

Reply With Quote
  #11  
Old January 15th, 2004, 02:31 PM
ol4pr0 ol4pr0 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 ol4pr0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
got it fixed and solved lol

Well here it is for those who still dont know how on a win2k machine or.. windows.


first because php 4.3.4 doesnt have de apache2.dll i got me a
easyphp1.7 and installed it.

URL i think ( google :> )

than after installing it copy and paste the sapi folder from the easyphp /php/ folder and copy it into the c:\php folder.

( it will have the apache2.dll now in youre c:\php )

than add 2 lines @ the but of LoadModule in httpd.conf

LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php


and copy the php4ts.dll into youre /windows/system/ or winnt/system folder

restart apache and youre alll good

Reply With Quote
  #12  
Old October 12th, 2004, 09:49 AM
The GORGON The GORGON is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 The GORGON User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking It Worked

Thank you ol4pr0!! I could not figure it out until I read you post. (Got to pick the broken bits of glass I threw in Frustration!!!)

Reply With Quote
  #13  
Old November 8th, 2004, 09:52 PM
JeremyMiller JeremyMiller is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 JeremyMiller User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok i followed this thread to the T, and i still can figure out why nothing is working. Please look at
my attached config file and let me know what i am doing worng.
I am using apache 2.
my php is installed in c:\PHP
Attached Files
File Type: txt httpdCOPY.txt (34.0 KB, 1774 views)

Reply With Quote
  #14  
Old February 17th, 2005, 02:19 PM
fozzyuw fozzyuw is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 8 fozzyuw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 18 m 15 sec
Reputation Power: 0
There was two things I found I had to do...

one was explained here. I had to copy the php4ts.dll file to my /windows/system directory.

But before that, I had to download the 'other' PHP4 file. The installer one did not install the sapi folder and lots of other things. So, make sure you download the source file.

Cheers,
Fozzy

Reply With Quote
  #15  
Old February 20th, 2005, 07:31 AM
kuikeelc kuikeelc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 kuikeelc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 58 sec
Reputation Power: 0
Solution in User Manual

The option of copying files to the windows/system folder is really difficult to maintain. (what when a new version of PHP comes out?)

The manual of Apache2 is quite clear about how to load php. Just make sure you add C:\php (or wherever you installed PHP) to the PATH environment variable. (XP: START > Control Panel > System and press "Environment Variables" it usually is already there)

Just don't forget to restart windows if you want to start the server from the Apache Monitor!

For further reading try the install.txt that comes with PHP and read the "Manual Installation Steps" part and the "Apache 2.0.x on Microsoft Windows" part.

Reply With Quote
  #16  
Old September 28th, 2005, 08:08 AM
dammie dammie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: Czech Republic
Posts: 1 dammie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 13 sec
Reputation Power: 0
I have this problem too. I have installed previous apache and PHP. And there was old version of php.ini and php4ts.dll in Windows/system and winnt directory..

So make sure, that before your installation, there is no another php.ini or php4ts.dll on your computer!!!

WinXP/Apache1.3.33/PHP4.4.0/MySQL4.0...

Reply With Quote
  #17  
Old November 14th, 2007, 04:42 AM
ganesh.salpure ganesh.salpure is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 2 ganesh.salpure User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 6 sec
Reputation Power: 0
I followed the steps on this site and it works very fine for me.

php-apacheDOTblogspotDOTcom

replace DOT by .

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Cannot load C:/php/sapi/php4apache.dll into server


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




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

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




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek