search
HomeBackend DevelopmentPHP TutorialHow to use bitnami WAMP stack

I want to learn PHP, so I looked for some information on the Internet. Introducing a simple and fast server construction method, based on WAMP (WINDOWS+APATCH_MYSQL/MARIADB+PERL/PHP/PYTHON) architecture. There is also LAMP, which is based on the Linux platform and is very similar, so I won’t go into details.

First you need to download a bitnami installation package, download address: bitnami installation package download address


The installation steps are very simple, after installation, some directories will appear:


As you can see, the installation package contains a lot of things, apatche, mysql, php, sqlite, etc. . .

For quick testing and unfamiliar php web pages to the server, you need to pay attention to the apatche2 and apps folders.

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

1. First create a directory in apps. This is necessary, and the name and location cannot be changed at will. The data folder is optional. This example does not include this folder. The folder stores various web front-end source files such as pages, css, js, etc.; the conf folder stores as the name implies. Configuration file; data stores data

2

. Create three configuration files in conf

httpd-app.cof content is as follows:

<directory>
    Options +FollowSymLinks
    AllowOverride None
    <ifversion>
    Order allow,deny
    Allow from all
    </ifversion>
    <ifversion>= 2.3>
    Require all granted
    </ifversion>
</directory>

httpd The content of -prefix.conf 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"
httpd-vhosts.conf contains the following content:
<virtualhost>
  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"                                                                                           
</virtualhost>
The above three files need to be changed according to different needs for different applications.

3. Add a line at the end of the 3.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 line is for the app A global declaration of the prefix explanation file.

4. Add php files, we added two php files in the demo:

5. Start bitnami

This article is not yet available Involves the configuration of mysql and other (such as FastCgi) configuration.
Reference document: bitnami php deployment reference



Copyright statement: This article is written by the blogger Original articles are not allowed without the permission of the blogger. Reprint.

The above introduces how to use bitnami WAMP stack, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Apple iPhone 16 Pro as Leica smartphone: Leica subsidiary confirms camera grip with official Leica appApple iPhone 16 Pro as Leica smartphone: Leica subsidiary confirms camera grip with official Leica appJun 13, 2024 pm 08:52 PM

LeicareleasedtheLeicaLuxcameraappfortheAppleiPhoneafewdaysago.However,theappwasnotdevelopedbyLeica,butbyFjorden.ThecompanyhasbeenknownprimarilyforitscameragripsfortheiPhoneandwasacquiredbyLeicainDecember2023.Fo

Remote 3 universal remote control comes with touchscreen, but without subscription or server obligationRemote 3 universal remote control comes with touchscreen, but without subscription or server obligationJun 14, 2024 am 09:13 AM

SincethedemiseofLogitech'spopularHarmonyremotecontrols,themarketforhigh-qualityuniversalremotecontrolshasbeenfragmentedatbest.UnfoldedCircleaimstoavoidthefateoftheHarmonyUltimatebyeliminatinganyserverobligationsorsubs

Light Phone 3 launches with 50% discount, monochrome OLED and minimalist designLight Phone 3 launches with 50% discount, monochrome OLED and minimalist designJun 13, 2024 pm 10:18 PM

WhiletheLightPhone2from2018wasstillequippedwithaneconomicale-inkdisplay,theLightPhone3usesanOLEDdisplaythatcanonlydisplaygrayscale.Thereasonfortheswitchtothe3.92-inchOLEDpanelwithitsresolutionof1,240x1,080isth

Electric Ferraris will boast an \'authentic\' growl, claims marketing executiveElectric Ferraris will boast an \'authentic\' growl, claims marketing executiveJun 14, 2024 am 10:26 AM

In2012,theeminentautomotivejournalistJeremyClarksonstatedthattheLamborghiniAventador,whichhewasreviewingatthetime,wouldbeamongthelastcarstofeatureanaturallyaspiratedV12.Morethanadecadelater,V12-poweredsupercarsareal

Jabra discontinues Elite wireless earbuds lineupJabra discontinues Elite wireless earbuds lineupJun 14, 2024 am 09:39 AM

TheJabraEliteserieshascometoanend,withGNCEOPeterKarlstromerannouncingthediscontinuationofthewirelessearbudswithinthelineupinapressrelease.Petersaysthatthechangingmarketdynamicsandhowchallengingithasbecometogetas

Audio-Technica unveils ATH-S300BT wireless headphones with hear-through noise-cancellation, 90 hours battery life, and multipoint pairingAudio-Technica unveils ATH-S300BT wireless headphones with hear-through noise-cancellation, 90 hours battery life, and multipoint pairingJun 14, 2024 am 09:46 AM

Audio-TechnicahasunveiledtheATH-S300BTwirelessheadphoneswithhear-throughnoise-cancellation,multipointpairing,and90hoursofbatterylife.Thenoise-cancellingfeaturehasthreemodes:off,on,andhear-through,whereambientsoundscanbehea

First complete PCIe 7.0 IP solution presented by Synopsys coming to market in 2025 for HPCs and AI supercomputersFirst complete PCIe 7.0 IP solution presented by Synopsys coming to market in 2025 for HPCs and AI supercomputersJun 14, 2024 am 09:19 AM

Backin2022,whenPCIe7.0wasstartingtotakeshapeasafuturestandard,PCIe5.0wasjusthittingtheservermarketsandtheprospectofseeingPCIe6.0devicesavailableanytimesoon,letalonePCIe7.0ones,wasquitefar-fetched.CurrentlyPCIe5

Hisense unveils new Starlight S1 Pro Laser TV with up to 100-inch foldable screenHisense unveils new Starlight S1 Pro Laser TV with up to 100-inch foldable screenJun 14, 2024 am 10:07 AM

HisensehaslaunchedtheStarlightS1ProLaserTVinChina.TheproductwasteasedinaWeibopostearlierthismonthandwasunveiledatthe2024HisenseTVNewProductLaunchConferenceeventonJune12th.TheStarlightS1Proisa4KlaserTVinfours

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools