Go Back   Pligg Forum > Pligg Help > Wiki Articles
 
 
LinkBack (1) Article Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-03-2007, 03:13 PM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: 9.9
Pligg Template: Blue Green Str
 
Join Date: Dec 2005
Location: Savannah, GA
Posts: 1,359
Downloads: 58
Uploads: 6
Thanks: 88
Thanked 139 Times in 93 Posts
Installation

Reserved for future use.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.

Last edited by Yankidank : 09-03-2007 at 05:15 PM.
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #2  

Installation

Read this Wiki entry on installation and upgrading to better understand the process. Always read through all steps of the installation or upgrade before beginning and ensure that you have a proper database and file backup.

System requirements


* PHP version x.x or newer (developed and tested with: x.x.)
* MySQL version 4 or newer (developed and tested with: 9.0). Pligg 9.0 will not run with MySQL versions 3.x or lower.
* GD graphics library version x.x or newer (developed and tested with: x.x).
Pligg requires the GD graphics library to be available in PHP, e.g. to present a captcha during user registration. With most Linux distributions this requires the package php5-gd, php4-gd or similar to be installed.

New installation


1. Create a mysql database. Have your database name, username, password and hostname handy before installing Pligg. If you don't know the hostname, it's probably 'localhost'.
2. Rename settings.php.default to settings.php. Rename /libs/dbconnect.php.default to /libs/dbconnect.php. These files have a different name in the distribution to prevent you from overwriting your settings when you upgrade Pligg to a new release.
3. Upload the files to the web root directory on your server. We assume the owner of the files is the user id of your web server process (e.g. apache, httpd, www-data, ...).
4. Make sure the following directories are accessible and writable to the web server process (chmod 755):

* /templates
* /templates_c
* /backup
* /avatars/user_uploaded
5. Make sure the following files are accessible and writable to the web server process (chmod 644):

* settings.php
* /libs/dbconnect.php
* /libs/options.php
* config.php
6. Open www..com/install/ in your web browser.

Step 1: Make sure to read the entire page and click continue at the bottom when finished
Step 2: Fill out your database name, username, password, hostname, and your desired table prefix.
Step 3: Make sure there are no error messages!
7. Delete your /install folder.
8. Make /libs/dbconnect.php read-only (chmod 444)
9. Open www..com
10. Make sure to look at the very top of the page for any notifications. Use the god account. Login: god - Password: 12345 to make the changes needed.
11. Change god's password from 12345 to something different as soon as possible.
For instructions on a quick-and-easy Windows installation, suitable for playing with Pligg on your personal computer before moving to your hosting provider, see these instructions.

Upgrading an existing installation


You can upgrade from any version of Pligg to the current version.
1. Be sure to make a backup of your MySQL databases before upgrading to the newest version of Pligg. Some upgrades might require that you upgrade your MySQL database, so please keep backups available.
2. Make a backup copy of your entire site, especially config.php and settings.php (or config2.php for older versions) libs/lang.conf
3. Upload the new build over the current build. Make sure the above mentioned directories and files are writable to the web server process.
4. Open www.yoursite.com/install/upgrade.php in your browser.
5. Delete everything inside your templates_c directory.
6. Login to pligg, go into the admin panel, and set pligg to your liking.
Note: There is currently no way to import an existing config.php file. Any manual changes to settings.php will be overwritten the next time you use the admin panel, so use t to make your changes instead of manually.


Contributors: not2serious, chuckroast
Created by Yankidank, 09-03-2007 at 03:13 PM
Last edited by Yankidank, 09-13-2007 at 08:26 PM
1 Comments , 3134 Views
 


LinkBacks (?)
LinkBack to this Thread: http://forums.pligg.com/wiki-articles/8580-installation.html
Posted By For Type Date
Pages tagged with "pligg" on del.icio.us This thread Refback 11-01-2007 12:22 AM

Article Tools
Display Modes
Posting Rules
You may not create new articles
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
installation errors when PHP warnings enabled betagirl Installation and Upgrade Help 4 10-16-2007 10:22 AM
Blank Page after Installation nishalspace Installation and Upgrade Help 3 09-13-2007 01:38 PM
Change DB table prefixes for test installation tbones Installation and Upgrade Help 4 06-30-2007 06:18 AM
Secure installation MobileFreak Installation and Upgrade Help 1 04-26-2007 12:28 PM
6.01 upgrade or fresh installation chart3 Installation and Upgrade Help 3 02-21-2006 10:01 PM


LinkBacks Enabled by vBSEO 3.0.0