PHP学习之路(二)让我们开始环境搭建(Windows篇)
在上篇中,我详述了在Windows下配置Zend开发工具的详细过程,但是没有一个开发环境,你再牛B的工具自然也跑不起来,比如没有了.NET Framework,你跑个Visual Studio试试,所以搭建开发环境也是学习程序开发一个必不可少的环节。 就象C# + SQLServer,Tomcat
在上篇中,我详述了在Windows下配置Zend开发工具的详细过程,但是没有一个开发环境,你再牛B的工具自然也跑不起来,比如没有了.NET Framework,你跑个Visual Studio试试,所以搭建开发环境也是学习程序开发一个必不可少的环节。
就象C# + SQLServer,Tomcat + Java + Oracle等所谓的黄金组合一样,开发PHP项目也有自己的一套,那就是所谓的Apache + PHP + MySQL。
所以对于环境的搭建,我们需要同时安装这三样东西,理论上可以选择分别下载每个程序的安装包,然后分别安装配置,但未免显得有些复杂,有很多牛就对开发工具进行了整合,形成了所谓的集成安装包,这样只用一次安装即可完成环境搭建,省去了很多诸如“启动Apache”,“配置环境变量”,“安装phpmyadmin”的环节,这里我就分享一下自己找到的几个不错的集成安装包。
1、XAMPP
XAMPP(Apache+MySQL+PHP+PERL)是一个功能强大的建 XAMPP 软件站集成软件包。这个软件包原来的名字是LAMPP,但是为了避免误解,最新的几个版本就改名为 XAMPP 了。它可以在Windows、Linux、Solaris下安装使用,支持多语言:英文、简体中文、繁体中文、韩文、俄文、日文等。
详情:http://baike.baidu.com/view/864591.htm
2、AppServ
AppServ 是 PHP 网页架站工具组合包,作者将一些网络上免费的架站资源重新包装成单一的安装程序,以方便初学者快速完成架站,AppServ 所包含的软件有:Apache、Apache Monitor、PHP、MySQL、phpMyAdmin等。为帮助大家能够迅速的在本地试用EcShop软件,我们编写如下文档。如果您的本地机器没有安装过php、mysql等系统,那么用这个软件则可以让你迅速搭建完整的底层环境,从而实现对EcShop的快速试用。
这个其实是在北风网李炎恢的PHP视频(偶比较喜欢,另外友情宣传一下:个人感觉比较适合有一定编程基础和急性子人看,因为李哥的操作和讲话都灰常快)中看到的,他当时使用的就是这个开发环境,比较方便。
3、PHPnow
PHPnow 是 Win32 下绿色免费的 Apache + PHP + MySQL 环境套件包,运行Setup.cmd,根据提示即可安装完成环境搭建,安装完成后目录下会生成一个PnCp.cmd文件,可快速配置套件,使用非常方便,见下图:
综合各种集成工具包的详细情况,偶最终选择PHPnow完成了环境搭建,运行效果如下:
作者:Rocky翔
出处:http://www.cnblogs.com/RockyMyx/

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

The core benefits of PHP include ease of learning, strong web development support, rich libraries and frameworks, high performance and scalability, cross-platform compatibility, and cost-effectiveness. 1) Easy to learn and use, suitable for beginners; 2) Good integration with web servers and supports multiple databases; 3) Have powerful frameworks such as Laravel; 4) High performance can be achieved through optimization; 5) Support multiple operating systems; 6) Open source to reduce development costs.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

PHP is a server-side scripting language used for dynamic web development and server-side applications. 1.PHP is an interpreted language that does not require compilation and is suitable for rapid development. 2. PHP code is embedded in HTML, making it easy to develop web pages. 3. PHP processes server-side logic, generates HTML output, and supports user interaction and data processing. 4. PHP can interact with the database, process form submission, and execute server-side tasks.

PHP has shaped the network over the past few decades and will continue to play an important role in web development. 1) PHP originated in 1994 and has become the first choice for developers due to its ease of use and seamless integration with MySQL. 2) Its core functions include generating dynamic content and integrating with the database, allowing the website to be updated in real time and displayed in personalized manner. 3) The wide application and ecosystem of PHP have driven its long-term impact, but it also faces version updates and security challenges. 4) Performance improvements in recent years, such as the release of PHP7, enable it to compete with modern languages. 5) In the future, PHP needs to deal with new challenges such as containerization and microservices, but its flexibility and active community make it adaptable.

PHP is suitable for web development and content management systems, and Python is suitable for data science, machine learning and automation scripts. 1.PHP performs well in building fast and scalable websites and applications and is commonly used in CMS such as WordPress. 2. Python has performed outstandingly in the fields of data science and machine learning, with rich libraries such as NumPy and TensorFlow.

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip
