设置PHP开发环境外文翻译(绿皮书)
《设置PHP开发环境外文翻译(绿皮书)》由会员分享,可在线阅读,更多相关《设置PHP开发环境外文翻译(绿皮书)(9页珍藏版)》请在毕设资料网上搜索。
1、1 中文 3670 字 外文原文 Setting Up the PHP Development Environment Getting a working development environment put together can be intimidating, especially for the absolute beginner. To follow along with the project in this book, youll need to have access to a working installation of Apache, PHP, and MySQL,
2、preferably on your local machine. Its always desirable to test locally, both for speed and security. Doing this both shelters your work-in-progress from the open Internet and decreases the amount of time spent uploading files to an FTP server and waiting for pages to reload. Why You Need Apache, MyS
3、QL, and PHP PHP is a powerful scripting language that can be run by itself in the command line of any computer with PHP installed. However, PHP alone isnt enough in order to build dynamic web sites. To use PHP on a web site, you need a server that can process PHP scripts. Apache is a free web server
4、 that, once installed on a computer, allows developers to test PHP scripts locally; this makes it an invaluable piece of your local development environment. Additionally, dynamic websites are dependent on stored information that can be modified quickly and easily; this is the main difference between
5、 a dynamic site and a static HTML site. However, PHP doesnt provide a simple, efficient way to store data. This is where a relational database management system like MySQL comes into play. This books examples rely on MySQL; I chose this database because PHP provides native support for it and the dat
6、abase is free, open-source project. It runs in both 32-bit and 64-bit environments, but on Windows the only official distribution is 32-bit, requiring Windows 32-bit compatibility mode to be enabled while using IIS in a 64-bit Windows environment. There is a third-party distribution available for 64
7、-bit Windows. PHP is a general-purpose scripting language that is especially suited for web development. PHP generally runs on a web server, taking PHP code as its input and creating web pages as output. It can also be used for command-line scripting and client-side GUI applications. PHP can be depl
8、oyed on most web servers, many operating systems and platforms, and can be used with many relational database management systems. It is available free of charge, and the PHP Group provides the complete source code for users to build, 2 customize and extend for their own use. PHP primarily acts as a
9、filter, taking input from a file or stream containing text and/or PHP instructions and outputs another stream of data; most commonly the output will be HTML. It can automatically detect the language of the user. From PHP 4, the PHP parser compiles input to produce byte code for processing by the Zen
10、d Engine, giving improved performance over its interpreter predecessor At the time I write this, PHP 5.2.9 is the latest stable release available, but versions 5.3 and 6 are both scheduled for release in the near future. PHP 4 is still in use on a number of servers, but support has been discontinued
11、. Many hosting companies let developer use either PHP 4 or PHP 5 on their sites. PHP Origin PHP originally stood for “Personal Home Page” and was released as a free, open source project. It began in 1994 as a set of Common Gateway Interface binaries written in the C programming language by the Danis
12、h/Greenlandic programmer Rasmus Lerdorf. Lerdorf initially created these Personal Home Page Tools to replace a small set of Perl scripts he had been using to maintain his personal homepage. The tools were used to perform tasks such as displaying his rsum and recording how much traffic his page was r
13、eceiving. He combined these binaries with his Form Interpreter to create PHP/FI, which had more functionality. PHP/FI included a larger implementation for the C programming language and could communicate with databases, enabling the building of simple, dynamic web applications. Lerdorf released PHP
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 设置 php 开发 环境 外文 翻译 绿皮书
