Skip to main content

linux server

How to install PECL uploadprogress

On Linux server:

  1. # cd /usr/local/src/
  2. get the latest version http://pecl.php.net/package/uploadprogress
  3. # tar xvfz uploadprogress-VERSION.tgz
  4. # cd uploadprogress-VERSION
  5. # export PHP_PREFIX="/usr/local"
    # $PHP_PREFIX/bin/phpize          
    # ./configure
    # make
    # make install
  6. open your php.ini
    e.g.
    # vi /usr/local/lib/php.ini

    add the line you received followed by "uploadprogress.so":

    extension=/usr/local/lib/php/extensions/no-debug-non-zts-20060613/uploadprogress.so
  7. # service httpd restart

chattr (in /usr/sbin)

If something refuses to run, try:

chattr -R -suSiadAc /usr/sbin

Example: if dovecot doesn't run or install/upgrade, try doing...

whoami
lsattr /usr/sbin/dovecot

New Server Checklist for directadmin (2009)

-Add all your ips in directadmin under "IP management"
(and assign 2 ips to admin)
http://xx.xxx.xxx.xxx:2222/CMD_IP_MANAGER

-Register nameserver at registrar

New Server Checklist

source: http://directadmin.com/forum/showthread.php?t=65&highlight=hostname