I need to run some PHP scripts in the background, this script should still run while i log off my SSH session. I first try php myscript.php & It run in the background, but then when my SSH ends, the job will be also suspended. After some research, finally, i found that i can use nohup command to do this job, it’s very simple nohup php myscripts.php & Remember to add & at the end of the script. If you want to check if it’s actually runnning, use this commmand jobs -lRead More →

Today i tried to update a driver for my USB Storage, the installation seems OK, but after it finished, i couldn’t use keyboard/mouse any longer. I know that my new driver has caused the problem. I rebooted the machine, try to login to safe mode with the hope to uninstall this bad driver. Unfortunately, the safe mode boot ok, but i still can’t use keyboard/mouse when i saw the login screen. I rebooted the machine as normal again, the windows booted fine. My thought: i can’t use keyboard/mouse physically, but the machine boots normally, so might be i can connect it from a different machineRead More →

It’s because they use 2 different SSL certificates , there are 3 common certificates that we are now using now DV ( Domain Validation ) is the most common one, it’s very cheap, easy to order. The CA will verify your domain, make sure that you are the owner of that domain by sending a verification email to your admin email contact on whois record or some other method. OV (Organization Validation) – is mostly for corporate , the CA will not only verify you are the owner of the domain, they also ask you some paper to verify your business address. EV (Extended validation)Read More →

Hi Buddy, I can’t open “Settings” on my Iphone any more, a client came to me with her IPhone 4 and said that. OK, i took her Iphone, open the Settings , it flashed and went away immediately, i did this several times. Well, as usual i do some trouble steps: Restart the iphone = > not working Hard reset by holding Home Button + Sleep Button , phone reboot but still could not get into the Settings Let do a backup – connect to Itunes and do a Backup – > this step is necessary when we there is a chance to lose dataRead More →

I was trying to install TMS Component v6.0 into my Delphi 7 (yes, it’s very old), everything seems working fine. I can see the new components installed, i can drag it to my form. Run it perfectly. Then i saved the form, project , re-open them , an error message showing up: “Error Reading Form” – Class TAdvPage not found. > What happened here? i could see it in my design pallet, i searched google and they suggest that the design package was not installed ? I could design it, so it must be installed. I have been struggling this for many days. It turnedRead More →

By default Apache only allows up to 150 connections , if you want more, you need to change the MaxClients parameter in apache.conf or httpd.conf . Apache also limit the max clients to 256 , if you want to override this value, you need to add ServerLimit. Here is an example to increase the max clients to 600. # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum numberRead More →