Files

From PMWH2 - PHPMyWebHosting's official wiki
Revision as of 18:54, 11 December 2012 by Chris (talk | contribs) (Get nightly tarballs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to use PHPMyWebHosting you have several ways to get it:

Official releases

To get a copy of the official release take a look at the files section at project's website at sf.net.

CVS access

If you want to check out the most actual code you have to get it via cvs. Caution: CVS does not mean, that there is a working copy of PHPMyWebHosting in it.

Just try it out.

Get nightly tarballs

Take a look at http://pmwh.ckvsoft.at/snapshots/ and download the nightly tarballs. The snapshots are updated at 4:30 CET every night.

Check out cvs

You have to check out the cvs module: pmwh2

To check it out use:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/phpmywebhosting login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/phpmywebhosting co pmwh2

If you check out cvs code don't think about asking for help via mailinglist or forum :)

Inofficial releases

From time to time we release versions without any support. These files are listed beneath.

Additional scripts

We wrote some minor scripts for server management. We'll provide them here with a short description.

Scriptname Author Description
File:Make awstats from db pl.tar.gz Udo Müller Builds the awstats.*.conf direct from the database. Some things must be configured in the script.
File:Mail traffic pl.tar.gz Udo Müller grabs the file which is given as argument (/var/log/mail.log) and reads out the traffic per domain and automatically inserts them into the database. Runs via crontab:
45 *    * * *   /var/www/bin/mail_traffic.pl /var/log/mail.log
File:Web traffic pl.tar.gz Christian Kvasny grabs the file which is given as argument (/var/log/apache.log) and reads out the traffic per domain and automatically inserts them into the database. Used LogFormat
"[%v] %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"".
Runs via logrotate (apache2 section):
firstaction
 /vhome/etc/cron/web_traffic.pl /vhome/*/logs/*access.log
endscript
File:Traffic move pl.tar.gz Udo Müller moves the traffic from domain and proftp table from the database to table "traffic" and counts it per day. Runs via crontab:
58 23   * * *   /var/www/bin/traffic_move.pl