:: PHP : Installing APC from source

20 sec read

:: How to install APC from source

wget //pecl.php.net/get/APC
tar xzf APC
cd APC
phpize
./configure --enable-apc --enable-apc-mmap
make && make install

 
:: Setup APC on php.ini

vi php.ini

; add APC extension on php.ini, some like these:

extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=128M
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1

 
:: Checking and apply

php -m | grep apc
/etc/init.d/httpd restart

 
:: Link
+ Google
+ WebHostingNeeds

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
sysadmin.id
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
sysadmin.id
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
sysadmin.id
15 sec read