8 07 2022
CTO Recipes (www.gregfreeman.co) is where I’ll be adding new content in the future. This blog will no longer be updated. I’ll keep this online to maintain links to the help articles here.
8 07 2022
CTO Recipes (www.gregfreeman.co) is where I’ll be adding new content in the future. This blog will no longer be updated. I’ll keep this online to maintain links to the help articles here.
6 12 2015
Learn how to setup a PHP7 development environment using vagrant and virtual box. This is an easy cross platform solution for trying PHP7 and it works well with PHPStorm. For mobile devices you can view the video directly in your browser. Using this video you Run PHP7 alongside PHP5 without any conflicts. You can also […]
14 11 2013
PHP streams are still lacking in documentation and are rarely used compared to other PHP features. This is a shame because they can be really powerful and I have used them to gain a lot of performance when doing things such as processing log files.
20 08 2013
This is going to be a post I’ve been wanting to write for a long time, it’s a subject that I’m passionate about and enjoy working on the most and I believe it’s one of the more misunderstood aspects of PHP development.
5 03 2013
This is a follow up post from my previous post “How to Tell if Your PHP Site has been Hacked or Compromised“. This post will discuss some the first steps you should take when you have identified that your site has been compromised. The first sections discuss a few points that are not relevant to […]
2 03 2013
A friend of mine recently had their site compromised, they were running an older version of IP.Board that is vulnerable to a local file inclusion vulnerability. This post won’t be about IP.Board or any specific php code, it will show you how to locate potential malicious php code hosted on your servers and how to […]
27 09 2012
I’m currently developing a large project using symfony2 and doctrine which makes heavy use of Doctrine’s CacheProvider cache classes. I’ve been looking around for an easy way of invalidating the result cache when those objects are updated in the database.
29 10 2016
Here are my top resources for those who are looking to learn about Apache Spark and put it into production quickly: Learning Spark: Lightning-Fast Big Data Analysis Pros Good overview of Apache Spark fundamentals Cons If you prefer hands-on learning, this book goes into details that you don’t need to get started with spark. Try […]
30 04 2016
Seeing blank pages when using Nginx and PHP-FPM can be frustrating. The following quick guide will show you how to connect to PHP-FPM directly so that you can determine if it is the reason for the blank pages. I recommend trying some simple approaches first to see if the blank pages are caused by syntax […]