Directory LogoWelcome to our link directory. Please explore our categories or use the search box if you're looking for anything in particular. If you're a site owner please submit your site or submit articles to the appropriate category.

How to install phpLD

Date Added: Oct 18, 2007

This HOW-TO covers the process of installing PHPLD in a few simple steps. Any questions or feedback can be sent to admin@directory-king.com

This guide assumes that you will be installing to a top level domain, have a hosting account and will be based on installing the current version (3.2.0).

1. First download and extract PHPLD from their website. Open the phpLD folder and read the install file, a copy of the text is shown below. It will give you the information that you need to complete the installation.
2. Open up your FTP Client and upload all the files in the phpLD file to the root directory of the domain that you are installing to.
3. Next change the permissions on the  files and folder listed to 777

- include/config.php
 (In ver 3.2.0 it will be - include/config.php.new change the name by removing .new)
- temp/
- temp/adodb    
- temp/cache
- temp/templates

 

 

4. Next create a MySQL database to associate to your directory:
  Log into your host Cpanel and create a new database.


 

5. Add a user to the database.


 

6. Give the user all privileges.


7. Now open up your browser and go to http://www.your-domain.com/install/ .

The first screen you see will look like this:

 

8. Pick your language and hit next.

 

9. If you have checks as shown hit next.

 

 
10. Insert your db server name, database name, username and password and hit next.

 

11. Check all three and hit next.

 

12. Fill in a username, administrator name, password and email address and hit next.

 

13. Click on redirect to your directory page and hit Complete Installation.

 


That’s it, now go to http://www.your-domain.com/admin and you can start to set up your new directory!

hlq

 

 

 


How to install PHP Link Directory
The following is the install.txt from version 3.2.0.

****** BASIC INSTALLATION ******

1. Upload the files in the archive to your host.


2.Change permissions on the following file and four folders to 777 
  (755 if your host is hostgator or hostdime)


- include/config.php     
- temp/
- temp/adodb    
- temp/cache
- temp/templates

If the folders do not exist please create them.

3. Rename config.php.new to config.php

4. Access the installer/updater by trying to go to the directory. It should forward you to http://www.your-domain.com/install/, if it doesn't try typing in the URL directly. For example, if you installed the directory in a sub folder of your domain it may look like this: http://www.your-domain.com/directory/install/index.php

5. Run through the self explained setup, if you have any questions, comments or suggestions stop by the forum:http://www.phplinkdirectory.com/forum

6. As a security measure, we recommend you change back permissions to 644 on the file:


  - include/config.php

You can also remove the entire "install" folder. If you want to (re)install/update on a later point, you can upload   the folder again.


7. If you are running your directory under a subfolder of your domain (example: http://www.your-domain.com/directory/) please edit the .htaccess file. In this case you need to add the folder name in the "Error Document 404" statement: - Error Document 404 directory/index.php?httpstatus=404

** ADVANCED CONFIGURATION **

If you want to enjoy all features of PHP Link Directory, you probably want to go through the next steps.

8. Google/Yahoo! Sitemaps: To create Google and/or Yahoo! sitemaps, you need to give writing permissions to following files:
  - sitemap.xml
  - sitemap.xml.gz
  - urllist.txt
  - urllist.txt.gz

9. Create database backups: One of the most important security and integrity measures is to create backups of your database. For this you will have to give writing permissions to following folder:


  - backup

10. Edit template files: You probably want an easy way to change your template files, this can be done  if you give writing permissions to all files in the following folder:


   - templates

11. In order to use advanced search you must enable boolean in your admin area. If the search does not return results when you expect some, then contact your host to ensure that mysql is boolean enabled.

Thank you for choosing PHP Link Directory!

Kind Regards,
the PHP Link Directory Team!

about the author

The author, hlq, currently runs three phpLD directories, Adthello Worldwide Directory, BidTopSpot Directory and Directory-King.

 

Tag Clouds

phpld