Home php教程 php手册 PHPnow轻松打造专业PHP服务器环境

PHPnow轻松打造专业PHP服务器环境

Jun 13, 2016 am 11:40 AM
php phpnow superior major Woolen cloth exist build take control build server environment computer Own my own virtual host easy

在自己的电脑上搭建虚拟主机呢? 完全由自己掌控着,而且要支持什么有什么,自己配置。

    搭建 PHP 其实不很难,只是有点繁琐。要是自己搭建一次 PHP + MySQL 环境很是费时。更糟的是,很多新手在配置 PHP 时常常出现这样那样的问题。诸如 mysql 扩展、zend 安装失败等等问题。这时,我们需要一个快速、标准且专业的 PHP 套件包。PHPnow 就这样应运而生,为你快速搭建专业的虚拟主机。

    PHPnow 的前身是 GApm。如果有人在找 GApm,那就把这个告诉他吧。那时 GApm 只是一个简单的调试环境包,现在的 PHPnow 可是很专业的 PHP 环境套件了。用起来非常简单,你可不要把 专业 跟 复杂 联系起来哦。

    先来简单介绍 PHPnow。PHPnow 是绿色免费的 Apache + PHP + MySQL 环境套件包。功能方面,PHPnow 拥有便捷的虚拟主机管理;虚拟主机代理,可与 IIS 共存;合理的插件支持 ASP、ASP.net、JSP,笔者认为纯 PHP 最稳定。其特点是全部使用 cmd + vbs 脚本,非常绿色,用得放心!国产软件,拥有了一定的用户群,能快速解决各种问题。这是比国外套件更优越的。

    与 PHPnow 的名字一样,让我们一起 PHPNow!

    首先从 http://www.phpnow.org/download.html 下载 PHPnow 的最新版。PHPnow 有两种封装,一是 exe 自解压版(推荐,本文针对此版),二是纯 7z 档案(没有 exe 自解压)。

    执行 PHPnow-1.3.x.exe 出现下图所示。回车即可。

图-1:解压对话框

    在自动解压完毕后,将自动执行 Init.cmd 进行初始化动作。如 图-2 示:
期间可能出现防火墙提示,请允许。

图-2:Init.cmd 过程

图-3:解除防火墙

Init.cmd 十秒钟即可完成。全部完成后,将自动打开默认页。(如果没有,试试手动打开 http://127.0.0.1


图-4:搭建成功

    如果你只想搭建一个网站,上面的环境已经足够。很都时候我们需要开设多个独立的网站。例如论坛和主页分开、和朋友共享服务器等等。这时就要用到 虚拟主机 了。

    下面说说 PHPnow 虚拟主机的使用。很简单。

    双击执行 D:PHPnowPnPnConf.cmd (可能你的安装路径不是 D:PHPnow),输入 2 后回车。按照提示输入新建虚拟主机信息。如 图-5 所示。

图-5:开设虚拟主机

    输入完信息回车后,将自动重启 Apache 以便生效。然后访问刚才添加的域名,注意事先解析好域名指向你的服务器 IP。

  • 共2页:
  • 上一页
  • 1
  • 2
  • 下一页
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to fine-tune deepseek locally How to fine-tune deepseek locally Feb 19, 2025 pm 05:21 PM

Local fine-tuning of DeepSeek class models faces the challenge of insufficient computing resources and expertise. To address these challenges, the following strategies can be adopted: Model quantization: convert model parameters into low-precision integers, reducing memory footprint. Use smaller models: Select a pretrained model with smaller parameters for easier local fine-tuning. Data selection and preprocessing: Select high-quality data and perform appropriate preprocessing to avoid poor data quality affecting model effectiveness. Batch training: For large data sets, load data in batches for training to avoid memory overflow. Acceleration with GPU: Use independent graphics cards to accelerate the training process and shorten the training time.

deepseek image generation tutorial deepseek image generation tutorial Feb 19, 2025 pm 04:15 PM

DeepSeek: A powerful AI image generation tool! DeepSeek itself is not an image generation tool, but its powerful core technology provides underlying support for many AI painting tools. Want to know how to use DeepSeek to generate images indirectly? Please continue reading! Generate images with DeepSeek-based AI tools: The following steps will guide you to use these tools: Launch the AI ​​Painting Tool: Search and open a DeepSeek-based AI Painting Tool (for example, search "Simple AI"). Select the drawing mode: select "AI Drawing" or similar function, and select the image type according to your needs, such as "Anime Avatar", "Landscape"

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Mar 05, 2025 pm 05:57 PM

Detailed explanation and installation guide for PiNetwork nodes This article will introduce the PiNetwork ecosystem in detail - Pi nodes, a key role in the PiNetwork ecosystem, and provide complete steps for installation and configuration. After the launch of the PiNetwork blockchain test network, Pi nodes have become an important part of many pioneers actively participating in the testing, preparing for the upcoming main network release. If you don’t know PiNetwork yet, please refer to what is Picoin? What is the price for listing? Pi usage, mining and security analysis. What is PiNetwork? The PiNetwork project started in 2019 and owns its exclusive cryptocurrency Pi Coin. The project aims to create a one that everyone can participate

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

How to ask deepseek How to ask deepseek Feb 19, 2025 pm 04:39 PM

The search accuracy of DeepSeek depends on the way of asking questions. To achieve ideal results, the question should contain the following key elements: Clear topic: Specific specified information objectives. Specific angles: Cut into the topic from a specific perspective. Expected output form: define the desired result type (summary, analysis, list, etc.).

How to download deepseek How to download deepseek Feb 19, 2025 pm 05:45 PM

Make sure to access official website downloads and carefully check the domain name and website design. After downloading, scan the file. Read the protocol during installation and avoid the system disk when installing. Test the function and contact customer service to solve the problem. Update the version regularly to ensure the security and stability of the software.

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

How to use deepseek How to use deepseek Feb 19, 2025 pm 04:45 PM

DeepSeek is an efficient data search and analysis tool with an indexing mechanism at its core. Factors that affect their efficiency include: data type, data size, search strategy, and DeepSeek performance. High-quality data, refined search queries and sufficient computing resources are essential to optimize search results.

See all articles