Options for downloading PECL extensions
There are several options for downloading PECL extensions, such as:
The pecl install extname command downloads the extensions code automatically, so in this case there is no need for a separate download.
http://pecl.php.net/ The PECL web site contains information about the different extensions that are offered by the PHP Development Team. The information available here includes: ChangeLog, release notes, requirements and other similar details.
pecl download extname PECL extensions that have releases listed on the PECL web site are available for download and installation using the » pecl command. Specific revisions may also be specified.
SVN Most PECL extensions also reside in SVN. A web-based view may be seen at » http://svn.php.net/viewvc/pecl/. To download straight from SVN, the following sequence of commands may be used:
$ svn checkout http://svn.php.net/repository/pecl/extname/trunk extname
								                
                  Tags: Downloading, extensions, PECL
                
							 
											
						 	
																			
							
							
								PECL upload progress extension
Summary	An extension to track progress of a file upload.
Download from – http://pecl.php.net/package/uploadprogress
http://pecl.php.net/get/uploadprogress-1.0.1.tgz
Extract the uploadprogress-1.0.1.tgz archive
$ phpize
$ ./configure
$ make
$ sudo make install
 
Add the extension to php.ini by adding this line extension=uploadprogress.so
Restart apache
/etc/init.d/httpd restart
 
								                
                  Tags: extension, PECL, progress, upload
                
							 
											
						 	
																			
							
							
								How to create a range of ip addresses on ethx 
Create a range file in /etc/sysconfig/network-scripts
Example:
Insert the following
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:04:75:D4:C8:F9
IPADDR_START=192.168.0.6
IPADDR_END=192.168.0.10
CLONENUM_START=1
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
CLONENUM_START — interface clone number to start using for this range. # eg “1″
 
Which would start at eth0:1
								                
                  Tags: addresses, Create, ethx, IP, range
                
							 
											
						 	
																			
							
							
								How to enable IP forwarding
To enable IP packet forwarding please edit /etc/sysctl.conf with your editor of choice and set:
#Controls IP packet forwarding
You can then verify your settings with:
								                
                  Tags: enable, forwarding, IP
                
							 
											
						 	
																			
							
							
								How to get info about threads and  security
To get info about threads:
To get security info:
ps -eo euser,ruser,suser,fuser,f,comm,label
ps axZ
ps -eM
 
								                
                  Tags: Security, threads