PDA

View Full Version : -_- I cannot install MySQL or Apache properly


Pokedragonfire
September 26th, 2004, 11:17 AM
HOW THE HECK DO I INSTALL MYSQL IN WINDOWS 2000???? I have a book, titled PHP fast & easy web developement, it is kinda old but tells me how, and in MySQL it tells me to type in a command, mysqld--standalone but it has errors and says that isn't a real command. Then I gave up and tried installing apache on my PC and I changed it to localhost like it said and when I try to open it in IE it says THIS PAGE CAN NOT BE DISPLAYED. I'm so sick of trying to do this I think I'll just give up and buy a host that has it pre-installed which would be useless since there is nothing in my site right now...

TSS_Killer
September 27th, 2004, 08:22 AM
OK,calm down and listen up. First of all MySQL should have already put the service at startup already,so don't threat. As for apache,it also should have put a service at startup.

And the setup for Apache is simple. apparently your isp blocks port 80 also

go to C: Program Files\Apache Group\Apache2\conf\httpd.conf

and find this section

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:15000
Listen 15000

your listen port should be 80,so change that to 15000(as my example),then restart it(well i'm not on windows now so just to be safe,restart the computer,and it should work.

Then,get yourself phpmyadmin,which is a simple web interface to create mysql databases. It is at phpmyadmin.net get the stable version,download the zip file,and unzip it into your DocumentRoot(The default directory should be listed in httpd.conf). And BOOM,it should work.