[introduction to php] 1, from the installation and development environment to (zhuang B) to do a cool landing application

Source: Internet
Author: User
<span id="Label3"></p><p><p></p></p><p><p><span style="font-size: 14pt;"><strong>1. Preface</strong></span></p></p><p><p><span style="font-size: 14pt; color: #ff0000;"><strong>This article is suitable for you want to understand the introduction of Web development small white ~</strong></span></p></p><p><p>Recently learning PHP based on an online course, the course says:</p></p><p><p>PHP environment for their own trouble, you can use WAMP integrated development environment, One-click Installation.</p></p><p><p></p></p><p><p><span style="font-size: 14pt;"><strong>2. Installing the Integrated development environment</strong></span></p></p><p><p>Below is the Wamp download path, we choose the lower version of the 2.5~ if it is not downloaded in ①, you can click on the ② to find the 2.5 version of the trial download, if they are not downloaded, you can directly download one of my share: http://pan.baidu.com/s/1i5dfx8x</p></p><p><p></p></p><p><p></p></p><p><p><span style="font-size: 14pt;"><strong>3. Test whether the installation is successful</strong></span></p></p><p><p>After installation, in the lower right corner of the desktop will be: (green means online, yellow indicates offline)</p></p><p><p></p></p><p><p></p></p><p><p><strong>PS:</strong> <span style="font-size: 12px;">I previously in the virtual machine in the new Win7 64-bit system installed this, The results initially reported missing dll, I found the relevant DLL into the SYS file, also reported 0xc00007 error, the method of online search have tried (download a Microsoft package, the update of a package uninstall) are Not. At present, This system installs the VS2013, I suspect may be VS2013 contains the necessary thing! </span></p></p><p><p>Then enter localhost:80 in the browser to display the corresponding page ~</p></p><p><p></p></p><p><p></p></p><p><p><span style="font-size: 14pt;"><strong>4. Try to write a Helloword.</strong></span></p></p><p><p>Write PHP program is relatively simple, it does not need to compile as C + +, and then run ~ directly find the WWW directory: (this directory is the code of the written web program, such as the root directory of Resources)</p></p><p><p></p></p><p><p>next, Create a new test01 folder under the root directory that holds the resources for the test1 Hello World Web program:</p></p><p><p></p></p><p><p>Create a new a.php in which the following code is written:</p></p><pre><pre><span style="color: #008080;">1</span> <? <span style="color: #000000;">PHP</span> <span style="color: #008080;">2</span> <span style="color: #008080;">3</span> <span style="color: #0000ff;">Echo</span> ' Hello World ';</pre></pre><p><p>save, Enter in Browser: http://localhost/test01/a.php</p></p><p><p></p></p><p><p><span style="font-size: 14pt;"><strong>5. The above Hello World does not pack b, below, very loaded B</strong></span></p></p><p><p>Hundred Poison random Search a Web landing template: (decompression Open contains a index.html, a CSS (style), images (the picture on the Page)</p></p><p><p></p></p><p><p>Click index.html is This: (generally This is the former paragraph and art to your static page), currently you click Login is no effect!</p></p><p><p></p></p><p><p>We create a new test02 folder under the WWW root directory, and copy the above three files and folders into the test02, and modify the index.html slightly.</p></p><pre><span style="color: #008080;"><span style="color: #008080;">1</span></span><! DOCTYPE html><span style="color: #008080;"><span style="color: #008080;">2</span></span>

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.