Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > PHP
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 04-03-2005, 03:25 PM   #1 (permalink)
Odoggy5
Registered User
 
Odoggy5's Avatar
 
Join Date: Aug 2003
Location: SF
Posts: 45
Odoggy5 is on a distinguished road
Send a message via AIM to Odoggy5
php5, apache2 and windows xp...

has anybody got this configuration to work? some of the stuff i have read said to add the following line the apache configuration file:

LoadModule php5_module c:/php/php5apache2.dll

but when i loaded php, that file does not even exist.

im gonna look around some more, but i just though i'd post and see if anybody has done this before.

thanks,

O
__________________
Odoggy5 is offline   Reply With Quote
Old 04-03-2005, 04:35 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 637
DJMaze is on a distinguished road
It works flawless.
Just find where you've put the php5apache2.dll first.
Else get the ZIP package of PHP and then find it again.

If you find it then: read the docs completely
__________________
DJMaze is offline   Reply With Quote
Old 04-03-2005, 05:59 PM   #3 (permalink)
Odoggy5
Registered User
 
Odoggy5's Avatar
 
Join Date: Aug 2003
Location: SF
Posts: 45
Odoggy5 is on a distinguished road
Send a message via AIM to Odoggy5
you're right it does...

strange that the file does not come with the installer, only the zip package.
__________________
Odoggy5 is offline   Reply With Quote
Old 04-03-2005, 09:22 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,398
sde is on a distinguished road
hey Odog, .. good to see you around. this is good to know too. i need to get a php5 dev environment up and running locally very soon.
__________________
testing 1 2 3
sde is online now   Reply With Quote
Old 04-04-2005, 05:03 AM   #5 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 637
DJMaze is on a distinguished road
the ZIP package is all what you need including all extensions which the exe doesn't have as well.
__________________
DJMaze is offline   Reply With Quote
Old 04-04-2005, 02:21 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,398
sde is on a distinguished road
here's the magic configurations:

in your apache httpd.conf file, add this:
Code:
LoadModule php5_module c:/php/php5apache2.dll AddType application/x-httpd-php .php
then, if you are using mysql, copy c:\php\libmysql.dll to c:\windows\system32

restart apache and you should be set.
__________________
testing 1 2 3
sde is online now   Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 and SSL gamehead200 Windows 1 01-11-2005 03:39 AM


All times are GMT -8. The time now is 11:46 AM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle