cURL error 60: SSL certificate: unable to get local issuer certificate

In Wamp server you will get following error by lot of times (like charge a credit card).

cURL error 60: SSL certificate: unable to get local issuer certificate
cURL error 60: SSL certificate: unable to get local issuer certificate - steptoinstall.com
You may try like restarting the Server, ssl_module enabled, php_curl enabled,.. but sill you get the same cURL problem, Please do following simple things,

Step 1: Download

You can download the cacert.pem file from here.
After download, extract that and get the clean format file.

Step 2. Place the cacert.pem

Please put that cacert.pem file in correct place.

D:\xampp\php\extras\ssl\cacert.pem

Step 3. Edit php.ini file

Open your php.ini file from following location
D:\xampp\php\php.ini
And add line like following,

curl.cainfo = “C:\xampp\php\extras\ssl\cacert.pem”

Step 4. Start Server

Then Start/Restart your webserver.

Now you solved the cURL error 60: SSL certificate: unable to get local issuer certificate Problem.

cURL error 60: SSL certificate: unable to get local issuer certificate

Posted in cURL, Error, local server, Wamp | Leave a comment

Perl module Error: Can’t locate Foo.pm(module) in @INC

When you are going to Install Perl’s module like Foo.pm, datetime.pm, expect.pm, etc., you may get following error,
Can't locate (module) in @INC
Perl module Error Can't locate Foo.pm(module) in @INC - Steptoinstall.com

For this Error,
If you are using CPAN, For new installing module use like following code,

perl -MCPAN -e 'install Chocolate::Belgian'

For UNIX

If you are using ActivePerl, the Perl Package Manager(PPM) is enough. It’s same like CPAN.

Posted in Wamp | Leave a comment

How to Recover files from Pendrive from Shortcut Virus

Some time, some anonymous virus are change your all files and folders as Shortcut files in your storage devices. That storage devices are may be PenDrive , Memory Card, Mobile Phone, HardDrive or PC. It’s a common malware. Here you can’t open the file or folder. You may think you lost the things. No, It’s there only.

How to Recover files from pendrive from shortcut virus and Delete Shortcut Virus

We’ll give simple solution to recover your lost files/folders from Pendrive(Storage Deivce) from Shortcut Virus. Not only recovering, will delete that Shortcut Virus too.

Step 1:

Open the Command Prompt (CMD). To open CMD please go to this link -> How to Open Command Prompt (CMD) or MS-DOS prompt in Windows

Step 2:

There type following line,
attrib -h -r -s /s /d e:*.*
attrib -h -r -s /s /d e:*.*
and click Enter Key.
How to Recover files from pendrive from shortcut virus and Delete Shortcut Virus in CMD
That’s all. Cool.

Now you are deleted the Shortcut Virus and recovered your lost files/folders.

Recover files from PenDrive from Shortcut Virus using cmd

Posted in Command Prompt, Error, Virus | Leave a comment

Where and How to set JAVA_HOME on OSX, Yosemite, Lion, Mountain Lion, Mavericks, El capitan, Ubuntu

How to set java_home on Windows?

Using /etc/environment file

If you want to set JAVA_HOME environment variables globally and at system level means use should set in /etc/environment file.

First open /etc/environment file and place following code anywhere of the file.

Here, [version] may changeable as per your Java Version. You can check like below commands,

After set the JAVA_HOME variable, you should update and execute in every shell using following code,

Using ~/.bashrc file

Continue reading

Posted in General, Java, Ubuntu | Leave a comment

How to Create Windows Desktop Shortcut of specific Website URL

You may have doubt, shall we create a desktop shortcut for website? That should open the browser with given website URL. So we are going to How to Create Windows Desktop Shortcut of specific Website URL. Not only in desktop, you can put this in anywhere

We can easily create this kind of shortcut. Do the following steps.

Method 1:

Open the website in any browser. Minimize the browser window.
How to create Windows Desktop Shortcut of specific Website URL

Drag and Drop the image which is before the URL into Desktop. Refer following image,
Continue reading

Posted in General, Windows | Leave a comment