Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-03-2012, 08:29 PM   PM User | #46
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
Go for it! You can't blow anything up or kill anyone my friend, and if it goes ugly you can always say 'sod it' and go for wamp or xamp :-)
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 08:37 PM   PM User | #47
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Okay, before I complete the installation. I've chosen the path C:\server\php to install the php and told it I wanted it to configure Apache and now it wants me to point to the directory containing the Apache configuration. I chose C:\server\apache\conf is that correct? or do I just point it to C:\server\apache?
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Old 03-03-2012, 08:39 PM   PM User | #48
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
My guess (and that is all it is) is to point it to the folder where the httpd.conf file is located.
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 08:45 PM   PM User | #49
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Okay, here goes nothing. If I'm not back in 10 minutes it's because I've thrown my laptop across the room.
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Old 03-03-2012, 08:57 PM   PM User | #50
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
I feel like I'm waiting for Apollo 13 to come back round the moon......
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:01 PM   PM User | #51
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Haha I almost closed my eyes when I typed http://localhost but it does work now. Yay! Thank you thank you thank you.
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Old 03-03-2012, 09:07 PM   PM User | #52
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
Does it also serve up PHP OK?
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:11 PM   PM User | #53
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Is there a way I can test that to find out?
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Old 03-03-2012, 09:16 PM   PM User | #54
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
Sure, create a test php page in your webroot directory with the following contents:

PHP Code:
<?php
phpinfo
();
?>
save it as phpinfo.php and then browse to http://localhost/phpinfo.php
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:24 PM   PM User | #55
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Yes, it brought up the php version, system, build date, compiler, architecture and so on. Is that what you wanted to know?
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Users who have thanked zigvab75 for this post:
leslie.jones (03-03-2012)
Old 03-03-2012, 09:30 PM   PM User | #56
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
Perfect! That's you sorted. Well done for sticking with it, spotting the error and fixing it. Top man :-)

Take care and enjoy Apache :-)
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:33 PM   PM User | #57
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Hey, I give credit where credit is due and you are the one that figured it out. Thank you again for the help. You were awesome.
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Users who have thanked zigvab75 for this post:
leslie.jones (03-03-2012)
Old 03-03-2012, 09:39 PM   PM User | #58
leslie.jones
New Coder

 
Join Date: Nov 2011
Posts: 88
Thanks: 4
Thanked 26 Times in 26 Posts
leslie.jones is an unknown quantity at this point
I can't take credit for what you did, or Fou-lu figured out. Seriously, well done. You worked out you had the wrong PHP when Fou-lu picked it up as 'source'.

Great job all round.

Glad that you had a happy outcome and never had to throw your laptop at the wall ;-)
leslie.jones is offline   Reply With Quote
Users who have thanked leslie.jones for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:49 PM   PM User | #59
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,741
Thanks: 4
Thanked 2,465 Times in 2,434 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Okay, so the apache.org binaries should be ignored since they are compiled in VC6. But the new versions of PHP are only coming in VC9 from the looks of it.
You can download a new version of Apache from this page: http://www.apachelounge.com/download/
Use the Apache 2.2.22 version, not the 2.4.

The PHP version you'll want is this one: http://windows.php.net/downloads/rel...32-VC9-x86.zip for 5.4, or this one for 5.3.10: http://windows.php.net/downloads/rel...32-VC9-x86.zip

Sorry I know that the thread has progressed a bit as well so you are further, but I got caught into fixing some stuff at work.
I'd check your apache build as well; VC9 versions should be used with the VC9 compiled apache 2.2.22, not the VC6 at apache.org.
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
zigvab75 (03-06-2012)
Old 03-03-2012, 09:54 PM   PM User | #60
zigvab75
New Coder

 
Join Date: Feb 2012
Posts: 41
Thanks: 31
Thanked 2 Times in 2 Posts
zigvab75 is an unknown quantity at this point
Thank you and I'm glad I didn't have to throw it either. Now that I know what's wrong I can fix the problem on my desktop computer, too. I'm all smiles now. Thanks again, leslie.jones
__________________
And have I not told you that what you mistake for madness is but over-acuteness of the sense? - now, I say, there came to my ears a low, dull, quick sound, such as a watch makes when enveloped in cotton. ~Edgar Allan Poe
zigvab75 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:04 PM.


Advertisement
Log in to turn off these ads.