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
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.

LeicareleasedtheLeicaLuxcameraappfortheAppleiPhoneafewdaysago.However,theappwasnotdevelopedbyLeica,butbyFjorden.ThecompanyhasbeenknownprimarilyforitscameragripsfortheiPhoneandwasacquiredbyLeicainDecember2023.Fo

SincethedemiseofLogitech'spopularHarmonyremotecontrols,themarketforhigh-qualityuniversalremotecontrolshasbeenfragmentedatbest.UnfoldedCircleaimstoavoidthefateoftheHarmonyUltimatebyeliminatinganyserverobligationsorsubs

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

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

TheJabraEliteserieshascometoanend,withGNCEOPeterKarlstromerannouncingthediscontinuationofthewirelessearbudswithinthelineupinapressrelease.Petersaysthatthechangingmarketdynamicsandhowchallengingithasbecometogetas

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

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

HisensehaslaunchedtheStarlightS1ProLaserTVinChina.TheproductwasteasedinaWeibopostearlierthismonthandwasunveiledatthe2024HisenseTVNewProductLaunchConferenceeventonJune12th.TheStarlightS1Proisa4KlaserTVinfours


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Chinese version
Chinese version, very easy to use

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
Visual web development tools
