Installing PHP Under Xitami - What is Xitami?
(Page 2 of 4 )
Xitami is a small, fast, and powerful multiplatform Open Source web server which runs on all UNIX platforms, OS/2, OpenVMS, Windows 3.x, Windows 95, and Windows NT. Being Open Source many of its features have been added by users. Also, it is written in portable and easy-to-read ANSI C.
Installing Xitami Building Xitami Web Server:
To Build the Xitami Web Server you need to download Xitami source kit for your system, on Unix you shall need an ANSI C compiler; for Windows you need MSVC or Borland C, on OS/2 you need the free EMX tools. The best platform for installing Xitami is Linux as it is fast and stable, but in this tutorial we shall concentrate on installing Xitami under windows.
Using Xitami Web Server Install Package:
If you do not want to take the trouble of downloading the source file and building it you can download the Install Package from
http://www.xitami.com/download.htm depending upon the Operating system you have. I have used Production release 2.4d9 in this tutorial so I downloaded bw3224d9.exe, once the download is complete run bw3224d9.exe to start the installation.
Installation for Xitami is pretty easy and is self-explanatory, but make sure you read all the screens as you go through the installation.
When the setup prompts you to choose Admin Password enter your username and password (in this tutorial we shall use test as username and test as password).
Note: If you do not enter the username and password the browser-based administration shall be disabled.
Keep clicking next till your installation is completed, we shall assume that your installation was a smooth ride and you had no problem whatsoever in the whole process.
Testing Xitami Installation:
If you have not selected to run Xitami automatically after the installation during your installation process, you might have to run it manually to do this please click Start->Programs–>Internet Tools->Xitami Web Server–>Windows. Please note a little green Icon in your system tray, which shall tell you that Xitami is running now, double click that icon to open the Xitami Web Server Properties which shall tell you the host name and other information.
Open your favorite browser, in the Address area type the hostname from the Xitami Web Server Properties to see if Xitami is working fine. Let me show you a sample output on my machine.
Note: You can also use http://localhost/ or http://127.0.0.1/ in the browser Address.
If you see the Welcome to Xitami screen on your browser, eureka we have done it. Also notice the Xitami Web Server Icon in the system tray turning yellow to indicate web server was serving file(s) which shall turn green again the moment web server is idle.
Also notice that the Xitami Web Server Properties window shall also show you the IP address, connections, KB transferred and some more information.
Go fetch yourself lemonade and pat yourself on your back we have done it.
Uninstalling Xitami You can uninstall Xitami by selecting the 'Add/Remove Programs' option in the control panel. Xitami maintains various items in the Windows registry, which uninstall script shall remove.
Note: You can suspend and start your web server from the Xitami Web Server Properties Window.
Configuring Xitami Most of the time Xitami will run straight out of the box with no configuration, but a few of the advanced users may want to configure with respect to security, CGI, logging, etc.
The entire configuration for Xitami is stored in the file xitami.cfg, which will be present in the folder where Xitami is installed.
Web-Based Administration (WBA) Interface To go to the WBA please enter http://localhost/admin in the URL in the browser, you will have to enter the username and password you entered when you installed the Xitami Web Server. Once you enter the valid username and password you shall be provided with the administrator options.
Next: Installing PHP >>
More PHP Articles
More By Jayesh Jain