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:



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.


infinityfree_net web hosting

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


signup for free web hosting account

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.


enter email and password to signup

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


confirmation email sent

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


verify your web host registration

6. You just created your free web hosting account.


successfully created web host account

Creating a free domain or subdomain in our Web Hosting Account


1. Inside your account, click the +Create Account button.


create new domain

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.


naming domain

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.


domain password

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.


successfully created new domain

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.


domain registration pending

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.


domain registration active

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.


opening file manager

2. Inside, open your htdocs folder.


opening htdocs or public_html folder

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


delete default files inside htdocs

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


upload options htdocs folder

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


browse cms file installer to upload

6. Wait for the uploading to finish.


uploading cms installer file to htdocs

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


successfully uploaded cms file to htdocs

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


upload file option htdocs

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


uploading unzipper.php file htdocs

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


successfully uploaded unzipper.php to htdocs

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.


accessing web hosting account

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


getting your domain 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.


accessing unzipper.php

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


extracting cms zip file using unzipper.php

5. Wait for the extraction to finish.


successfully extracted cms zip file

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


refreshing htdocs_folder

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.


cms files are now extreacted inside htdocs

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.


accessing web host account database manager

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


accepting web hosting terms

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


accessing web hosting mysql database

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


creating new database

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.


successfully created database accessing phpmyadmin

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


creating new table inside phpmyadmin

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


naming database structure

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


setting database table collation

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


setting database table collation to utf8_unicode_ci

10. Save your database.


saving database

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


accessing database operation

12. Then click Operation.


modifying database table collation via 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.


default database table collation

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


changing database table collation to utf8_unicode_ci

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


verifying if database table collation is changed

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


successfully modified database table collation to utf8_uncode_ci

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.


editing phpwiki config.ini file

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.


firing phpwiki installation manually in web host

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.


loading up virgin wiki create link

3. Done! You just instantly installed and created a website using PhpWiki.


successfully created phpwiki website

Accessing PhpWiki website homepage


1. Below is an example of your PhpWiki default homepage.


sample phpwiki website 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.


login panel phpwiki website

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.


login page for phpwiki admin user

3. Below is an example of PhpWiki website administration account page.


sample administration page for phpwiki website

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).


phpwiki website theme default fast to load

2. THEME = Sidebar (slow to load).


phpwiki website theme sidebar slow to load

3. THEME = MacOSX (fast to load).


phpwiki website theme macosx fast to load

4. THEME = smaller (fast to load).


phpwiki website theme smaller fast to load

5. THEME = MonoBook (slow to load).


phpwiki website theme monobook slow to load

6. THEME = Wordpress (fast to load).


phpwiki website theme wordpress fast to load

7. THEME = Portland (fast to load).


phpwiki website theme portland fast to load

8. THEME = Crao (fast to load).


phpwiki website theme crao fast to load

9. THEME = wikilens (fast to load).


phpwiki website theme wikilens fast to load

10. THEME = blog (fast to load).


phpwiki website theme blog fast to load

11. THEME = shamino_com (fast to load).


phpwiki website theme shamino_com fast to load

12. THEME = SpaceWiki (fast to load).


phpwiki website theme spacewiki fast to load

13. THEME = Hawaiian (fast to load).


phpwiki website 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!

Most Read Tutorials:

Powered by Blogger.