How to use bitnamiWAMPstack

Source: Internet
Author: User
: This article describes how to use bitnamiWAMPstack. For more information about PHP tutorials, see. I want to learn about PHP and found some information on the Internet. This article introduces a simple and fast server construction method based on the WAMP (WINDOWS + APATCH_MYSQL/MARIADB + PERL/PHP/PYTHON) architecture. There is also the corresponding LAMP, which is based on the Linux platform. it is similar and will not be said.

Download a bitnami installation package: bitnami installation package


The installation procedure is very simple. after installation, some directories are displayed:


As you can see, the installation package contains many things, such as apatche, mysql, php, and sqlite...

For fast testing and unfamiliar use of a php webpage to the server, you need to care about the two folders apatche2 and apps.

For example, we want to deploy a test application to the server.

1. create a directory to apps. this is necessary and the name and location cannot be changed at will. The data folder is optional. this example does not contain this folder.

The htdocs folder stores various front-end webpage source files such as pages, css, and js. the conf folder stores configuration files as the name suggests, and data stores data.

2. create three configuration files in conf

The httpd-app.cof content is as follows:

 
      Options +FollowSymLinks    AllowOverride None    
  
       Order allow,deny    Allow from all    
      
  
   = 2.3>    Require all granted    
  
 
The httpd-prefix.conf content is as follows:
Alias /test/ "D:\Bitnami\wampstack-5.5.26-0/apps/test/htdocs/"Alias /test "D:\Bitnami\wampstack-5.5.26-0/apps/test/htdocs"Include "D:\Bitnami\wampstack-5.5.26-0/apps/test/conf/httpd-app.conf"
The httpd-vhosts.conf content is as follows:
 
    ServerName test.example.com  DocumentRoot "D:\Bitnami\wampstack-5.5.26-0/apps/test/htdocs"  Include "D:\Bitnami\wampstack-5.5.26-0/apps/test/conf/httpd-app.conf"                                                                                           
 
For the preceding three files, different applications must be modified according to different requirements.

3. add a line at the end of the bitnami-apps-prefix.conf File (/installdir/apache2/conf/bitnami/bitnami-apps-prefix.conf:

Include "D:/Bitnami/wampstack-5.5.26-0/apps/test/conf/httpd-prefix.conf"
This row is a global declaration of the prefix interpretation file in the app.

4. add the php file. we have added two php files in the demo:

5. start bitnami


This article does not involve mysql configurations and other configurations (such as FastCgi.

References: bitnami php deployment references

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

The above describes how to use bitnami WAMP stack, including some content, and hope to be helpful to friends who are interested in PHP tutorials.

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.