PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

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 Codewalkers Forums Sponsor:
  #1  
Old November 17th, 2008, 07:39 PM
totocol totocol is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Posts: 1 totocol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 40 sec
Reputation Power: 0
Installing Apache with PHP - httpd.config changes not working

Hello everyone,

I am trying to install Apache, PMP and mySQL. I used the installation package from FoxServ. I am also customizing the installation following the instructions from a book. The server loads well when called on http://localhost/. (“it works!”

My issue is:

The book asks me to add two sets of lines in three different parts of the httpd file that I have particulary placed here C:\Program Files\FoxServ\apache\conf\

The two sets of lines I am adding are:

1)

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

After

# # AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
# AddType application/x-tar .tgz
AddType image/x-icon .ico

2)

LoadModule php5_module “c:/php/sapi/php5apache2.dll”

(I have written the line with the correct path of the file on C:/Program Files/FoxServ/php/sapi

After

LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so


I get no error with the first line but when I try to start apache I get this error:

Syntax error on line 203 of C: /Program Files/FoxServ/apache/conf/httpd.config
Cannot load C:/Program Files/FoxServ/php/sapi/ php5apache2.dll into server: <126>

The specified module couldn’t be found

I went to the folder C:/Program Files/FoxServ/php/sapi and noticed there was not an php5apache2.dll file but an php4apache2.dll so I imagine FoxServ came with PHP 4 instead of PHP5. I thought I could load that file instead and then renamed line 203 to

LoadModule php4_module “C:/Program Files/FoxServ/php/sapi/php4apache2.dll”

But the message I get is the same (only with the different module name)

Not sure what is wrong.

Help please!!!!


Thanks in advance,

Raul

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Installing Apache with PHP - httpd.config changes not working


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 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek