Life is inevitably boring, for me, who is about to graduate. Majoring in .net, it is very convenient to develop things with Microsoft, but the code also needs a change of taste, and it can add a brick to the resume. Rookie, you can yell. Mian. Let’s change the topic and let’s continue talking about PHP. Since we have the foundation for learning .net before, it is very simple to learn PHP to get started. The first thing you need to know is how to install the environment
1. Install the environment wamp (window Apache mysql php) that is The integrated environment can be downloaded from Baidu in one click. The system is Windows. The integrated environment is very easy to install. The next step will be ok, and then it will be ok. Don’t laugh at me, I am a novice. Then it will run directly, and a green icon will appear in the lower right corner. The first one is red: maybe mysql and Apache are not running yet, and then orange: maybe one of the mysql or Apache services is not running. Then I checked Apache is not running and cannot be started manually, because the system occupies port 80. I have been looking for a long time to find a solution to the problem, because I installed VS and Sqlserver before, and then I used a dead end method to install IIS and then stop it. The IIS service (PS: I think everyone will despise me), in this way, a service of Sqlserver occupied port 80 and was stopped. Then find the Apache service (wampapache) and start it. Then the icon turns green, haha
2. For novices, how to run the first program is extremely important, especially if they don’t 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 that you can try to run. Open the browser and enter: localhost/index.php and you can see the effect. It seems that it can be case-insensitive. jsp seems to be case-sensitive accommodate you, you cansee the effect if it is not case-sensitive. JSP seems to be case-sensitive. In fact, there is not much to say. I just want to write a new essay. Come on Hello world and post pictures Isn’t it funny, because I don’t know how to write a blog, so just write a learning log Issues with port 80 of .net and wamp integrated environments: Mao.net and PHP run on a shared port 80. Enemy? around through through a website where you can learn coding online: MOOC.com, which is mainly free, you can learn PHP, Java, etc. Of course, there is also a lovely csdn class, which charges a lot of fees.The above is an introduction to learning PHP for newbies. The Chinese name is: Newbies learn to shoot pornographic films. Haha, I don’t know if it will be blocked. On the first night, it includes some content. I hope it will be helpful to friends who are interested in PHP tutorials.