Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Recently I downloaded php 5.4.3 , Apache 2.2 and mysql 5.5.24.

How I will configure these things manually in my windows7. I found some tutorials.

In that they are telling need to add these line in apache conf file

AddType application/x-httpd-php .php
LoadModule php5_module "c:/php/php5apache2_2.dll"

But in my php 5.4.3 folder I can't found any files named like this. I downloaded it from php.net website.

Is there any manual available for configuring all these things.

Please help me.

Thanks

share|improve this question

migrated from stackoverflow.com May 23 '12 at 22:53

This question came from our site for professional and enthusiast programmers.

    
Try WAMP: wampserver.com/en –  NAVEED May 23 '12 at 15:24
    
why dont you use wamp stack for this ? –  jugnu May 23 '12 at 15:25
    
Latest wamp server php version is 5.3.10.. latest php stable version is 5.4.3. I want to upgrade my php 5.2.2 to latest php stable version. –  learner May 23 '12 at 15:30
    
For local development, you could use the built-in CLI web server: php -S localhost:8000 –  konforce May 23 '12 at 16:29
add comment

1 Answer

up vote 1 down vote accepted

Configuring your web stack manually isn't trivial. I suggest rather installing WAMPServer, which incorporates Apache, MySQL and PHP in an easy installer. It will correctly configure the file handlers for you as well, so you won't have to worry about manually configuring Apache to serve your PHP files.

The latest version of PHP bundled with WAMP is version 5.3.10, which is more than recent enough to handle pretty much anything you can throw at it. PHP 5.4 is barely a couple of months old; unless you require specific PHP 5.4 functionality, there really isn't any reason not to stick with version 5.3.10.

Full installation instructions for PHP 5.4 with WAMP are beyond the scope of this answer, so I'll provide a link for instructions instead. Summarised, you install WAMP, then extract PHP 5.4 into the correct PHP directory within WAMP.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.