PHP integration and development environment-detailed configuration of Wamp + netbeans

Source: Internet
Author: User
Tags php development environment netbeans

If you want to build a PHP integrated environment, you need to install Apache, MySQL, PHP, and a development environment (varies from person to person ).

This article mainly introduces PHP integration and development environment in detail, and helps PHP beginners step into the PHP world as soon as possible.

This article includes:

1. php integration environment-download, install, and configure Wamp

2. php development environment-download and use of netbeans

This article does not introduce the PHP syntax. If necessary, you can search for it elsewhere or follow-up articles in this series.

PHP Integration Environment -- Wamp

The definition of Wamp given by Baidu encyclopedia is as follows:Apache + MySQL + PERL/PHP/python in windows, a group of open-source software commonly used to build dynamic websites or servers are independent programs, however, because it is often used together, it has a higher degree of compatibility and forms a powerful web application platform.

There are many Wamp integration environments, but they are not the same. This article mainly introduces wampserver.

Download and install wampserver on the official page: http://www.wampserver.com/en/user-defined environment (such as the operating system environment and PHP version number). For example, the version I downloaded is: wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-32bwindows environment, the installation of wampserver is quite simple and will not be listed here. After the installation is successful, the wampserver icon appears in the lower right corner of the desktop. Red indicates that all services are disabled, yellow indicates that some services are disabled, and Green indicates that all services are enabled. As shown in, the apache service is started normally. By default, click localhost to go to http: // localhost/. the browser will see the following content: This indicates that wmapserver has been installed successfully. If you need to change the directory or port, you can enter the Apache directory. If you want to install WMAP on: E: \ Wamp
The Apache configuration file directory is in E: \ Wamp \ bin \ apache \ apache2.2.22 \ conf \ httpd. confWampserver configuration wampserver has configured the basic PHP environment. However, for some special cases, we also need to manually configure it, such as the HTTP service configuration and SVN service configuration. This article focuses on HTTPS service configuration and SVN service configuration. Compiling HTTPS service configuration ...... In particular, the svn service installation configuration should be proposed for the configuration of the svn service, because if the svn server is installed after Wamp is installed, it cannot be directly used and the corresponding configuration is required, the specific configuration is as follows. If the svn service needs to be installed on the local machine after wampserver is installed, the necessary software is as follows: Subversion
Tortoisesvn install subversion on C:/SVNDirectory, if you want to implement the coexistence of Wamp and Svn, you also need to perform the following steps: 1. C:/SVN/binCopy the files mod_authz_svn.so and mod_dav_svn.so in the directory to the following directory: E: \ Wamp \ bin \ apache \ apache2.2.22 \ modules2. Set C:/SVN/binCopy the files intl3_svn.dll and libdb44.dll in the directory to the following directory: E: \ Wamp \ bin \ apache \ apache2.2.22 \ bin3. Find 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

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. Create a repository directory, such as E: \ repository6. To enable SVN to manage multiple version libraries, create sub-directories under E: \ repository, such as E: \ repository \ project1, the method is as follows:

cd E:\Repositorysvnadmin create E:\Repository\project1

7. After the configuration is complete, go to the configuration file httpd. conf of Apache again, in the following content:

Include "c:/wamp/alias/*"

Add the following content:

<Location /svn>DAV svnSVNParentPath  E:\Repository</Location>

8. Save the file, restart Wamp, and view http: // localhost/SVN/project1. 9. This article will not detail the use of SVN. Summary through the general introduction of this article, the PHP runtime environment and development environment have been completed, and in order to control the code version, this article also describes in detail how to install the svn service under Wamp. Let's start PHP.

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.