search
HomeBackend DevelopmentPHP TutorialWINDOWS+PHP+Omni+MYSQL installation tutorial_PHP tutorial

Installation tutorial for WINDOWS+PHP+Omni+MYSQL

PHP can run cross-platform, which means you can develop on Windows and then run on Unix/Linux platform. How to easily and quickly install and use PHP under WINDOWS is what beginners yearn for, because some of us are still accustomed to using WINDOWS and the WINDOWS development environment, and are not proficient in using Linux/Unix. If you are using WINDOWS9X, I suggest you give it a try.

First let us take a look at the environment required to learn PHP:
1. WINDOWS
2. You need a server software OmniHTTPD
3. Requires PHP (built-in in OmniHTTPD)

I have seen many installation tutorials on WINDOWS, but they are not very simple. What server software should I choose? Use PWS, you have to change the registry, and the effect is not satisfactory. Use APACHE. The configuration of APACHE is so cumbersome. Some netizens say that WIN98+APACHE+PHP is too bad.

I can tell you the easiest way to install PHP on WINDOWS, which is to choose a server software: OmniHTTPd (Professional Version 2.07). This software can make you feel how easy it is to install PHP, because it has built-in PHP version 4.0.1pl2 (includes MySQL). You don't need to download PHP at all. You can run PHP programs as long as you install it. Is OmniHTTPd easy to install? The answer is yes, it is no different from installing other WINDOWS programs. Follow the prompts and choose to agree. Next, click the button of the first category to complete the installation. You can run it without setting anything.

Now you can go to http://www.bKjia.c0m to download the latest version of OmniHTTPd
Start the installation after downloading. If you have other server software on your machine and want to use OmniHTTPd
, before installation, you must turn off the server software (such as APACHE, PWS). If not, just install it directly. The other installation steps are no different from other software installations under WINDOWS. During the installation process, you will be asked whether to start OmniHTTPd when the system starts. If you have installed other server software, it is best to select No. Whenever you want to use PHP, turn it off first, and then start OmniHTTPd. If you want to use ASP, turn off OmniHTTPd and start PWS.
After the installation is complete, check if there is a new icon in the taskbar tray. If not, Omni is not open. Open Omni and you can run the PHP program. It is that simple! Open your browser and enter http://127.0.0.1 in the address bar. Do you see it?

OmniHTTPD is installed in c:httpd. A PHP folder is generated under c:httpd, and PHP is installed there. There is HtDocs under c:httpd which is the root directory of the WEB. You can put the program you want to debug below it, and then enter in the address bar of the browser such as php tutorial">http://127.0.0.1/yourprogram.php
That's it.
The installation is now complete and you can debug your PHP program in this environment.


In order to make OmniHTTPd work better, let us briefly understand the following OmniHTTPd. Double-click the OmniHTTPd icon in the taskbar tray to display its working window, where
Bytes Received: is the number of bytes received,
Bytes sent: is the number of bytes sent,
Total Requests: is the number of visits.
The following information is the visitor's information, including the visitor's IP, the name of the server visited, time, request content and the visitor's operating system and browser type.

Click Admin with the mouse below, there are Pause Server (pause service), Flush Server (refresh service), Shutdown Server (close service) and Properties (properties), select Properties

Select Web Server Global Settings...
Network: You can set the http port, the system default is 80, and you can also set Network timeout and other options. If your program times out, you can set a longer time here;
System: In the options, you can set the maximum number of connections and the priority of the server;
Logging: Access/Error/Trace log status can be set;
MIME: You can set the MIME type that the server can recognize;
Icons: You can set icons for different file types, and you can distinguish different types of files while browsing the directory;
Dynamic IP: It’s about dynamic IP;
Advanced: It is an advanced setting that can set some things about built-in extended script support and SSI.

Go back to the Configuration interface and select Default virtual Settings...
In SERVER
ServerIP: your IP or 127.0.0.1
ServerName: Server name, use LOCALHOST
Server Root: Set the root directory of the server. You can set it to your favorite directory.
Default Index: It is the default Index file, that is, you can add more than one, separated by ",".
Admin E-mail: Change it to your EMAIL, nothing else needs to be changed.
Next, select the Indexing option and uncheck Allow Directory Browsing to prevent others from accessing files in the browsing directory. If you don't care about this, just check it, sometimes it can make debugging easier.

Select External:
Fill in .php3 in Virtual: Fill in c:httpdphpphp.exe in Actual, which means use c:httpdphp.exe to interpret files with .php3 extension. Repeat this step to set each PHP extension link you need.
Note that there are already .php/.cgi/.asp tutorial/.pl and so on.

Select the Alias ​​option to set up the virtual directory:
Virtual: is the name of the virtual directory,
Actual: is the actual position.
In Virtual:/homepage Actual is set to: d:homepage, click Add.
Indicates visit my
http://www.bKjia.c0m/homepage
Just access my d:homepage directory.

Omni httpd also has many good features, such as supporting WINDOWS CGI, ISAPI EXTENSION, and more, you can check out the offline or online documentation of Omni httpd.
[End]
If there is anything wrong, please correct me.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632853.htmlTechArticleWINDOWS+PHP+Omni+MYSQL installation tutorial PHP can run cross-platform, which means you can run on Windows Develop and then run on Unix/Linux platforms. How to easily and quickly use WI...
Statement
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
win11安装语言包错误0x800f0950什么原因win11安装语言包错误0x800f0950什么原因Jul 01, 2023 pm 11:29 PM

win11安装语言包错误0x800f0950什么原因?当我们在给windows11系统安装新语言包时,有时会遇到系统提示错误代码:0x800f0950,导致语言包安装流程无法继续进行下去。导致这个错误代码一般是什么原因,又要怎么解决呢?今天小编就来给大家说明一下win11安装语言包错误0x800f0950的具体解决步骤,有需要的用户们赶紧来看一下吧。win11电脑错误代码0x800f0950解决技巧1、首先按下快捷键“Win+R”打开运行,然后输入:Regedit打开注册表。2、在搜索框中输入“

如何在 Google Docs 中安装自定义字体如何在 Google Docs 中安装自定义字体Apr 26, 2023 pm 01:40 PM

GoogleDocs在学校和工作环境中变得很流行,因为它提供了文字处理器所期望的所有功能。使用Google文档,您可以创建文档、简历和项目提案,还可以与世界各地的其他用户同时工作。您可能会注意到GoogleDocs不包括MicrosoftWord附带的所有功能,但它提供了自定义文档的能力。使用正确的字体可以改变文档的外观并使其具有吸引力。GoogleDocs提供了大量字体,您可以根据自己的喜好从中选择任何人。如果您希望将自定义字体添加到Google文档,请继续阅读本文。在本文中

如何在技嘉主板上设置键盘启动功能 (技嘉主板启用键盘开机方式)如何在技嘉主板上设置键盘启动功能 (技嘉主板启用键盘开机方式)Dec 31, 2023 pm 05:15 PM

技嘉的主板怎么设置键盘开机首先,要支持键盘开机,一定是PS2键盘!!设置步骤如下:第一步:开机按Del或者F2进入bios,到bios的Advanced(高级)模式普通主板默认进入主板的EZ(简易)模式,需要按F7切换到高级模式,ROG系列主板默认进入bios的高级模式(我们用简体中文来示范)第二步:选择到——【高级】——【高级电源管理(APM)】第三步:找到选项【由PS2键盘唤醒】第四步:这个选项默认是Disabled(关闭)的,下拉之后可以看到三种不同的设置选择,分别是按【空格键】开机、按组

适用于 Windows 11 的记事本++:如何下载和安装它适用于 Windows 11 的记事本++:如何下载和安装它Jul 06, 2023 pm 10:41 PM

Notepad++主要由开发人员用于编辑源代码,由临时用户用于编辑文本。但是,如果您刚刚升级到Windows11,则在您的系统上下载和安装该应用程序可能具有挑战性。因此,我们将讨论在Windows11上下载和安装记事本++。此外,您可以轻松阅读我们关于修复Notepad++在Windows上没有响应的详细指南。记事本++可以在Windows11上运行吗?是的,记事本++可以在Windows11上有效工作,而不会出现兼容性问题。更具体地说,没有臃肿的选项或错误,只需在一个非常小的编辑器中即可。此外

CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

Steam 未检测到 Windows 11/10 中已安装的游戏,如何修复Steam 未检测到 Windows 11/10 中已安装的游戏,如何修复Jun 27, 2023 pm 11:47 PM

Steam客户端无法识别您计算机上的任何游戏吗?当您从计算机上卸载Steam客户端时,会发生这种情况。但是,当您重新安装Steam应用程序时,它会自动识别已安装文件夹中的游戏。但是,别担心。不,您不必重新下载计算机上的所有游戏。有一些基本和一些高级解决方案可用。修复1–尝试在同一位置安装游戏这是解决这个问题的最简单方法。只需打开Steam应用程序并尝试在同一位置安装游戏即可。步骤1–在您的系统上打开Steam客户端。步骤2–直接进入“库”以查找您拥有的所有游戏。第3步–选择游戏。它将列在“未分类

主板上的数字音频输出接口-SPDIF OUT主板上的数字音频输出接口-SPDIF OUTJan 14, 2024 pm 04:42 PM

主板上SPDIFOUT连接线序最近我遇到了一个问题,就是关于电线的接线顺序。我上网查了一下,有些资料说1、2、4对应的是out、+5V、接地;而另一些资料则说1、2、4对应的是out、接地、+5V。最好的办法是查看你的主板说明书,如果找不到说明书,你可以使用万用表进行测量。首先找到接地,然后就可以确定其他的接线顺序了。主板vdg怎么接线连接主板的VDG接线时,您需要将VGA连接线的一端插入显示器的VGA接口,另一端插入电脑的显卡VGA接口。请注意,不要将其插入主板的VGA接口。完成连接后,您可以

广联达软件电脑配置推荐;广联达软件对电脑的配置要求广联达软件电脑配置推荐;广联达软件对电脑的配置要求Jan 01, 2024 pm 12:52 PM

广联达软件是一家专注于建筑信息化领域的软件公司,其产品被广泛应用于建筑设计、施工、运营等各个环节。由于广联达软件功能复杂、数据量大,对电脑的配置要求较高。本文将从多个方面详细阐述广联达软件的电脑配置推荐,以帮助读者选择适合的电脑配置处理器广联达软件在进行建筑设计、模拟等操作时,需要进行大量的数据计算和处理,因此对处理器的要求较高。推荐选择多核心、高主频的处理器,如英特尔i7系列或AMDRyzen系列。这些处理器具有较强的计算能力和多线程处理能力,能够更好地满足广联达软件的需求。内存内存是影响计算

See all articles

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 agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version