Skip to main content

PHP Development Environment Setup & Tools (Windows Host & Ubuntu Linux VM Guest)

  • I mostly use the paid PHPStorm as main development IDE 
    (supports: PHP, JS (Angular, PhoneGap/Cordova), CSS/HTML, .MD, XML etc)
  • NetBeans PHP as the free version alternative
  • Apache on Ubuntu Debian LTS - VirtualBox
    virtualization (it can change PHP versions by creating/restoring snapshots)
  • IIS on Windows (can easily register and change between PHP versions)
  • GoogleChrome powerful browser & dev console (has bookmarks sync)
  • POSTman for API testing (has sync, unit tests and supports multiple environments)
  • SourceTree for Git Source Control Management (and conflict merging as well)
  • HeidiSQL as a SQL client tool (db/table backup and restoration, fast)
  • WinSCP for SFTP file transfers (light)
  • PuTTY SSH and Telnet client (light)
  • DiffMerge for file differences comparisons and merging
  • WinMerge for directory differences comparisons
  • cmder fancy console emulator for Windows
  • Slack fancy team messaging app


  • Since the projects require to work in both Windows and Linux environments I do the following configuration: 
    • Windows 
      • Map the new server in IIS
      • Locate and open your hosts file C:\Windows\System32\drivers\etc\hosts
      • Add
    • Linux 
      • Map the /var/www/projectname.local as projectname.local in Apache /etc/apache2/sites-available/projectname.local.conf)
      • Locate and open your hosts file from your host Windows C:\Windows\System32\drivers\etc\hosts
      • Add (replace with your IP) projectname.local


Popular posts from this blog

Croaziera pe Mediterana - Vacanta 2014

De vre-o cateva luni eu si prietenii incercam sa planificam vacanta pentru vara lui 2014;
Pentru ca vrem munte, mare, totul inclus, locatii diferite dar si apa turcoaz; ar fi ideal ... o croaziera;
M-am gandit sa impart rezultatul cautarilor cu voi in ideea ca poate ajuta pe cineva, asa ca aveti aici o lista cu cele mai avantajoase croaziere raportat la durata, locatie si desigur pret:

Preturile sunt din data de 27.5.14

19 - 27 Iulie = 600 $ Best deal
Istanbul, Turkey - Mykonos, Greece - Athens, Greece - At Sea - La Valletta, Italy - Catania, Italy - Salerno, Italy - Civitavecchia (Rome), Italy

25 - 1 August = 700 $ - 8 August = 800 $
Heraklion (Iraklion) (Roundtrip)

31 August - 7 Septembrie =  770 $  Cea mai ieftina la final de August
Barcelona, Spain - At Sea - Naples, Italy - Civitavecchia (Rome), Italy - Livorno, Ital…

PHP and JavaScript ISO639-1 / 2 Letter Language Codes

(last update March 2015)  I promised myself I will share some of my work to support the fast growing IT and PHP community.

Here's a PHP array and a JavaScript object with all the ISO639-1 (2 letter code) languages, updated today 6 of March 2015 from the official site for ISO639 Librarian of Congress.
PHP 2 Letter Language Codes ISO639-1languagesISO639_1 = array( 'aa' => 'Afar', 'ab' => 'Abkhazian', 'ae' => 'Avestan', 'af' => 'Afrikaans', 'ak' => 'Akan', 'am' => 'Amharic', 'an' => 'Aragonese', 'ar' => 'Arabic', 'as' => 'Assamese', 'av' => 'Avaric', 'ay' => 'Aymara', 'az' => 'Azerbaijani', 'ba' => 'Bashkir', 'be' => 'Belarusian', 'bg' => 'Bulgarian…