$blog++

Apache 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

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

Form Submit == 403 Error?

May/08/2014 2 min read by Marco Monteiro

From time to time, I have to work on a really crappy server. They have the weirdest rules of all, they're obssed with security. I don't have a right to see logs, they randomly block my IP from time to time. I can't even call phpinfo(). Yeah, that bad!

Today I ran into a problem that made me go mad. I had a simple form with just a few fields. Locally the form was submiting via $_POST and everything was great.

Read more