Apache+Php+Mysql Setting

Apache+Php+Mysql Setting

 

What is the xampp?

Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

 

XAMPP for windows:

 

The new version for windows including:

  • Apache HTTPD 2.2.8 + Openssl 0.9.8g
  • MySQL 5.0.51a
  • PHP 5.2.5
  • PHP 4.4.8
  • phpMyAdmin 2.11.4
  • FileZilla FTP Server 0.9.25
  • Mercury Mail Transport System 4.52
  •  

You can download the XAMPP on http://www.apachefriends.org/en/xampp-windows.html

 

Installation with XAMPP's Installer:

 

Using the installer version is the easiest way to install XAMPP

 

The install wizard of XAMPP win32

After the installation is complete, you will find XAMPP under Start / Programs / XAMPP. You can use the XAMPP Control Panel to start/stop all server and also install/uninstall services.

 

The XAMPP control panel for start/stop Apache, MySQL, FilaZilla & Mercury or install these server as services

 

Test:

After Apache starts, open the URL http://localhost or http://127.0.0.1 and examine all of the XAMPP examples and tools.

FQA

:

 

If you can't start your apache , you can run path: xampp\apache_start.bat and then it will show your result. may be have two reasons.

 

1.If your computer have installed the IIS ,and the IIS will open the port80, you can close your IIS server, and then start your apache server. That will be run well.

 

2.If you want to change the apache port, you can find out the file which name "httpd.conf" the path on \xampp\apache\conf\ httpd.conf. Go to

 

#Listen 12.34.56.78:80

Listen 80

 

Change the listen 80

 

#Listen 12.34.56.78:80

Listen 8080

 

Go to

#

# ServerName gives the name and port that the server uses to identify itself.

# This can often be determined automatically, but we recommend you specify

# it explicitly to prevent problems during startup.

#

# If your host doesn't have a registered DNS name, enter its IP address here.

#

ServerName localhost:80

 

And change the ServerName localhost:80

 

ServerName localhost:8080

 

Find out the file which name "httpd-ssl.conf", the path: xapp\apache\conf\extra\httpd-ssl.conf

Your must change the port 433 to 533.

 

 

 

Installation with the mantis

You can download the new version on the website : http://www.mantisbt.org/

 

1.Copy the mantis to the path xammp\htdocs\

And run the "imstart.cmd"

2.open your broswer, press the http://<your ip>/mantis/index.php

3.use the account :administrator psw:root.

posted on 2008-05-30 15:34  Eway  阅读(402)  评论(0编辑  收藏  举报