Friday, July 31, 2009

Apache 2.0 with PHP 5.3.0 on Windows

It took me sometime today to get my Apache 2.0 to run with PHP 5.3.0.

The builds for windows is available at http://windows.php.net/download/

Download the VC6 x86 Build of PHP 5.3.0 build and unzip.

NOTE: VC9 x86 Build of PHP 5.3.0 build might not work with Apache 2.0 !!

You will need to make the following changes in your httpd.conf
LoadModule php5_module "c:/path_to_your/5.3.0/php5apache2.dll"
PhpIniDir "c:/path_to_your/5.3.0"
ScriptAlias /php/ "c:/path_to_your/5.3.0"

Tuesday, July 21, 2009

Gmail survey message - inconsistent !!!

I noticed the survey message flash on my Gmail account today marked as (last chance!)



Clicked on it to participate and was disappointed to get this message...



How did inconsistent behavior creep in??

Thursday, July 02, 2009

Playing with Camtasia project file

I had created a video using Camtasia last night using screenshot and planned to upload in the morning.
Before turning off the system, I moved the images into another drive.

In the morning, I opened the .camproj (Camtasia project) file and to my surprise all the images in it gone missing :(

A dialog box was presented to search and point location for each image. I had almost 50+ images!

With curiosity I opened (Introduction.camproj) in text editor it was a simple XML file :)

The imported images were looking like:
<clipbin_object>
<clipname>C:\Users\power\Desktop\MoreOnProduct\Step1.png</clipname>
</clipbin_object>

To keep things simple, I copied (Introduction.camproj) to the folder where all screenshots were present under directory images/

Opened Introduction.camproj in gvim and triggered the following command

:%s/C:\\Users\\power\\Desktop\\MoreOnProduct\\Step1.png/images/g

It reflected as:
<clipbin_object>
<clipname>images\Step1.png</clipname>
</clipbin_object>

Finally I got the video to the original state.

This page is powered by Blogger. Isn't yours?