Jump to content
  • Advertisement
  • entries
    437
  • comments
    1000
  • views
    336829

apache + php on windows = ghei

Sign in to follow this  
evolutional

183 views

trying to install apache 2 and php 4/5 on windows is a right chore. Half the stuff doesn't even seem to be thrown in by the installer. Or I just suck at teh interwebs.
Sign in to follow this  


4 Comments


Recommended Comments

Have you tried Appserve?
It installs Apache, php, mysql and phpMyAdmin (and I think CGI as well, or is CGI part of Apache?) for you.

Share this comment


Link to comment
Apache 2.1.x and 2.2.x for windows, wont work with PHP 5

-Install apache 2.0.x into the default directory
-Install PHP5 into C:\PHP-5.1.4 (select Apache for webserver)
-go to
C:\Program Files\Apache Group\Apache2\conf (your apache conf directory)

-open http.conf
-Find lines that begin with the word "LoadModule"
-insert new line before the first one you find...

LoadModule php5_module "C:\PHP-5.1.4\php5apache2.dll"

-Find last line that begins with the word "AddCharset"
-insert 2 new lines after that...

AddType application/x-httpd-php .php .html
PHPIniDir "C:/PHP-5.1.4/"

-save & close http.conf

-Right click the apache service and restart it or restart apache however you can.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!