We start by downloading the script: Click to download the script. We get a zipped package with the directory files in it. We unzip it. In the folder resulting you'll see another folder called phpLD. Click on it to get inside to the actual files.
Now open the FTP program you use and get to the main directory of your site (or the directory you wish to install the script). As an example: on Links for Web Design I want the script to be in the main directory. I will upload the contents in the phpLD folder (the folders: admin, include, images etc. and the files: submit.php, main.php, index.php etc) to the main directory of the site. If I want it to be in another folder (as in the dojo.ro link directory case, I enter the main directory of the site, create a new folder for the directory (called links or directory or whatever you like) and then upload the files I mentioned before.
The following step is to CHMOD some of the files and folders. Change permissions to 777 to the following folders and files.
- config.php (it's in the include folder) - temp/ - temp/adodb - temp/cache - temp/templates
Before we proceed with the installation we need to add a database and a user for that database. Should you need help on this, please read the tutorial for this: How to create a database and an user in cPanel
Remember the settings for the database and user since you'll need them now when you go to the install page. Click on the address to the place your directory is now and you should have a installation page open:
Select the language (English in my case), hit NEXT.
You'll get a confirmation page that you have what the script needs and you have the right permissions to the files and folders. Hit NEXT.
Now enter the information for the database:
Database server (usualy localhost) Database name (the name you have for the database) Username (the username for the database) Password (the password for the database)
Hit NEXT.
Now we need to set up the administrator account. Fill in the following information:
Username: the name you'll use to log into the admin panel of the directory Name: can be similar to the username, or another if you like. Password: chose a password Confirm Password: same password as above Email: your email.
Hit NEXT.
Here is the message we get now:
Quote:
YOU MUST DELETE THE FOLLOWING FILE(S) BEFORE CONTINUING: /install/index.php YOU MUST DROP WRITING PERMISSIONS TO FOLLOWING FILE(S) BEFORE CONTINUING: /include/config.php
The installation was OK, but we need to delete the index.php file in the install folder and CHMOD the config.php file in the include folder to 644.