PHP integration and development environment-detailed configuration of WAMP + NetBeans

Source: Internet
Author: User
Tags php development environment
PHP integration and development environment-detailed configuration of WAMP + NetBeans if you want to build a PHP integration environment, you need to install Apache, MySQL, PHP, and the development environment (varies from person to person ). This article mainly introduces the PHP integration and development environment in detail, and assists PHP beginners to step into the p php integration and development environment as soon as possible-detailed configuration of WAMP + 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. 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. conf
WampServer 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 the 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:
 
  DAV svnSVNParentPath  E:\Repository
 
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.


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.