PHP Integration and development environment ――wamp+netbeans detailed features

Source: Internet
Author: User
Tags php development environment netbeans
Detailed configuration of PHP integration and development environment ――wamp+netbeans

If you want to build a PHP integration environment, you need to install Apache, MySQL, PHP, as well as the development environment (varies from person to person).

This article is mainly for PHP integration, development environment for detailed introduction, and help PHP beginners to step into the world of PHP as early as possible.

This article includes:

1, PHP integrated environment ――wamp Download, installation, configuration

2, PHP development environment ――netbeans Download use

This article does not cover PHP syntax, and can be found elsewhere or in subsequent articles in this series if necessary.

PHP Integrated Environment ――wamp

Baidu Encyclopedia to give Wamp is defined as follows:Windows Apache+mysql+perl/php/python, a group of commonly used to build Dynamic Web site or server open source software, itself is a separate program, but because often put together to use, With a growing degree of compatibility, together they form a powerful Web application platform.

WAMP integration Environment has many, but does not have the same, this article mainly introduces Wampserver.

Wampserver Download, install

Official page: http://www.wampserver.com/en/

The user chooses according to their own environment (such as the operating system's environment, PHP version number), as I downloaded the version: wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-32b

In the Windows environment, installing Wampserver is quite simple, not listed here.

After the installation is successful, the Wampserver icon appears in the lower right corner of the desktop, red indicates that the service is disabled, yellow indicates that some services are disabled , and the Green Representative service is all enabled .

As shown, the service on behalf of Apache is started normally.



By default, by clicking localhost and entering http://localhost/, the browser will see the following:


This means that the Wmapserver installation is complete.

If you need to change the directory or port, you can enter the Apache directory, such as I WMAP installed in:E:\WAMP
The Apache configuration file directory is E:\WAMP\bin\apache\apache2.2.22\conf\httpd.conf


Configuration of the Wampserver

Wampserver the basic Environment of PHP is configured, but for some special cases, we also need to manually configure, such as the configuration of HTTP services, such as the configuration of the SVN service. This article will focus on the configuration of the HTTPS service and the configuration of the SVN service.

Configuration of the HTTPS service

Write in ...

Configuration of the SVN service

In particular, the installation configuration of the SVN service is made, because if Wamp is installed after installing the SVN server, then it is not directly available and needs to be configured accordingly, as shown below.


If you have installed the Wampserver, you need to install the SVN service on this machine, the prerequisite software is as follows:

Subversion
TortoiseSVN


I will install subversion in the c:/svn directory, if you want to implement Wamp and SVN coexistence, also need the following steps:

1, the c:/svn/bin directory file mod_authz_svn.so, mod_dav_svn.so Copy to the following directory:E:\WAMP\bin\apache\ Apache2.2.22\modules

2, the c:/svn/bin directory file intl3_svn.dll, Libdb44.dll Copy to the following directory:E:\WAMP\bin\apache\apache2.2.22\bin

3. Locate the Apache configuration file E:\WAMP\bin\apache\apache2.2.22\conf\httpd.conf, and modify the following content:

#LoadModule dav_module modules/mod_dav.so#loadmodule dav_fs_module modules/mod_dav_fs.so
Modified to:

LoadModule dav_module modules/mod_dav.soloadmodule dav_fs_module modules/mod_dav_fs.soloadmodule dav_svn_module Modules/mod_dav_svn.soloadmodule Authz_svn_module modules/mod_authz_svn.so

4. Restart the Wamp service.

5, establish the Repository directory, as follows: E:\Repository

6, in order to allow SVN to manage multiple repositories, under the E:\Repository to create subdirectories, such as E:\Repository\Project1, the method is established as follows:

CD E:\Repositorysvnadmin Create E:\Repository\project1
7, after completion, again into the Apache configuration file httpd.conf, under the following content:

Include "c:/wamp/alias/*"

Add the following content:

 
  
   
  DAV svnsvnparentpath  
  
   E:\Repository
 
  
8, save the file, restart the boot wamp, browse Http://localhost/svn/project1 can see the relevant content.

9, about the use of SVN, this article will not be described in detail.


Summary

Through the introduction of this article, PHP operating environment and development environment are completed, and in order to version control the code, this article also detailed how to install the SVN service under Wamp.

Let's open the path to PHP.




  • Related Article

    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.