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 November 26th, 2003, 02:46 PM
New to WAPM New to WAPM is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 New to WAPM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Apache does not recognize PHP

I installed Apache. I added the following 2 lines at the end of httpd.conf
LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php

I copied the following files into C:\Apache Group\Apache2\ :
C:\php\php4ts.dll
C:\php\sapi\php4apache2.dll
C:\php\php.ini-recommended

However when I test the configuration I got the following error:
Syntax error on line xxx of c:/Apache Group/...../httpd.conf
Cannot load c:/Apach Group/Apache2/php4apache2.dll into server:
The specified module could not be found.
Any clue what went wrong

Reply With Quote
  #2  
Old November 26th, 2003, 04:02 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to dhouston
Is that a typo in your post or a typo in your config? It says "Apach Group" instead of "Apache Group."

Reply With Quote
  #3  
Old November 26th, 2003, 06:12 PM
New to WAPM New to WAPM is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 New to WAPM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes it is a typo error.
It is not easy to install PHP as a module.
I solved the problem by following the article of Shahid Hussain at:
URL
Thanks

Reply With Quote
  #4  
Old July 13th, 2006, 08:46 AM
pickypankaj pickypankaj is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 pickypankaj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 18 sec
Reputation Power: 0
i m in same problem as u were few years ago. pls help

hi! bro i m facing same prob while configuring php-4.4.2-Win32 with apache2.2. can u please help me waiting for ur mesaage.
thx
pankaj

Quote:
Originally Posted by New to WAPM
I installed Apache. I added the following 2 lines at the end of httpd.conf
LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php

I copied the following files into C:\Apache Group\Apache2\ :
C:\php\php4ts.dll
C:\php\sapi\php4apache2.dll
C:\php\php.ini-recommended

However when I test the configuration I got the following error:
Syntax error on line xxx of c:/Apache Group/...../httpd.conf
Cannot load c:/Apach Group/Apache2/php4apache2.dll into server:
The specified module could not be found.
Any clue what went wrong

Reply With Quote
  #5  
Old July 19th, 2006, 06:27 AM
Nilpo's Avatar
Nilpo Nilpo is offline
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Salem, OH
Posts: 154 Nilpo User rank is Private First Class (20 - 50 Reputation Level)Nilpo User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1Folding Points: 214558 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 14 h 24 m 29 sec
Reputation Power: 4
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
I hate installing and configuring. The easiest way it to install XAMPP. One installer installs Apache with PHP, MySQL, and Perl all preconfigured. Available for Windows, Linux, Solaris, and OS X. And of course, it's free!

Reply With Quote
  #6  
Old August 29th, 2006, 08:30 AM
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
yes the clue is you need to leave php4apache2.dll in the php folder on your machine. it doesn't need to be in the apache folder.
__________________
Apache Expert

Reply With Quote
  #7  
Old November 14th, 2007, 05:43 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. No problems with PHP and Apcahe

php-apacheDOTblogspotDOTcom

replace DOT by .

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache does not recognize PHP


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!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT