For this post, we are going to install PmWiki in a web hosting for free. I also have a tutorial on how to install PmWiki locally using XAMPP here.


Now, to be able to install PmWiki online, we need a domain or just a subdomain. But don't worry, to be able to have one, the tutorial is already below. You just need to follow it. But first, download the PmWiki zip file and unzipper.php file below. These are the required files for the installation of our website. I also provided the download links already.


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 PmWiki and unzipper.php files using Web Host File Manager
  • Extracting the PmWiki zip file using unzipper.php
  • Installation of PmWiki manually
  • Accessing PmWiki website homepage
  • Accessing PmWiki website admin account
  • Editing PmWiki config.php file to change admin password, logo, site title


Here are the steps on how to install PmWiki 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".


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). Confirm your password and check the "I've read and agree...". When done, click the Create New Profile to proceed.


enter email and password to signup

4. Verify your registration.


confirmation email sent

5. Open your email account. Find the email from infinityfree and click the verification button or link.


verify your web host registration

6. You have successfully created a free web hosting account.


successfully created web host account

Creating a free domain or subdomain in our Web Hosting Account


1. We are now going to create a free domain (subdomain) inside our web hosting account. Click +Create Account.


create new domain

2. Under "Choose a Domain Name" do the following: Domain Type - Subdomain. Subdomain - name your subdomain. Domain Extension - select your desired 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. When done, press Create Account to continue.


domain password

4. Under "Account Created" just press Finish.


successfully created new domain

5. Your account is now under "Pending Creation". Wait for 2 to 5 minutes and it will be automatically activated.


domain registration pending

6. After a couple of minutes, just refresh or reload your page and see the status. If it is already "Active", then your account is now ready for the next step.


domain registration active

Uploading PmWiki and unzipper.php files using Web Host File Manager


1. We are now uploading the PmWiki zip file using File Manager. Click your File Manager.


opening file manager

2. Inside, open htdocs folder.


opening htdocs or public_html folder

3. Inside htdocs, delete the 2 files that you will see there.


delete default files inside htdocs

4. After deletion, click the Upload icon and press Upload Zip.


upload options htdocs folder

5. Browse for the pmwiki-2.3.15.zip file and press Just Upload to proceed.


browse cms file installer to upload

6. Wait for the upload to finish.


uploading cms installer file to htdocs

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


successfully uploaded cms file to htdocs

8. Click Upload again and then select Upload File.


upload file option htdocs

9. Browse for the unzipper.php file that you also downloaded earlier and wait for the upload to finish.


uploading unzipper.php file htdocs

10. When done, the PmWiki zip file and unzipper.php file should be now inside your htdocs folder.


successfully uploaded unzipper.php to htdocs

Extracting the PmWiki zip file using unzipper.php


1. We are going to extract or unzip the PmWiki zip file using unzipper.php. Click Accounts.


accessing web hosting account

2. Under "Your Accounts", you will see there your (sub) domain URL or link. Copy that link.


getting your domain link

3. Paste your link in your address bar and add /unzipper.php next to it (see image below). When done, press ENTER to fire up the Archive Unzipper.


accessing unzipper.php

2. Inside Archive Unzipper, select your pmwiki zip file and type "pmwiki" in the "Extraction path". When done, press Unzip Archive to start the extraction.


extracting cms zip file using unzipper.php

3. Your pmwiki zip file is now extracted.


successfully extracted cms zip file

4. Back to your htdocs folder, click Refresh.


refreshing htdocs_folder

5. You should see your "pmwiki" folder there now.


cms files are now extreacted inside htdocs

Installation of PmWiki manually


1. Copy your subdomain link again and paste it in your address bar and add /pmwiki/pmwiki.php next to it. When done, press ENTER to fire up the PmWiki installation page.


firing up pmwiki installation

2. Done! You just instantly created your PmWiki website. Take note: I already edited the config.php file for the this tutorial. You will need to edit it manually later to change your Wiki Title, and admin password as well as your Wiki logo. The tutorial is also found below.


successfully installed pmwiki website

Accessing PmWiki website homepage


1. To access your PmWiki website homepage, just go to your-link/pmwiki/pmwiki.php. Below is an example of PmWiki default homepage.


sample pmwiki default homepage

2. Below is an example of PmWiki homepage that I already edited. It has its own logo and homepage post.


sample pmwiki edited homepage

Accessing PmWiki website admin account


1. To access your PmWiki website admin login page, just go to your-link/pmwiki/pmwiki.php?n=SiteAdmin.SiteAdmin. Below is an example of your admin login page.


pmwiki website admin login page

2. Enter your admin account password. The password for now is adminpasswordhere. When done, press OK to proceed.


login pmwiki admin account password

3. Below is an example of your PmWiki website administration account page.


sample pmwiki website administration account page

Editing PmWiki config.php file to change admin password, logo, site title


1. To change your PmWiki logo, admin password and site title, you need to edit your config.php file. Go to htdocs > pmwiki > local > find and edit config.php file.


editing pmwiki config.php file

Important Line of Codes


  • $WikiTitle = "YOUR WIKI TILE IS HERE";
  • $PageLogoUrl = "URL OF YOUR OWN LOGO";
  • $DefaultPasswords['admin'] = pmcrypt('youradminpassword');
  • $EnableUpload = 1;
  • $DefaultPasswords['upload'] = pmcrypt('youradminpassword');

Thank you for reading this post guys. If you have a question, just leave a comment below. Cheers!