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