PHP for beginners, Chinese name: porn for beginners. Haha, I don't know if it will be blocked. The first night,

Source: Internet
Author: User
Tags php for beginners

PHP for beginners, Chinese name: porn for beginners. Haha, I don't know if it will be blocked. The first night,

Life is boring. For me, I will graduate soon. I majored in. net. It is very convenient for Microsoft to develop things, but the Code also needs to be changed. By the way, I will add a brick to my resume. Cainiao. . Now, let's move on to PHP. Now that we have already learned the basics of. net, it's easy to get started with PHP. How to install the environment first?

1. The installation environment wamp (window Apache mysql php) is the integrated environment. If you are a beginner, the integrated development environment is installed quickly and will help you install and deploy the PHP environment and mysql, you don't need to separate them. Of course, you can try to install Mysql separately. I haven't installed Mysql separately yet ~~ The WAMP integration environment can be downloaded from Baidu. The system is windows, and the Integration Environment is easy to install. The next step is OK, and then OK. Don't laugh at it, I am a newbie. Then it runs directly, and a green icon appears in the lower right corner. It is red at the beginning: Maybe mysql and Apache are not running yet, And Then orange: it may be that either mysql or Apache service is not running. I check that Apache is not running and cannot be started manually because the System occupies port 80, I have not solved the problem for a long time, because I installed VS and Sqlserver, And then I used a dead-end method to install IIS, and then stopped the IIS service (PS: it would probably despise me). In this way, a service of Sqlserver occupies port 80 and stops. Then find the Apache service (wampapache) and start it. If the mysql service is not started, start the service (wampmysqlId ~~ Then the icon turns green, haha

 

 

2. It is extremely important for new users to run the first program, especially if they do not know how to run it. Haha.

In the installation directory (for example, D:/wamp/www/), there is a www folder, which contains an index. php file for you to try.

Open the browser and enter localhost/index. php to see the effect. It seems that the effect can be case-insensitive. jsp seems to be case-sensitive.

    

In fact, there is nothing to talk about. You can write a new essay, and a Hello world, texture.

    

    

Isn't it funny? Because I don't know how to write a blog, so I can write learning logs.

. Net and wamp Integration Environment port 80 problem: for Mao. net and php run share a port 80. Right?

Also, we will introduce a website for beginners to learn and think about code online: MOOC, which is mainly free of charge, php, java, and so on.

Of course, there is also a cute csdn class, that is, a lot of Fees

 

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.