Thursday, September 11, 2014

How to install Xdebug for your php version

Why do I need this?


Xdebug's basic functions include the display of stack traces on error conditions, maximum nesting level protection and time tracking. If you like Xdebug, consider giving them a "donation".

Prerequirements


In order to install Xdebug you need to have installed php. If you don't know how I recommend you to install WampServer, you can find the instructions here.

Where to download?


You can download it from the official site. Based on your machine you will download the 32-bit or 64-bit of your php version (don't download the TS version unless you know what you doing), in my example I needed xdebug for php 5.6.0 and I have 32-bit machine so I will download the PHP 5.6 VC11 (32 bit). If you not sure which one is for you go to this link and copy paste there your phpinfo output. If you are using WampServer you can find the phpinfo by going to this url http://localhost/?phpinfo=1 or open cmd and write:

php -i

after clicking Analyse my phpinfo() output you will see the download link on the first step of instructions.

Wednesday, September 10, 2014

How to manually add a mysql version to WampServer?

Why do I need this?


WampServer is a great web development environment but it's a bit outdated so if you want to work with latest mysql you need to do it manually.

Prerequirements


You need to have WampServer 2.5 or later (may work for older versions too), if you don't know how to install WampServer check my tutorial here.

Where to download?


You can download the latest mysql server from the official site. Based on your machine you will download the 32-bit or 64-bit, if you don't know which is for you download the 32-bit. Download the MSI installer and not the zip archive. If the latest version is 5.6.20 as your read this then you can download it directly from the below links (official links).


How to manually add an apache version to WampServer?

Why do I need this?


WampServer is a great web development environment but it's a bit outdated so if you want to work with latest apache server you need to do it manually. Also consider to make a donation to the Apache Lounge to keep the site alive and continuing the building of the binaries by visiting their site and clicking donation.

Prerequirements


You need to have WampServer 2.5 or later (may work for older versions too), if you don't know how to install WampServer check my tutorial here.

Where to download?


You can download the latest apache version from the Apache Lounge. Based on your machine you will download the 32-bit or 64-bit, if you don't know which one is for you then download the 32-bit. If the latest version is 2.4.10 as your read this then you can download it directly from the below links.


How to manually add a php version to WampServer?

Why do I need this?


WampServer is a great web development environment but it's a bit outdated so if you want to work with latest php you need to do it manually.

Prerequirements


You need to have WampServer 2.5 or later (may work for older versions too), if you don't know how to install WampServer check my tutorial here.

Where to download?


You can download the latest php version from the official site. Based on your machine you will download the 32-bit or 64-bit, if you don't know which is for you download the 32-bit. You also need to download the Thread Safe version, difference between Thread Safe and Non Thread Safe can be found here. If the latest version is 5.6.0 as your read this then you can download it directly from below links (official links).


Tuesday, September 9, 2014

How to install WampServer?

What is WampServer?


WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases.

Prerequirements


Before continuing with installation you first need to install Visual C++ Redistributable Packages 2012, if you don't know how click here to see my tutorial.


Where to download?


First visit their official website and click on download tab or scroll down to the downloads. Based on your machine choose the 32-bit or 64-bit, if you don't know what to choose go with 32-bit. On the pop up that appears click on download directly and the download will start. If the latest version is 2.5 as you read this then you can download directly from the links below (official links).


How to install Visual C++ Redistributable Packages?

What are Visual C++ Redistributable Packages?


The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications that are built by using Visual Studio. Each of those applications were built by using different Visual Studio version.

Why I need them?


Most applications are first checking to see if you have the needed redistributable packages before continuing with installation but there are also applications that don't and in the end you getting errors like "msvcr110.dll is missing" or "msvcp110.dll is missing". So to be always be sure that you will not get such errors its better to install all of them.

Where to download?


Of course the best place to download them is from the official site. Here is the list of latest redistributable packages for each version.


The above list may be outdated so please check here for latest news and more information.