Saturday, April 4, 2009

PHP Upload Progress installation-setup

This article covers installation of PHP Upload Progress extension.
#SETUP guide is done by Mustafa TURAN(http://vpslife.blogspot.com/)#
#SETUP Software:#
#--PHP 5.2 or more#
#--Any OS#

Download
wget http://pecl.php.net/get/uploadprogress-*.tgz
Untar
tar zxvf uploadprogress-*.tgz
Go to dir
cd uploadprogress-*
Setup
phpize
./configure
make
make install
Learn php ini path
php --ini
;to ini file add these two lines:
[uploadprogress]
extension=uploadprogress.so

How to uninstall Webmin?

Just run the command
/etc/webmin/uninstall.sh

If you have installed the RPM version of Webmin, you can also use
rpm -e webmin
Or if you have installed the Solaris package you can use
pkgrm WSwebmin
Webmin FAQ: http://www.webmin.com/faq.html

How to uninstall LAMP?

Sometimes, we need to uninstall current Apache Mysql PHP collections and re install them. In this article I will show how to remove a LAMP system(for RHEL,Fedora, CENTOS):
  1. Check the existence of LAMP system:
    rpm -qa | grep -i mysql
    rpm -qa | grep -i apache
    rpm -qa | grep -i httpd
    rpm -qa | grep -i php
  2. If you get list then remove via rpm
    rpm -e "file name"
  3. or with "yum -y uninstall"
    yum remove "file name"
Thats all :))