User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 426,422 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,382 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 4312 | Replies: 11 | Solved
Join Date: Dec 2007
Posts: 1
Reputation: dcristian is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dcristian dcristian is offline Offline
Newbie Poster

Re: Can't Configure Apache 2.2.4 for Php 5.2.3 on windows (Need Urgent Help)

  #11  
Dec 24th, 2007
Originally Posted by shaikh_mshariq View Post
I have Installed apache http server 2.2.4 on Windows and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error.

LoadModule php5_module "C:/php/php5apache2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


It gives error like"server cant load module "C:/php/php5apache2.dll"".

I have Installed apache from .msi installer and its running on 7860 port fine.
I have installed php manually. I have Extracted it in c:/php directory.
I have also tried to set path variable for dll files and rename php.ini-dist to php.ini


Please Help me I am a newbie in php.


For PHP 5.2.x you must type LoadModule php5_module "C:/php/php5apache2_2.dll" not LoadModule php5_module "C:/php/php5apache2.dll" it's a small diference but it's important!
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:07 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC