Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
8,064 Members
165,822 Posts
46 Users Online

Please welcome our newest member, freeza!

Affiliates
Go Back AdminFusion » Getting Started » Domains and Hosting » Apache & PHP Errors
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 07-31-2006, 11:22 PM   #1

Chris's Avatar

Title: Apprentice

Points: 2,792, Level: 15Points: 2,792, Level: 15Points: 2,792, Level: 15
Level up: 16%, 258 Points neededLevel up: 16%, 258 Points neededLevel up: 16%, 258 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 172

Location: Wisconsin, USA

Chris is on a distinguished road
Send a message via AIM to Chris  
 
Apache & PHP Errors

Well, this doesn't quite fit under this area, but I will put it here anyways.

I am trying to make my home PC like a local webserver for my own personal use (so I can play around with websites before putting them online), but I am having a problem.

I get this same error!

Ok, I am trying to get Apache working with PHP & MySQL on my Win. XP Pro PC. I have MySQL and Apache installed and working, and am working on getting PHP to work with Apache.

Ok, I downloaded PHP5 and extracted it to c:\php
I then moved the php.ini (the php.ini-recommended file, renamed to php.ini) file to c:\windows
I then opened php.ini and changed doc_root = to doc_root = C:\Program Files\WebServer\home\Apache2.2\htdocs and extension_dir = "./" to extension_dir = "C:\php\ext" and uncommented extension=php_mysqli.dll so I could use MySQL 5.
I opened C:\Program Files\WebServer\home\Apache2.2\conf\httpd.conf and added to the end

# add PHP5 as an apache module
AddType application/x-httpd-php .php
LoadModule php5_module "c:/php/php5apache2.dll"
# configure the path to php.ini
PHPIniDir "C:/php"

I try to run Apache (which did work with its default settings after the install) and I get an error

Quote:
httpd.exe: Syntax error on line 488 of C:/Program Files/WebServer/home/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found.
Note the errors or messages above, and press the <ESC> key to exit. (Counter)...
I tried moving the libmysql.dll file to the c:\windows\system32 folder like some tutorials say, but the problem persists.

Does anybody know what I am doing wrong, or how to fix this.
__________________
Reply With Quote
Old 08-02-2006, 02:35 PM   #2

Title: Apprentice

Points: 2,638, Level: 14Points: 2,638, Level: 14Points: 2,638, Level: 14
Level up: 15%, 112 Points neededLevel up: 15%, 112 Points neededLevel up: 15%, 112 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Oct 2005

Posts: 248

Location: Greece

Nikolas is on a distinguished road
 
 
I know that this sounds silly, but if I remember correct Apache wants the c:\ path with caps : C:\

BTW if you can't work this out check this :

http://www.apachefriends.org/en/xampp.html
__________________
webmaster forums (forum of the month July 2006)
Do you own an SMF forum?
Submit your site
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming in PHP alongside your forums Stump Off Topic 1 06-16-2006 12:43 AM
Yahoo Lays Out Welcome Mat For PHP Devs shellspeare Graphics and Design 0 03-01-2006 09:08 AM
php Resource List gprime Graphics and Design 6 01-24-2006 05:01 PM

AdminFusion

All times are GMT +1. The time now is 09:36 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72