Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Installing apache2 and php5 on windows
webrat
post Oct 17 2008, 08:43 AM
Post #1


Member
**

Group: Members
Posts: 100
Joined: 8-April 08
Member No.: 201,680



Hey folks,

I'm trying to do the above on XP using the following instructions:

Download apache2

Save to C:\ to prompt a diretory of C:\apache2 (for ease of navigation presumably)

Insert localhost as the server settings and a spare e-mail adress for initial config, otherwise install a typical setup.

Download php5 and save in C:\php5\

Insert the following code in the main apache config file (httpd.conf) in the global settings section under the main LoadModule text block.

CODE
LoadModule php5_module c:/php5/php5apache2.dll
AddType application/x-httpd-php .php
PHPIniDir "c:\php5"


This should tell apache that php5 is present and limit file interpretation to .php.

Rename file php.ini-dist (main php config file) to php.ini and save in C:\php5\

open a text editor and insert the following:

CODE
<?

phpinfo()

?>


Save it in apache's htdocs directory as phpinfo.php

Restart apache.

To test the config open a web browser and type
CODE
http://localhost/phpinfo.php


And that should bring up a system spec with a range of info.

Of course, it doesn't. If anyone has any idea why this might be the case (I've checked for typo's) I'd appreciate it.

This post has been edited by webrat: Oct 17 2008, 08:45 AM
Go to the top of the page
 
+Quote Post
webrat
post Oct 17 2008, 12:47 PM
Post #2


Member
**

Group: Members
Posts: 100
Joined: 8-April 08
Member No.: 201,680



Had a coffee and thought about it. The above method should work perfectly well if you ensure that the file phpinfo.php is saved as aa php file and not a text file. DOH!

This post has been edited by webrat: Oct 17 2008, 12:47 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd November 2009 - 02:21 AM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2009 All Rights Reserved Bleeping Computer LLC.