Archive for the ‘windows’ Category

phpDocumentor on Windows — but please, you knew that already


2009
09.02

So the below description will give you a step-by-step to run phpDocumentor (which replaces phpDoc):

Get it at www.phpdoc.org or install it via PEAR (much easier – 2MB download or so).

For Windows machines:

  • go-pear.bat (if you haven’t already — find it if you don’t know where it is) and pear install --alldeps phpdocumentor
  • Do a search for PEAR_ENV.reg on your machine.
  • Execute it.
  • Make sure you’ve got the Environment Variables set to point to include the PHP bin directory (
    set PATH=%PATH%;c:\path\to\php ) OR

    1. From the desktop, right-click My Computer and click properties.
    2. In the System Properties window, click on the Advanced tab.
    3. In the Advanced section, click the Environment Variables button.
    4. Finally, in the Environment Variables window, highlight the path variable in the Systems Variable section and click edit. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
    5. In Vista:
      • Open the the Control Panel, select the System and Maintenance link, and select the System link. Or, press the Windows key and the Pause / Break key at the same time.
      • Select the Advanced System settings link.
  • You can now call php and pear commands from the command line (you many need to restart for the changes to come into effect).
  • Verify by typing phpdoc -h
  • phpdoc -d "c:\projectDir" -o HTML:default:default -t "c:\projectDir\docs"
  • for PDF files, replace the output parameter (-o): -o PDF:default:default
  • Formatting in smarty (like PHP website etc): -o HTML:smarty:default
  • -t = target directory of generated documents
    -d = source directory of files to check
    -o output format as above.
    (more…)

Update for Microsoft Outlook / Outlook Express (KB910721)


2009
08.05

You’ve seen the mail, you’ve looked at the headers, you realise that mail from Microsoft typically does not route through a Brazilian ADSL line (times may be bad, but hey!)

You may be wondering why, even though you chose not to register with Microsoft when you booted up for the first time, even though you’re using an Ubuntu machine, you’re getting mail from Redmond asking you to upgrade.

Sophos calls it Troj/Spy-CU.

I call it a scammy, spammy, malware waste of bandwidth…

But you knew that already…

OpenVPN on Vista


2009
06.25

Quick step – just jotting it down as I keep forgetting:
route-method exe
route-delay 2

at the end of the ovpn file will do the trick (running as Administrator…)

But you knew that already! :)