How to install PhpWiki in web hosting
For this post, we are going to install PhpWiki in a free web hosting. If you wanna try PhpWiki locally using XAMPP, follow the tutorial here. Without further ado, let's start.
First, you need to download the required files below. These files are the PhpWiki zip file and the unzipper.php file. I already provided the download link for your convenience.
Requirements:
- phpwiki-1.6.1, [download here]
- unzipper.php [download here]
After downloading the files, continue doing the tutorials below.
Table of Contents
- Registering for a Free Web Hosting Account with Cpanel
- Creating a free domain or subdomain in our Web Hosting Account
- Uploading PhpWiki and unzipper.php files using Web Host File Manager
- Extracting the PhpWiki zip file using unzipper.php
- Creating needed database needed for PhpWiki installation
- Editing config.ini file needed for PhpWiki installation
- config.ini file important line of codes
- Installation of PhpWiki manually
- Accessing PhpWiki website homepage
- Accessing PhpWiki website admin account
- Sample PhpWiki Themes
Here are the steps on how to install PhpWiki manually in a web hosting account free
Registering for a Free Web Hosting Account with Cpanel
1. Go to infinityfree.net website.

2. Inside, click "Sign Up Now" button.

3. Under "Sign up for a free account" do the following: Email address - enter a valid email. Password - your desired account password (do not forget it). Check the "I've read and agree...". When done, press "Create New Profile" button to proceed.

4. Infinityfree will send a verification email in your email address.

5. Open your email account and find the verification mail. Just click the verification button or link to proceed.

6. You just created your free web hosting account.

Creating a free domain or subdomain in our Web Hosting Account
1. Inside your account, click the +Create Account button.

2. Under "Choose a Domain Name" do the following: Domain Type - Subdomain. Subdomain - name your subdomain. Domain Extension - select an extension. When done, press Check Availability button to proceed.

3. Under "Enter Additional Information", just enter a Password or you can leave it blank for your account. When done press Create Account to continue.

4. You just created a free subdomain. We will be using this subdomain to install our PhpWiki website later. For now, press Finish to continue.

5. You are now inside your Manage account page. As of now, your account is still in "Pending Creation" status. Just wait for 2 to 5 minutes before it becomes active.

6. Assuming that your subdomain account account is already active, you will see that the status is now "Active". You will also see there your File Manager and Control Panel buttons. The password is the one that you will going to use later for your Database config.

Uploading PhpWiki and unzipper.php files using Web Host File Manager
1. We are now going to upload our PhpWiki zip file into our web host using our File Manager. Click your File Manager button.

2. Inside, open your htdocs folder.

3. Inside htdocs, delete the 2 files that you will see there. To delete, just right-click the file and then press Delete.

4. After deletion, click the Upload button, and then press Upload Zip.

5. Browse for the phpwiki-1.6.1.zip file that you downloaded earlier and press Just Upload.

6. Wait for the uploading to finish.

7. When done, you should see the PhpWiki zip file inside your htdocs folder now.

8. Again, click Upload and then press Upload file.

9. Browse for the unzipper.php file that you also download and wait for it to finish uploading.

10. When done, you should see both your phpwiki and unzipper files inside your htdocs folder.

Extracting the PhpWiki zip file using unzipper.php
1. We are now going to extract our PhpWiki zip file using the unzipper. Go to Accounts.

2. Under "Your Accounts" you will see there your subdomain link. Copy that link.

3. Paste the link in your web browser address bar and after it, add /unzipper.php and press ENTER to fire up the Archive Unzipper.

4. Inside Archive Unzipper, make sure the phpwiki-1.6.1.zip file is selected. Then, click Unzip Archive to proceed.

5. Wait for the extraction to finish.

6. When done, go back inside your htdocs folder and press Refresh button.

7. You will see a new folder inside with the name phpwiki-1.6.1. Just rename it as "phpwiki". To rename, just right-click the folder and press Rename.

Creating needed database needed for PhpWiki installation
1. We are now going to create a database for our PhpWiki installation. To start, go back inside your Manage account and click Control Panel.

2. In the next page, just press I Approve (if the page appears, if not proceed to STEP 3).

3. Inside Control Panel, find the Databases section and press MySQL Databases.

4. In the "Create New Database" name your database as "phpwiki" and press Create Database to proceed.

5. Under "Current Databases", you will see there your newly created empty database. Remember all the details here because we will be needing all of them later during the installation. For now, click the Admin button to proceed.

6. Inside phpMyAdmin, name your table as "phpwiki_table" and set 4 as column value. Press Go to proceed.

7. For table field or structure, name it as phpwiki and set INT as the Type.

8. For table Collation, set it to utf8_unicode_ci and leave all the other fields untouched.

9. For Collation near Table comments, set it to utf8_unicode_ci.

10. Save your database.

11.Now, click the "Database: epiz_xxxxxxxx_phpwiki" (See image below).

12. Then click Operation.

13. Find Collation. If it already set to utf8_unicode_ci, then you can skip the remaining steps and proceed to the next tutorial below. If not and it is set to latin1_swedish_ci, then proceed to the next step.

14. Change Collation to utf8_unicode_ci and press Go. After pressing Go, it looks like that nothing happened but, it is okay.

15. Now, press "Database: epiz_xxxxxxxx_phpwiki" again to proceed.

16. Done, the collation type is now correct. You can now close the phpMyAdmin.

Editing config.ini file needed for PhpWiki installation
1. We are now going to edit the config.ini file inside our PhpWiki folder in the htdocs directory. To edit, just right-click config.ini file and press Edit. Proceed to the next tutorial below to continue.

config.ini file important line of codes
1. Below are the line of codes inside your config.ini file that you will need to edit before you can start the PhpWiki installation.
- WIKI_NAME = "name of your wiki"
- ADMIN_USER = "admin"
- ADMIN_PASSWD = "youradminpassword"
- DATABASE_DSN = "mysql://epiz_33178440:eM4xaakcBLvG@sql309.epizy.com/epiz_33178440_phpwiki"
- THEME = Wordpress
- DEFAULT_LANGUAGE = en
2. Note: For DATABSE_DSN, all the needed info to change that mysql link is found inside your MySQL Databases page.
- epiz_33178440 - this is your MySQL username
- eM4xaakcBLvG - this is your password (located inside your Manage account page)
- sql309.epizy.com - this is your server or host
- epiz_33178440_phpwiki - this is the name of your database
Installation of PhpWiki manually
1. We are now ready to install our PhpWiki website. To start, copy your domain link again and paste it in your address bar, then add /phpwiki next to it. Press ENTER to fire up the installation.

2. In the "Loading up virgin wiki..", below it you will see a "This page does not exist." Press the Create it link to proceed.
3. Done! You just instantly installed and created a website using PhpWiki.
Accessing PhpWiki website homepage
1. Below is an example of your PhpWiki default homepage.
Accessing PhpWiki website admin account
1. To login your admin account, just type admin under "Sign in as." It is located at the right-side of your homepage.
2. You will be automatically redirected into Sign In page with an error message. Just ignore it and type your admin password. If you did not changed the admin password inside your config.ini file, then, your password is "youradminpassword". Press Sign in to proceed.
3. Below is an example of PhpWiki website administration account page.
Sample PhpWiki Themes
Below are example of Themes that you can choose to apply for your PhpWiki website. The default theme that I selected during the installation is the Wordpress theme. To enable any of theme below, you just need to edit (again) your config.ini file. You will see there the line of code THEME = Wordpress. To disable it, just add a semicolon before it like this one, ;THEME = Wordpress. To enable a theme, that you might like, just remove the semicolon before it.
1. THEME = default (fast to load).

2. THEME = Sidebar (slow to load).

3. THEME = MacOSX (fast to load).

4. THEME = smaller (fast to load).

5. THEME = MonoBook (slow to load).

6. THEME = Wordpress (fast to load).

7. THEME = Portland (fast to load).

8. THEME = Crao (fast to load).

9. THEME = wikilens (fast to load).

10. THEME = blog (fast to load).

11. THEME = shamino_com (fast to load).

12. THEME = SpaceWiki (fast to load).

13. THEME = Hawaiian (fast to load).

Thank you for reading this post guys. If you have a question, just leave a comment below. Cheers!
No comments:
123how.xyz only wants on-topic comment. Do not include any link, else your comment won't be published. Thanks!