WAMP – PHP5.3.13 and Apache 2.2 – CURL Issue

I recently installed WAMP on Windows 2008 server; PHP 5.3.13 and Apache 2.2. While trying to use Facebook API, I came across issue with CURL extension of PHP as Facebook API needs this extension. I enabled this extension in PHP but Apache kept throwing an error that it couldn’t load dynamic library:

PHP Startup: unable to load dynamic library ‘c:/wamp/bin/php/php5.4.3/ext/php_curl.dll’-the application has failed to start because its side-bysiede configuration is incorrect

I found many references of it all over and the solution was to replace wamp/bin/php/phpVERSION/ext/php_curl.dll with correct version. For some reason, php_curl.dll that comes with WAMP doesn’t work properly.

I tried many files but in the end one worked for me. Unfortunately, its trial and error and trying different php_curl.dll files and see if those work. The one that worked for me can be downloaded from https://www.filesanywhere.com/fs/v.aspx?v=8a726a8a596273b7a6af (Try at your own risk).

Just wished to share this with everyone in case it helps even a single person.

PHP File Management Script

This class is a manager of server side files and directories.

It can perform several operations on files and directories on the server side like creating and removing directories, creating, updating and deleting files from directories, retrieving the list of files in a diretory recursively, generating a files listing in a HTML page, etc..

The class can also create htaccess and htpasswd files to restrict the Web access to a given directory to a given user with a password.

Code at phpclasses.org


Code at code.google.com

PHP My SVN Manager

I have often used SVN as Source Code versioning. Its quite a manual process to create new users, groups or repositories. Not time consuming but very manul task. This prompted me to create a PHP application which I could use to do this easily without having to logon to SVN server. This proved to be quite useful as we work on projects as team. So, now every developer can do this on their without having to send this request to me. See, real easy. Any ways, you can grab this code from following links.

Code at phpclasses.org

Code at code.google.com


RSCMS – Really Simple CMS

While working on a small site with no database, I was thinking how to make it easier to create small scale, say 3-5 pages, web sites without having to set up everything everytime. To stop having to do this setup again and again, I developed RSCMS which works on a pre-defined structure and generates final HTML pages as needed. All I needed to do was drop a page in templates folder and just update other pages (as needed) to add a link to that page so its accessible.

After creating this, I thought I’d share this class with everyone to give back to this huge PHP Open Source community that has helped me grow this much. You can get code for this class from following links:

Code at phpclasses.org

Code at code.google.com


Learning Photoshop

So, finally found a tutorial which is easy to follow for learning Photoshop. I have been trying for some time to larn it but kept getting confusing after a while. This new site has around 32 You Tube tutorials of up to 4 hours of learning. It claims to get you completely up to speed at the end. I have been through 2 tutorials and so far so good. Lets see how it goes after. Hope it doesn’t get boring.

For anyone interested, tutorials are at Photoshop Crash Course.

GO Transit Signal Breakdown

GO Transit, Toronto has a cmplete signal system breakdown today. They are not sure what happened as is the first time such a thing happened.   They are not sure how t fx it  

But for now, they are using older signal system that they used before computerized system was in place. At least they are moving now. Sitting in train for a long time and not moving is not fun; especially when you are not tired enough to sleep.

Welcome to www.rattanpal.com

I have redesigned www.rattanpal.com as my way of returning back to community by sharing the knowledge that I acquired from my endless nights searching the net. I will do my best to share all the issues that I came across and solutions to those as well as solutions to any future issues.

Aside from tech related solutions, I will also be using my site to share my experiences for any tech or non-tech related issues along with resources that I came across and found valuable; along with my thanks to their writers for taking to share their knowledge with us.

Please use the contact form to contact me for any questions/concenrs or even to just send encouraging words.


Jaswinder Rattanpal