新手学PHP,中文名:新手学拍黄片,哈哈,不知道会不会被屏蔽,第一天晚上,
生活免不了无聊的,对于即将毕业的我来说。主修.net,微软开发东西很方便,只是代码也是要换换口味,顺便给简历添一块砖头。菜鸟,可以喷吆。勉。转移话题了,继续讲PHP吧,既然有前面.net学习的铺垫,学习一门入门来说很简单PHP,最先了解的怎么安装环境
一、安装环境 wamp(window Apache mysql php )也就是集成环境, 新手学的话,集成开发环境安装比较快速,会帮你安装部署PHP环境,mysql等,就不用分开了,当然,可以尝试将Mysql分开装咯,我还没分开安装过~~ ,WAMP集成环境 百度一下就可以下载到 ,系统是windows 的,集成环境安装起来很容易的,下一步下一步就ok了,然后然后就ok,别嘲笑,我是新手。然后会直接运行,在右下角会出现一个绿色图标,刚开始运行的是红色的:可能mysql和Apache都还没运行,然后橙色:可能是mysql或Apache服务其中一个没运行,然后我的检查到是Apache没有运行,手动也启动不了,因为是系统System占用了80端口,找了很久都没有解决问题,因为之前装VS和Sqlserver,之后就用了一个死办法,把IIS给装上,然后停止IIS的服务(PS: 估计都会鄙视我的),这样,就是Sqlserver的一个服务占用了80端口,就停掉了。然后再找到Apache服务(wampapache),启动就可以了。如果检测到时mysql服务没有启动,就启动这个服务(wampmysqlId),不知道是不是这个,不知道百度~~ 然后图标就变成绿色了,哈哈
二、关于新手来讲,怎么运行第一个程序极为重要,尤其是不知道怎么运行的,哈哈。
在安装目录下(例如:D:/wamp/www/),有一个www文件夹,里面有一个index.php 文件可以拿来试试运行的。
打开浏览器输入:localhost/index.php 就可以看见效果了,好像也可以不区分大小写的,jsp貌似区分大小写
其实也没什么好讲的,算是写个新的随笔吧,还来个Hello world ,贴图
是不是很逗比呢,因为也不知道怎么写博客,那就写学习日志好了
.net 和wamp集成环境的80端口的问题:为毛.net 和php 运行共用一个80端口。对头么?
还有,介绍一个新手可以在线学习敲代码的网站:慕课网,主要免费、学习php啊,java,等等都可以的
当然还有可爱csdn课堂,就是很多收费滴

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

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.