Sunday, May 29, 2011

Getting PHP cURL to work in MoWes

Copy php_curl.dll, php_gd2.dll, ssleay32.dll to apache\bin.
Enable extension=php_curl.dll in php.ini
Restart apache

Monday, May 9, 2011

Running Windows Scheduled Task Batch File Minimized

  • For the batch file "MyBatchFile.bat", create a shortcut : "C:\Shortcut to MyBatchFile.bat.lnk". 
  • Goto to the properties of the shortcut file and set the Run window state to "Minimized".
  • In the Windows Scheduler, create a task.
  • Browse to the shortcut, and finish creating the scheduled task.
  • When you are done, go back the the schedule tasks and edit the properties of the "MyBatchFile" scheduled task.
  • Replace the filename of "C:\MyBatchFile.bat" with the filename of the shortcut :"C:\Shortcut to MyBatchFile.bat.lnk"
Your schedule task will now run minimized.

Thursday, May 5, 2011

Change Linux timezone


ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime 

Wednesday, May 4, 2011

Enabling Permalinks in Wordpress

Make sure the following is in Apache's httpd.conf:

RewriteEngine on
AllowOverride All
 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn