PHP/MySQL Dev. Primer (1) Establish Env. Author: 柳大·Poechant Blog:Blog.CSDN.net/Poechant Email: zhongchao.ustc@gmail.com Date: May 15 th , 2012 1 Install Web Server Usually, people are willing to use Apache as the web server of their si
PHP/MySQL Dev. Primer (1) Establish Env.
- Author: 柳大·Poechant
- Blog: Blog.CSDN.net/Poechant
- Email: zhongchao.ustc@gmail.com
- Date: May 15th, 2012
1 Install Web Server
Usually, people are willing to use Apache as the web server of their sites. Honstly, I have to say Apache is an excellent web server. However, you also have to concede Nginx is superstar in this realm. Perhaps you have heard Nginx could perform better than Apache for dynamic pages.
Based on the high-performance of Nginx, it is necessary to introduce how to set up Nginx instead of Apache or any other web server software.
<code><span>wget</span> http://nginx.org/download/nginx-<span>1.2</span><span>.0</span>.tar.gz <span>tar</span> -zxvf nginx-<span>1.2</span><span>.0</span>.tar.gz <span>cd</span> nginx-<span>1.2</span><span>.0</span> ./configure <span>make</span> <span>sudo</span> make install </code>
Then Nginx has been install into /usr/local/nginx directory. What’s next? Configuration. The following configuration is aimed at a PHP web site.
<code><span>//TODO</span> </code>
2 Install Database
ignored
3 Install Script Lang. Dev. Env.
ignored
4 Integrated Installation Tools
MAMP: Mac Apache MySQL PHP. Eh, I’m fond of this one :)
WAMP: Windows Apache MySQL PHP
XAMPP: Windows/MacOSX/Linux/Solaris Apache MySQL PHP/Perl/Python
5 Basic Configuration for the Integrated Env.
Apache Document Root or Nginx Location
6 Hello World
6.1 PHP
<code><span> <span>html</span>></span> <span>head</span>> <span>meta</span> <span>http-equiv</span>=<span>"Content-Type"</span> <span>content</span>=<span>"text/html; charset=UTF-8"</span>> <span>title</span>><span><span>title</span>></span> <span><span>head</span>></span> <span>body</span>> <span><?php $myvar = "Hello World, PHP"; echo $myvar; ?></span> <span><span>body</span>></span> <span><span>html</span>></span> </code>
6.2 MySQL
<code><span><span>create</span> database testdb;</span> <span><span>create</span> <span>table</span> example ( id <span>int</span>, data <span>varchar</span>(<span>100</span>) );</span> <span><span>insert</span> <span>into</span> example <span>values</span> ( <span>1</span>, <span>'Hello World, MySQL'</span> );</span> <span><span>select</span> * <span>from</span> example;</span> </code>
-
Blog.CSDN.net/Poechant
-

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

안전한 시험 브라우저
안전한 시험 브라우저는 온라인 시험을 안전하게 치르기 위한 보안 브라우저 환경입니다. 이 소프트웨어는 모든 컴퓨터를 안전한 워크스테이션으로 바꿔줍니다. 이는 모든 유틸리티에 대한 액세스를 제어하고 학생들이 승인되지 않은 리소스를 사용하는 것을 방지합니다.

MinGW - Windows용 미니멀리스트 GNU
이 프로젝트는 osdn.net/projects/mingw로 마이그레이션되는 중입니다. 계속해서 그곳에서 우리를 팔로우할 수 있습니다. MinGW: GCC(GNU Compiler Collection)의 기본 Windows 포트로, 기본 Windows 애플리케이션을 구축하기 위한 무료 배포 가능 가져오기 라이브러리 및 헤더 파일로 C99 기능을 지원하는 MSVC 런타임에 대한 확장이 포함되어 있습니다. 모든 MinGW 소프트웨어는 64비트 Windows 플랫폼에서 실행될 수 있습니다.

SecList
SecLists는 최고의 보안 테스터의 동반자입니다. 보안 평가 시 자주 사용되는 다양한 유형의 목록을 한 곳에 모아 놓은 것입니다. SecLists는 보안 테스터에게 필요할 수 있는 모든 목록을 편리하게 제공하여 보안 테스트를 더욱 효율적이고 생산적으로 만드는 데 도움이 됩니다. 목록 유형에는 사용자 이름, 비밀번호, URL, 퍼징 페이로드, 민감한 데이터 패턴, 웹 셸 등이 포함됩니다. 테스터는 이 저장소를 새로운 테스트 시스템으로 간단히 가져올 수 있으며 필요한 모든 유형의 목록에 액세스할 수 있습니다.

WebStorm Mac 버전
유용한 JavaScript 개발 도구

드림위버 CS6
시각적 웹 개발 도구
