Windows2008+apache Server +mysql Database +php language environment installed separately

Source: Internet
Author: User
Tags file copy php language phpmyadmin

w:windows2008 -bit operating system

A:apache Server

M:mysql Database

p:php Environment

  above apache php and mysql In this is a separate installation, and finally " running using phpmyadmin tools make mysql can be web end run

FTP here refers to the setting up FTP server, so that the local client FTP tool can be used properly

The version of Php I am using is:5.5.16 version, official:http://windows.php.net/download/

My personal storage address is: Http://pan.baidu.com/s/1hqkTf4C

This address is a downloadable version of the Windows operating system, divided intothreadsafeand non-thread (Non thread safe ), I thinkthe security thread (thread Safe) is better, previously downloaded a non-thread package file, the installation did not succeed, it seems that some files do not exist. I downloaded the version

The version of Apache used is:2.4.10 version. Official:http://www.apachelounge.com/download/

My download version save address is: Http://pan.baidu.com/s/1i387Eeh

Download the following:

Now that the MySQL installation version has been updated to 5.6.20,

Official: http://dev.mysql.com/downloads/mysql/

If downloaded from the official: The operating system is suitable for

The version of Mysql I'm using is:5.6.19.

I installed the version: HTTP://PAN.BAIDU.COM/S/1QWJQQ2G

We need to install it before the environment is built . NetFramework4.0 and Visual C + +

Otherwise, you will encounter an unexpected error during installation:

Can search for official download installation

I have downloaded the version:

phpMyAdmin Download:

1. Installing the system's . NET framework and Visual C + +

Http://pan.baidu.com/s/1c0Eh1jM

Http://pan.baidu.com/s/11usPo

2. Install MySQL, double-click Execute installation package, installation process reference:

Http://database.51cto.com/art/201304/387439.htm

3. Put the php package under the D:\ disk (where you decide to put it)

4. Add System Environment variables

Change System Properties , management , My Computer

Advanced Environment Variables

Add an environment variable:

PATH

D:\php;d:\php\ext "The address of the variable value is written according to your own century path."

After adding:

5. Restart your computer

6. Save the php.ini-production file copy in the D:\php\ as a php.ini configuration file

If your database file is large, you can change the file size limit for uploads and downloads in PHP files. post_max_size upload_max_filesize

Extension_dir Change

; extension_dir= ' ext '

Change this parameter to:

Extension_dir= ' D:/php/ext '

The path here is the actual path where you placed the file

You should remove the semicolon extension:

You need to reconfigure the configuration location of MySQL:

5. Place the apache24 folder on the D Drive

First, you need to change the apache24/conf folder under the configuration file httpd.conf ;

The contents of the change are:

Suffix name to run file extension

#php configuration is added in the Http.config file

LoadModule php5_module "D:/php/php5apache2_4.dll" AddType application/x-httpd-php. php. html. Htmphpinidir "D:/php"

The above paragraph is to ensure the operation of PHP files, the address in your own actual location as the subject

Then write a passage in the index.html file and test it.

<?php Phpinfo ();? >

This is the time to run php files.

2. Come on, let's install the phpmyadmin Web interface .

Place The phpmyadmin under the htdoc folder of the Apache server and configure

Settings to access in the form of a domain name

Configure IP and corresponding domain name access addresses in the hosts file

127.0.0.1   www.bafeiyu.com

Then, in the Apache config file, add the last

<virtualhost *:80>    ServerName www.bafeiyu.com    documentroot e:\xampp\htdocs\bafeiyu</virtualhost >

Windows2008+apache Server +mysql Database +php language environment installed separately

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.