$blog++

Php Archives

Having multiple PHP versions on your dev environment

Jul/12/2018 4 min read by Marco Monteiro

There's one of our servers that we use to run small applications for a bunch of clients. At the time when we were configuring this server we ended up choosin PHP 7.2.x as the version that would be used for these clients. However, once we started the development process we needed to connect to the clients ERP. Guess what? That connection needed php version 5.6.x max to work.

Here's the process to get everything up and running on Ubuntu 16.04, we also tested this on Ubuntu 18.04 and everything worked like a charm.

Read more

Codeigniter version 4 needs your help

Aug/09/2016 1 min read by Marco Monteiro

CodeIgniter 4 has its own Github repository. It deviates enough from CodeIgniter 3 that the British Columbia Institute of Technology wanted to keep them separate. The CodeIgniter 4 roadmap is explained in the forum, and work to be done is detailed in the repository issues.

Read more

Need a legacy vagrant box?

Aug/06/2016 2 min read by Marco Monteiro

Last week I was contacted by some really old client. You know, the kind of client that you think that they don't even have the app you made for them online anymore.

Turns out, they do have such app online, and they wanted me to change some minor things in it. But obviously I couldn't do it directly in production. I needed to create a local environment that would mimic the one the client had.

Read more

Using PuPHPet and then connecting to your mysql via SSH tunnel

Feb/21/2016 1 min read by Marco Monteiro

I just did a fresh install of vagrant and built it using the online tool from PuPHPet. Had everything ready but I wasn't able to connect to my mysql server.

Read more

Shawn McCool - Laravel.IO, A Use Case Architecture

Jun/27/2014 1 min read by Marco Monteiro

A talk from my buddy Shawn MacCool about command oriented interfaces and domain-events from Laracon in New York City.

Read more