Tutorial on building PHP development environment under Windows (APACHE+PHP+MYSQL), apachemysql_php tutorial

Source: Internet
Author: User
Tags learn php learn php programming php development environment

PHP Development Environment Building Tutorial (Apache+php+mysql) under Windows, Apachemysql


Because of changing the computer or reinstall the system often need to re-build PHP environment, this simple record of Windows under the process of building PHP environment, specific steps can refer to the online information

Preparatory work:

Manual PHP Environment under Windows needs to download the appropriate software first, it should be noted that the version of Apache and PHP must be consistent (both 32-bit or 64-bit), if the version inconsistency will lead to the integration of Apache and PHP is unsuccessful, That is, after modifying the configuration file, start the Apache report as shown in the error:

In fact, there is a very detailed description of the http://windows.php.net/download/, readers can choose the appropriate version according to their own needs

The software version downloaded by the author is as follows:

Installation process:

1. Installing Apache

Double-click Install, no difference from installing other Windows software

There is no special requirement when filling the server infomation, as long as the information entered conforms to the format

After the installation is complete, in the browser input http://localhost, if the IT works! is displayed, the Apache installation is successful.

2. Install PHP

Unzip the php-5.3.10-win32-vc9-x86.zip to a directory, the author's installation directory is: D:\Software\PHP

3, install MySQL, Mysql-front

4, integrated Apache+php+mysql

(1) Allow Apache to parse PHP files

(2) Modifying the Apache Site Directory

(3) Modify the PHP configuration file, set the specific directory of PHP expansion pack, open the corresponding library function, set the time zone

5. Testing

In the aforementioned configuration of the Apache site directory under the new index.php file, the code in index.php is as follows:

Copy the Code code as follows: <?php phpinfo ();? >

Enter http://localhost/in the browser address bar, if the page displays PHP version information, the integration of Apache and PHP is successful

PHP Development Tools

The previous simple description of the PHP environment, as PHP developers must have a suitable development tool, the market has a variety of powerful PHP development tools, http://www.downcc.com/k/phpkaifa/introduced a number of development tools, The following are the two types of PHP development tools that I use

(1) Zend Studio

This software for the fee software, can be free trial, the method can be referenced http://www.imuum.com/zend-studio12-0-2-key-cracked-registration-key-download.html

Author of this machine installed version: Zend Studio12.0.1

Working space:

Project Overview:

Access Address: http://localhost/Zend-workspaces/test/index.php

(2) eclipsephp Studio

Author Native installation version: eclipsephp Studio 4.0

Working space:

Project Overview:

Access Address: http://localhost/EPP-workspaces/test/application/index.php

The above installation requires manual installation of various software, in fact, there are many integrated environment can simplify these operations

Reference: Building a PHP development environment under Windows (APACHE+PHP+MYSQL)

The above is the whole content of this article, I hope that you learn PHP programming help.

http://www.bkjia.com/PHPjc/1136659.html www.bkjia.com true http://www.bkjia.com/PHPjc/1136659.html techarticle under Windows PHP Development Environment Building Tutorial (Apache+php+mysql), apachemysql because of the computer or reinstall the system often need to re-build PHP environment, this simple record of Windows built PHP loop ...

  • 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.