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

Apple's new iOS 13: Automation. Dark Mode. Manage Storage Using Files App. Completely Turn Off Bluetooth & Wi-fi on iPhone

Apple's new iOS 13: Automation. Dark Mode. Manage Storage Trough Files App.  That's a pretty long and bold title but it's all possible now, I don't know you but this made my day. I've just upgraded to iOS 13 and playing around with it I found a few useful features; automation is by far the most interesting one. iOS 13 Automation Example: Completely Turn Off Bluetooth & Wi-fi on iPhone Since I got onboard Apple's ecosystem I always wanted to completely turn off the bluetooth and the wireless - a personal thing maybe - to try improve the poor iPhone 8 battery life but also to reduce the electromagnetic radiation to minimum when possible. This can now be done using Automation, read on to see how or scroll down for the 1 minute video: Update to l atest Apple iOS 13 Open Shortcuts App Create a new Automation Select Low Power Mode from the list (that's when the automation will trigger) Search and Choose the following Actions from the list: Turn

PHP and JavaScript ISO639-1 / 2 Letter Language Codes

(last update March 2015) 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-1 languagesISO639_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', 'bh' => 'Bihari', 'bi' => 'Bislama', 'b