Minggu, 09 Oktober 2011

Disable / Enable Flashdrive on Windows 7

Tidak ada komentar:
How to Disable or Enable Flashdrive or Flashdisk on Windows 7


Start  >>  Control Panel  >> Hardware and Sound






Click Device Manager



Then Click Right on USB Mass Strorage Device and Click Disable / Enable


Kamis, 06 Oktober 2011

How to install PHP PCNTL

Tidak ada komentar:

How to install PHP-PCNTL




Create directory to your home folder or wherever you want
Ex.
me@ubuntu:# mkdir /home/me/php
Navigate to that directory.
me@ubuntu:# cd /home/me/php


Download source.
Issue command as root.
me@ubuntu:/home/me/php# sudo apt-get source php5
me@ubuntu:/home/me/php# cd php5(Release Version)/ext/pcntl
me@ubuntu:/home/me/php/php5(version)/ext/pcntl# sudo phpize
me@ubuntu:/home/me/php/php5(version)/ext/pcntl# sudo ./configure
me@ubuntu:/home/me/php/php5(version)/ext/pcntl# sudo make
me@ubuntu:/home/me/php/php5(version)/ext/pcntl# sudo make install
Copy pcntl.so to /usr/lib/php5/200***(your version)/

Ex.
me@ubuntu:/home/me/php/php5(release_version)/ext/pcntl# cp /modules/pcntl.so /usr/lib/php5/200***(your version)/

Plus:
me@ubuntu:# echo "extension=pcntl.so" > /etc/php5/conf.d/pcntl.ini
If pcntl.ini doesn't exist, create it and issue the command written above.


Manual PCNTL