Download the exe file. Install it in D, E or other drives. Application folder should not be in C drive which has the Operating System. This is because, you will place your web codings inside the application folder.
Some php codings like file create,write,delete functions may not be working properly in C Drive or windows folder due to file permissions.
Open the Yaabitech Server Application after installing it. Minimize it. That's all. Server is started.
Open the installed folder. Generally named "Yaabitech Server". You can find a folder named "Secure" inside the "Yaabitech Server" folder. This is the root folder for your website. Just place your website codings inside this folder.
Create an index.php inside the Secure folder. Open your browser and type localhost. The page will show the output of index.php
You can access the local web page from multiple devices simultaneously.
Find your local IP address while connecting your computer in any network such as WiFi, hotspot, LAN, etc. The devices must be connected in same network.
Example: Create hotspot in your mobile and connect the computer to it. Now they are in the same network.
Enter your local IP address in the browser of your mobile or another computer. Now the web page will be opened there also.
Local IP address can be viewed while you start the application at first time. We provided it in the index.php file in default. If you change the folder or files, just rename this file for your future purpose.
Another way to find the local ip address is: Open CMD prompt in your computer. Type ipconfig/all and enter.
Or leave the secure folder as it is. For your work, create another folder as given below.
Open the application folder "Yaabitech Server"
open settings.json in notepad or notepad++
Locate "www_directory" under "web_server" section in the json coding.
Change the folder name there (Any name for your project). And create a folder with that name inside the application folder (i.e. inside Yaabitech Server)
Now re-launch the application. The new folder will be run.
Like this, you can create any number of new project folders in the application.
If you have any other server programs in your computer like wamp, xamp, etc. they may use port 80 in default. So you have to use any other port number in Yaabitech Server application.
To change the port number : Open "settings.json" and go to the "listen-on" under the "web_server" section
Change the number 80 to 8081, 8082, 8083 or any port number as you wish.
Port numbers range from 0 to 65535, but only port numbers 0 to 1023 are reserved for privileged services and designated as well-known ports.
49152 through 65535 are dynamic ports and can be used for your personal use. So give any value between 50000 to 65000
To open the web page in browser, add this port number with the word localhost. Example: localhost:8081 or localhost:55000
To open the web page in other devices, use your local ip address with port number. Example: 192.168.0.120:8081 or 192.168.1.198:55000