Mathieu Hays

Proxy port 80 with Apache

Published on: | Category: Apache

I recently moved my development environment from the built-in Apache configuration on my mac to a vagrant setup using ubuntu, apache and php7. It helps me preventing any disruption when doing the occasional Mac OS update (usually breaking my configuration). I use custom domain names at work pointing to my computer. Everything is setup on a firewall so […]

Read more about Proxy port 80 with Apache

Clean debugging in PHP

Published on: | Category: PHP

Because I required to be able to dump data without altering the design of a website I came with this snippet that enable me to render php variables to the browser’s console. It basically just support numbers, string, arrays and simple stdClass objects which I think is enough for most use cases. <?php function console_log() […]

Read more about Clean debugging in PHP